mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #54904
[Bug 1837492] [NEW] Behat Step required for verifying that text exists/not exists within an element
Public bug reported:
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://reviews.mahara.org/#/c/10181/
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://reviews.mahara.org/#/c/10181/
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
** Affects: mahara
Importance: Undecided
Status: New
** Tags: behat-dev
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1837492
Title:
Behat Step required for verifying that text exists/not exists within
an element
Status in Mahara:
New
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://reviews.mahara.org/#/c/10181/
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://reviews.mahara.org/#/c/10181/
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1837492/+subscriptions
Follow ups