mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #54903
[Bug 1837493] [NEW] Behat requires a step definition for Verifying that a toggle switched to Yes/No
Public bug reported:
BUG SUMMARY: I require a step definition to verify that a toggle switch identified by label is set to either Yes or No and to verify that the switch is either enabled or disabled (user can interact with it or not)
NOTE: Behat script is found here https://reviews.mahara.org/#/c/10181/
******************************************************
Environment tested: Master
Browser tested: Chrome
PRECONDITIONS:
------------------------
1) 1) Behat script can be found here https://reviews.mahara.org/#/c/10181/
TEST STEPS:
------------------------
Scenario : The “Multiple institutions” option is disabled
Given I log in as "admin" with password "Kupuh1pa!"
And I choose "Site options" in "Configure site" from administration menu
And I follow "Institution settings"
Then I should see "Users allowed multiple institutions" toggle is switched to "No" and is not active
EXPECTED RESULT: Then I should see "Users allowed multiple institutions" toggle is switched to "No" and is not active
ACTUAL RESULT: N/A
** 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/1837493
Title:
Behat requires a step definition for Verifying that a toggle switched
to Yes/No
Status in Mahara:
New
Bug description:
BUG SUMMARY: I require a step definition to verify that a toggle switch identified by label is set to either Yes or No and to verify that the switch is either enabled or disabled (user can interact with it or not)
NOTE: Behat script is found here https://reviews.mahara.org/#/c/10181/
******************************************************
Environment tested: Master
Browser tested: Chrome
PRECONDITIONS:
------------------------
1) 1) Behat script can be found here https://reviews.mahara.org/#/c/10181/
TEST STEPS:
------------------------
Scenario : The “Multiple institutions” option is disabled
Given I log in as "admin" with password "Kupuh1pa!"
And I choose "Site options" in "Configure site" from administration menu
And I follow "Institution settings"
Then I should see "Users allowed multiple institutions" toggle is switched to "No" and is not active
EXPECTED RESULT: Then I should see "Users allowed multiple institutions" toggle is switched to "No" and is not active
ACTUAL RESULT: N/A
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1837493/+subscriptions
Follow ups