mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #48708
[Bug 1774274] A change has been merged
Reviewed: https://reviews.mahara.org/8887
Committed: https://git.mahara.org/mahara/mahara/commit/1eb72aa435352a100fd973fd19f2623ff16d7306
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit 1eb72aa435352a100fd973fd19f2623ff16d7306
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Thu May 24 14:20:17 2018 +1200
Bug 1774274: Added scenarios that incorporate checking popups
To allow checking for a popup we need to stop the after_step hook
closing the popup before we check it.
To do this we need to add tag called @allow_popups to the feature file
so that popups stay open for the next step to check
To use with steps:
- And I should not see a popup
- And I accept the alert popup
- And I accept the confirm popup
- And I cancel the confirm popup
- And I should see "text" in popup
Change-Id: I5fa4827b12b355204141dd8b052bc4f5c77ae3a0
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
--
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/1774274
Title:
Need a way to check popups in behat
Status in Mahara:
Fix Committed
Bug description:
Currently we have a post step hook to deal with popups so we can check
for existence or non-existence of a popup as they will always be
closed.
We need a way to turn that functionality for a scenario/feature so we
can test things correctly
I'm thinking of adding a tag called @allow_popups to the feature file
so that popups stay open for the next step to check
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1774274/+subscriptions
References