Skip to content

Commit 4a9d632

Browse files
MTO-144: [Test] Captcha and lockout for Storefront login page
- Functional test implemented
1 parent a9255f5 commit 4a9d632

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dev/tests/functional/tests/app/Magento/Captcha/Test/TestCase/CaptchaAndLockoutCustomerTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,10 @@ public function test(
134134
$this->customerAccountLogin->open();
135135

136136
// Fill incorrect password $attempts times.
137-
$this->customerLogin($incorrectCustomer,
138-
$this->customerAccountLogin->getLoginBlock(), $attempts);
137+
$this->customerLogin($incorrectCustomer, $this->customerAccountLogin->getLoginBlock(), $attempts);
139138

140139
// Fill correct captcha and incorrect password $attempts times.
141-
$this->customerLogin($incorrectCustomer,
142-
$this->customerAccountLogin->getLoginBlockWithCaptcha(), $attempts);
140+
$this->customerLogin($incorrectCustomer, $this->customerAccountLogin->getLoginBlockWithCaptcha(), $attempts);
143141

144142
// Log in customer with correct captcha and correct password.
145143
$customer = $this->fixtureFactory->createByCode('customer', ['data' => $correctData]);

0 commit comments

Comments
 (0)