Skip to content

Commit ea0e099

Browse files
glo74170Manjusha.S
authored andcommitted
MC-27419 : Change the section file
1 parent ab0b436 commit ea0e099

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

app/code/Magento/Checkout/Test/Mftf/ActionGroup/StorefrontGuestSignInActionGroup.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717
<argument name="email" type="string" defaultValue=""/>
1818
<argument name="password" type="string" defaultValue=""/>
1919
</arguments>
20-
2120
<fillField selector="{{StorefrontCustomerSignInPopupFormSection.email}}" userInput="{{email}}" stepKey="fillEmailId"/>
2221
<fillField selector="{{StorefrontCustomerSignInPopupFormSection.password}}" userInput="{{password}}" stepKey="fillPassword"/>
23-
<waitForElementVisible selector="{{StorefrontCustomerSignInPopupFormSection.CreateAnAccount}}" stepKey="seeCreateAnAccount"/>
24-
<waitForElementVisible selector="{{StorefrontCustomerSignInPopupFormSection.ForgotYourPassword}}" stepKey="seeForgotYourPassword"/>
25-
<click selector="{{StorefrontCustomerSignInPopupFormSection.SignIn}}" stepKey="clickOnSignIn"/>
26-
</actionGroup>
22+
<waitForElementVisible selector="{{StorefrontCustomerSignInPopupFormSection.createAnAccount}}" stepKey="seeCreateAnAccount"/>
23+
<waitForElementVisible selector="{{StorefrontCustomerSignInPopupFormSection.forgotYourPassword}}" stepKey="seeForgotYourPassword"/>
24+
<click selector="{{StorefrontCustomerSignInPopupFormSection.signIn}}" stepKey="clickOnSignIn"/>
25+
</actionGroup>
2726
</actionGroups>

app/code/Magento/Customer/Test/Mftf/Section/StorefrontCustomerSignInFormSection/StorefrontCustomerSignInPopupFormSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<element name="email" type="input" selector="#customer-email"/>
1313
<element name="password" type="input" selector="#pass"/>
1414
<element name="signIn" type="button" selector="#send2" timeout="30"/>
15-
<element name="ForgotYourPassword" type="button" selector="//a[@class='action']//span[contains(text(),'Forgot Your Password?')]" timeout="30"/>
15+
<element name="forgotYourPassword" type="button" selector="//a[@class='action']//span[contains(text(),'Forgot Your Password?')]" timeout="30"/>
1616
<element name="createAnAccount" type="button" selector="//div[contains(@class,'actions-toolbar')]//a[contains(.,'Create an Account')]" timeout="30"/>
1717
</section>
1818
</sections>

0 commit comments

Comments
 (0)