Commit 66211818 authored by Son Nguyen's avatar Son Nguyen
Browse files

Add the step "I wait until the page is ready". Bug 1409369

As changing the page limit will update the page using ajax,
we need to add this step to make sure the page is completely loaded
before checking its content.

Change-Id: Ie3750d2870ccaa5c5e9e467d9316e76f84fedfed
parent 393e1608
@javascript @core @core_portfolio @core_max_items
@javascript @core @core_portfolio
Feature: Adjusting the max items limit on the Shared with me page.
In order to be able to display a set amount of items on the shared with me page
As an admin
So I can view only a limited amount of pages at one time.
Scenario: Making sure that the max items per page drop down limits to correct amount of pages. (bug 1409369)
Scenario: Making sure that the max items per page drop down limits to correct amount of pages (Bug 1409369)
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Password1 | test01@example.com | Pete | Mc | mahara | internal | member |
......@@ -78,6 +78,7 @@
And I press "search_search"
And I should see "Maximum items per page:"
And I select "1" from "limit"
And I wait until the page is ready
And I should see "A's Page 01"
And I should not see "A's Page 02"
And I select "10" from "limit"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment