Skip to content

Commit fb3da40

Browse files
committed
PWA-691: Fix Waits In PWA MFTF MagentoPwaWebDriver
- Fixing parameter types
1 parent c502e46 commit fb3da40

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoPwaWebDriver.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class MagentoPwaWebDriver extends MagentoWebDriver
3838
* The AJAX check in 'waitForPageLoad' does NOT work with a PWA.
3939
*
4040
* @param string $page
41-
* @param null $timeout
41+
* @param integer $timeout
4242
* @throws \Exception
4343
* @return void
4444
*/
@@ -52,8 +52,8 @@ public function amOnPage($page, $timeout = null)
5252
* Wait for a PWA Element to NOT be visible using JavaScript.
5353
* Add the WAIT_TIMEOUT variable to your .env file for this action.
5454
*
55-
* @param null $selector
56-
* @param null $timeout
55+
* @param string $selector
56+
* @param integer $timeout
5757
* @throws \Exception
5858
* @return void
5959
*/
@@ -76,8 +76,8 @@ public function waitForPwaElementNotVisible($selector, $timeout = null)
7676
* Wait for a PWA Element to be visible using JavaScript.
7777
* Add the WAIT_TIMEOUT variable to your .env file for this action.
7878
*
79-
* @param null $selector
80-
* @param null $timeout
79+
* @param string $selector
80+
* @param integer $timeout
8181
* @throws \Exception
8282
* @return void
8383
*/

0 commit comments

Comments
 (0)