Logo: Relish

  1. Sign in

Project: Examples

Example 3

Scenarios
Pagination within cutting list portlet
Given
I login to mediacoverage.co.uk in 'DEV' as 'Simon'
When
I go directly to '/x/dashboards/analysis/cdbAdobe/222'
Then
I should be on the 'Analysis Dashboard' page
Then
I should see 1 portlet with the title 'timcuttinglist'
And
in the 'timcuttinglist' portlet, I should see the cutting with the title 'Clip on page 1'
And
in the 'timcuttinglist' portlet, I should not see the cutting with the title 'Clip on page 2'
When
I go to the next page in the cutting list portlet 'timcuttinglist'
Then
in the 'timcuttinglist' portlet, I should not see the cutting with the title 'Clip on page 1'
And
in the 'timcuttinglist' portlet, I should see the cutting with the title 'Clip on page 2'
When
I go to the previous page in the cutting list portlet 'timcuttinglist'
Then
in the 'timcuttinglist' portlet, I should see the cutting with the title 'Clip on page 1'
And
in the 'timcuttinglist' portlet, I should not see the cutting with the title 'Clip on page 2'

Last published about 5 years ago by Claire Wall.