mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 13:20:43 +00:00
Try again, more specific selector everywhere, highlight the 3rd time?
This commit is contained in:
@ -94,13 +94,8 @@ public class SavedFiltersTest extends QBaseSeleniumTest
|
|||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
// click into a view screen //
|
// click into a view screen //
|
||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
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.waitForSeconds(1); // wait for the filters menu to fully disappear? if this doesn't work, try a different word to look for...
|
||||||
WebElement webElement = qSeleniumLib.waitForSelectorContaining("DIV.MuiDataGrid-cell", "jdoe@kingsrook.com");
|
|
||||||
qSeleniumLib.highlightElement(webElement);
|
|
||||||
qSeleniumLib.takeScreenshotToFile("after-johnny-highlight");
|
|
||||||
qSeleniumLib.waitForSelectorContaining("DIV.MuiDataGrid-cell", "jdoe@kingsrook.com").click();
|
qSeleniumLib.waitForSelectorContaining("DIV.MuiDataGrid-cell", "jdoe@kingsrook.com").click();
|
||||||
qSeleniumLib.takeScreenshotToFile("after-johnny-click");
|
|
||||||
qSeleniumLib.waitForSelectorContaining("H5", "Viewing Person: John Doe");
|
qSeleniumLib.waitForSelectorContaining("H5", "Viewing Person: John Doe");
|
||||||
|
|
||||||
/////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////
|
||||||
@ -125,7 +120,7 @@ public class SavedFiltersTest extends QBaseSeleniumTest
|
|||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
// click into a view screen //
|
// click into a view screen //
|
||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
qSeleniumLib.waitForSelectorContaining("DIV", "jdoe@kingsrook.com").click();
|
qSeleniumLib.waitForSelectorContaining("DIV.MuiDataGrid-cell", "jdoe@kingsrook.com").click();
|
||||||
qSeleniumLib.waitForSelectorContaining("H5", "Viewing Person: John Doe");
|
qSeleniumLib.waitForSelectorContaining("H5", "Viewing Person: John Doe");
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
@ -164,7 +159,12 @@ public class SavedFiltersTest extends QBaseSeleniumTest
|
|||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
// click into a view screen //
|
// click into a view screen //
|
||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
qSeleniumLib.waitForSelectorContaining("DIV", "jdoe@kingsrook.com").click();
|
qSeleniumLib.takeScreenshotToFile("before-johnny-click");
|
||||||
|
WebElement webElement = qSeleniumLib.waitForSelectorContaining("DIV.MuiDataGrid-cell", "jdoe@kingsrook.com");
|
||||||
|
qSeleniumLib.highlightElement(webElement);
|
||||||
|
qSeleniumLib.takeScreenshotToFile("after-johnny-highlight");
|
||||||
|
qSeleniumLib.waitForSelectorContaining("DIV.MuiDataGrid-cell", "jdoe@kingsrook.com").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