Skip to content

Commit ac44b2f

Browse files
committed
ACQE-8725:Tax rate state field should reset to asterisk when changing from US to UK
- Changed waitForPageLoad action to waitForAjaxLoad
1 parent 03959a6 commit ac44b2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
<!-- Select California state -->
3636
<waitForElementVisible selector="{{AdminTaxRateFormSection.state}}" stepKey="waitForStateDropdownVisible"/>
3737
<selectOption selector="{{AdminTaxRateFormSection.state}}" userInput="{{US_Address_CA.state}}" stepKey="selectCaliforniaState"/>
38-
<waitForPageLoad stepKey="waitAfterSelectingCalifornia"/>
38+
<waitForAjaxLoad stepKey="waitAfterSelectingCalifornia"/>
3939
<!-- Verify California is selected -->
4040
<seeOptionIsSelected selector="{{AdminTaxRateFormSection.state}}" userInput="{{US_Address_CA.state}}" stepKey="verifyCaliforniaIsSelected"/>
4141
<!-- Step 5: Switch Country to United Kingdom -->
4242
<selectOption selector="{{AdminTaxRateFormSection.country}}" userInput="{{UK_Address.country}}" stepKey="selectUnitedKingdom"/>
43-
<waitForPageLoad stepKey="waitAfterSelectingUK"/>
43+
<waitForAjaxLoad stepKey="waitAfterSelectingUK"/>
4444
<!-- Step 6 & 7: Verify state field shows asterisk (*) for countries without required states -->
4545
<!-- Verify state is NOT showing California anymore -->
4646
<dontSeeOptionIsSelected selector="{{AdminTaxRateFormSection.state}}" userInput="{{US_Address_CA.state}}" stepKey="verifyCaliforniaNotSelected"/>

0 commit comments

Comments
 (0)