We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6697d9 commit 5e0238aCopy full SHA for 5e0238a
src/Magento/FunctionalTestingFramework/Module/MagentoPwaWebDriver.php
@@ -6,6 +6,8 @@
6
7
namespace Magento\FunctionalTestingFramework\Module;
8
9
+use Codeception\Module\WebDriver;
10
+
11
/**
12
* Class MagentoPwaActions
13
*
@@ -15,6 +17,21 @@
15
17
*/
16
18
class MagentoPwaWebDriver extends MagentoWebDriver
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
35
36
* Wait for a PWA Element to NOT be visible using JavaScript.
37
0 commit comments