Skip to content

Commit

Permalink
refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaAPak committed Dec 14, 2020
1 parent cdfc5d5 commit 9bf0eac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 28 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* See COPYING.txt for license details.
*/
-->
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="CaptchaWithDisabledGuestCheckoutTest">
<annotations>
<features value="Captcha"/>
Expand All @@ -32,7 +32,7 @@
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct1"/>
</after>

<actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openProductPage">
<argument name="productUrl" value="$$createSimpleProduct.sku$$"/>
</actionGroup>
Expand All @@ -57,13 +57,13 @@
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="seeCaptchaField"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="seeCaptchaImage"/>
<actionGroup ref="AssertStorefrontCaptchaVisibleOnCustomerSignInPopupActionGroup" stepKey="seeCaptchaReloadButton"/>

<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForPageLoad2" />
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForPageLoad2"/>

<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="clickCart2"/>
<actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckout2"/>

<waitForElementVisible selector="{{StorefrontCustomerSignInPopupFormSection.email}}" stepKey="waitEmailFieldVisible2"/>

<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="seeCaptchaField2"/>
Expand Down

0 comments on commit 9bf0eac

Please sign in to comment.