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 6
6
7
7
namespace Magento \FunctionalTestingFramework \Module ;
8
8
9
+ use Codeception \Module \WebDriver ;
10
+
9
11
/**
10
12
* Class MagentoPwaActions
11
13
*
15
17
*/
16
18
class MagentoPwaWebDriver extends MagentoWebDriver
17
19
{
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
+
18
35
/**
19
36
* Wait for a PWA Element to NOT be visible using JavaScript.
20
37
* Add the WAIT_TIMEOUT variable to your .env file for this action.
You can’t perform that action at this time.
0 commit comments