Behat Step required for verifying that text exists/not exists within an element
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
BUG SUMMARY: I am trying to verify that a Group is not displayed in the search results list on the "Groups" page if I do not own a group. If I just use And I should see "text" step. The script will pass because the group I do not own is a group that I am a member of. The text will display in the profile side block on the page
NOTE: Behat script is found here https:/
ACCEPTANCE CRITERIA:
1) Script should verify that text exists or does not exist within a specific part of a page (ie. in the search result table of the page)
*******
Environment tested: Master
Browser tested: Chrome
PRECONDITIONS:
-------
1) Behat script can be found here https:/
TEST STEPS: # User selects Groups I own
-------
Given I log in as "UserC" with password "Kupuh1pa!"
When I choose "Groups" in "Engage" from main menu
When I select "Groups I own" from "Filter"
And I press "Search"
Then I should not see "GroupA"
EXPECTED RESULT: The search results do not display any groups and the test script should fail
ACTUAL RESULT: The search results do not display any groups and the test script passes - because the Text GroupA is displayed in the profile side block on the page
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |