File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
src/Magento/FunctionalTestingFramework/Module Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 66
77namespace Magento \FunctionalTestingFramework \Module ;
88
9+ use Codeception \Module \WebDriver ;
10+
911/**
1012 * Class MagentoPwaActions
1113 *
1517 */
1618class MagentoPwaWebDriver extends MagentoWebDriver
1719{
20+ /**
21+ * Go to the page.
22+ *
23+ * Overriding the MagentoWebDriver version because it contains 'waitForPageLoad'.
24+ * The AJAX check in 'waitForPageLoad' does NOT work with a PWA.
25+ *
26+ * @param string $page
27+ * @throws \Exception
28+ * @return void
29+ */
30+ public function amOnPage ($ page )
31+ {
32+ WebDriver::amOnPage ($ page );
33+ }
34+
1835 /**
1936 * Wait for a PWA Element to NOT be visible using JavaScript.
2037 * Add the WAIT_TIMEOUT variable to your .env file for this action.
You can’t perform that action at this time.
0 commit comments