mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 13:20:43 +00:00
add a wait for menu to go away before tryign to click?
This commit is contained in:
@ -94,6 +94,7 @@ public class SavedFiltersTest extends QBaseSeleniumTest
|
|||||||
// click into a view screen //
|
// click into a view screen //
|
||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
qSeleniumLib.takeScreenshotToFile("before-johnny-click");
|
qSeleniumLib.takeScreenshotToFile("before-johnny-click");
|
||||||
|
qSeleniumLib.waitForSeconds(1); // wait for the filters menu to fully disappear? if this doesn't work, try a different word to look for...
|
||||||
qSeleniumLib.waitForSelectorContaining("DIV", "Jonny").click();
|
qSeleniumLib.waitForSelectorContaining("DIV", "Jonny").click();
|
||||||
qSeleniumLib.takeScreenshotToFile("after-johnny-click");
|
qSeleniumLib.takeScreenshotToFile("after-johnny-click");
|
||||||
qSeleniumLib.waitForSelectorContaining("H5", "Viewing Person: John Doe");
|
qSeleniumLib.waitForSelectorContaining("H5", "Viewing Person: John Doe");
|
||||||
|
Reference in New Issue
Block a user