Skip to content

Commit 2c8372e

Browse files
committed
MQE-1187: Fix MFTF skipped tests
- Test flaky timing fix, brittle test fix
1 parent 9a469d0 commit 2c8372e

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<argument name="customerEmail"/>
1313
</arguments>
1414
<amOnPage url="{{AdminCustomerPage.url}}" stepKey="navigateToCustomersPage"/>
15+
<conditionalClick selector="{{AdminCustomerFiltersSection.clearAll}}" dependentSelector="{{AdminCustomerFiltersSection.clearAll}}" visible="true" stepKey="clickClearFilters"/>
1516
<click stepKey="chooseCustomer" selector="{{AdminCustomerGridMainActionsSection.customerCheckbox(customerEmail)}}"/>
1617
<click stepKey="openActions" selector="{{AdminCustomerGridMainActionsSection.actions}}"/>
1718
<waitForPageLoad stepKey="waitActions"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
<element name="emailInput" type="input" selector="input[name=email]"/>
1616
<element name="apply" type="button" selector="button[data-action=grid-filter-apply]" timeout="30"/>
1717
<element name="clearAllFilters" type="text" selector=".admin__current-filters-actions-wrap.action-clear"/>
18-
<element name="clearAll" type="button" selector=".action-tertiary.action-clear"/>
18+
<element name="clearAll" type="button" selector=".admin__data-grid-header .action-tertiary.action-clear"/>
1919
</section>
2020
</sections>

app/code/Magento/Tax/Test/Mftf/Test/StorefrontTaxQuoteCheckoutTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@
312312
<argument name="Address" value="US_Address_CA"/>
313313
</actionGroup>
314314
<click stepKey="clickNext" selector="{{CheckoutShippingSection.next}}"/>
315+
<waitForPageLoad stepKey="waitForAddressToLoad"/>
315316
<see stepKey="seeAddress" selector="{{CheckoutShippingSection.defaultShipping}}" userInput="{{SimpleTaxCA.state}}"/>
316317
<see stepKey="seeShipTo" selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{SimpleTaxCA.state}}"/>
317318

@@ -329,6 +330,7 @@
329330
<argument name="Address" value="US_Address_NY"/>
330331
</actionGroup>
331332
<click stepKey="clickNext2" selector="{{CheckoutShippingSection.next}}"/>
333+
<waitForPageLoad stepKey="waitForShippingToLoad"/>
332334
<see stepKey="seeShipTo2" selector="{{CheckoutPaymentSection.shipToInformation}}" userInput="{{SimpleTaxNY.state}}"/>
333335

334336
<!-- Assert that taxes are applied correctly for NY -->

0 commit comments

Comments
 (0)