File tree 3 files changed +3
-2
lines changed
dev/tests/verification/Resources
src/Magento/FunctionalTestingFramework
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ class BasicFunctionalTestCest
113
113
$generateDateKey2 = $date->format("H:i:s");
114
114
115
115
$getOtp = $I->getOTP(); // stepKey: getOtp
116
- $getOtp = $I->getOTP("someInput"); // stepKey: getOtpWithInput
116
+ $getOtpWithInput = $I->getOTP("someInput"); // stepKey: getOtpWithInput
117
117
$grabAttributeFromKey1 = $I->grabAttributeFrom(".functionalTestSelector", "someInput"); // stepKey: grabAttributeFromKey1
118
118
$grabCookieKey1 = $I->grabCookie("grabCookieInput", ['domain' => 'www.google.com']); // stepKey: grabCookieKey1
119
119
$grabFromCurrentUrlKey1 = $I->grabFromCurrentUrl("/grabCurrentUrl"); // stepKey: grabFromCurrentUrlKey1
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class OTP
27
27
/**
28
28
* Return OTP for custom secret stored in `magento/tfa/OTP_SHARED_SECRET`
29
29
*
30
+ * @param string $path
30
31
* @return string
31
32
* @throws TestFrameworkException
32
33
*/
Original file line number Diff line number Diff line change @@ -970,7 +970,7 @@ public function makeScreenshot($name = null)
970
970
/**
971
971
* Return OTP based on a shared secret
972
972
*
973
- * @param $secretsPath
973
+ * @param string $secretsPath
974
974
* @return string
975
975
* @throws TestFrameworkException
976
976
*/
You can’t perform that action at this time.
0 commit comments