Skip to content

Commit 656f03a

Browse files
committed
MC-295: Tax for Simple Product Quote should be recalculated in Shopping Cart for Logged in Customer with Default Address
- Added some waitForPageLoads to make more robust
1 parent 3a41c26 commit 656f03a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

app/code/Magento/Customer/Test/Mftf/ActionGroup/SignUpNewUserFromStorefrontActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<argument name="Customer"/>
1313
</arguments>
1414
<amOnPage stepKey="amOnStorefrontPage" url="/"/>
15+
<waitForPageLoad stepKey="waitForStorefrontPage"/>
1516
<click stepKey="clickOnCreateAccountLink" selector="{{StorefrontPanelHeaderSection.createAnAccountLink}}"/>
1617
<fillField stepKey="fillFirstName" userInput="{{Customer.firstname}}" selector="{{StorefrontCustomerCreateFormSection.firstnameField}}"/>
1718
<fillField stepKey="fillLastName" userInput="{{Customer.lastname}}" selector="{{StorefrontCustomerCreateFormSection.lastnameField}}"/>

app/code/Magento/Customer/Test/Mftf/Section/StorefrontCustomerDashboardAccountInformationSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
<element name="stateProvince" type="select" selector="#region_id"/>
2323
<element name="zip" type="input" selector="#zip"/>
2424
<element name="country" type="select" selector="#country"/>
25-
<element name="saveAddress" type="button" selector="[data-action='save-address']"/>
25+
<element name="saveAddress" type="button" selector="[data-action='save-address']" timeout="30"/>
2626
</section>
2727
</sections>

app/code/Magento/Customer/Test/Mftf/Section/StorefrontPanelHeaderSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
1111
<section name="StorefrontPanelHeaderSection">
1212
<element name="WelcomeMessage" type="text" selector=".greet.welcome span"/>
13-
<element name="createAnAccountLink" type="select" selector=".panel.header li:nth-child(3)"/>
13+
<element name="createAnAccountLink" type="select" selector=".panel.header li:nth-child(3)" timeout="30"/>
1414
</section>
1515
</sections>

0 commit comments

Comments
 (0)