Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

namespace Magento\FunctionalTestingFramework\Module;

use Codeception\Module\WebDriver;

/**
* Class MagentoPwaActions
*
Expand All @@ -15,6 +17,21 @@
*/
class MagentoPwaWebDriver extends MagentoWebDriver
{
/**
* Go to the page.
*
* Overriding the MagentoWebDriver version because it contains 'waitForPageLoad'.
* The AJAX check in 'waitForPageLoad' does NOT work with a PWA.
*
* @param string $page
* @throws \Exception
* @return void
*/
public function amOnPage($page)
{
WebDriver::amOnPage($page);
}

/**
* Wait for a PWA Element to NOT be visible using JavaScript.
*
Expand Down