Skip to content

Commit 29302a9

Browse files
committed
ACP2E-620: Fix MFTF failure which is caused by AC-2064
1 parent bfdcbf2 commit 29302a9

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

app/code/Magento/Config/Test/Mftf/Test/AdminCheckVATNumberValidationButtonForEUCountryTest.xml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1111
<test name="AdminCheckVATNumberValidationButtonForEUCountryTest">
1212
<annotations>
13-
<title value="Validate VAT Number button for United Kingdom should work same as for non-EU countries after Brexit 2021"/>
14-
<description value="Validate VAT Number button for United Kingdom (GB) should work same as for non-EU countries after Brexit 2021"/>
13+
<title value="Validate VAT Number button is not visible for United Kingdom as for non-EU countries after Brexit 2021"/>
14+
<description value="Validate VAT Number button is not visible for United Kingdom (GB) as for non-EU countries after Brexit 2021"/>
1515
<features value="Config"/>
1616
<severity value="CRITICAL"/>
1717
<testCaseId value="ACP2E-355"/>
@@ -45,14 +45,6 @@
4545
<!-- Verify that the `Validate VAT Number` button is visible for EU Country-->
4646
<seeElement selector="{{StoreConfigSection.validateVATNumber}}" stepKey="validateVatNumberButtonEnabledForEuCountry"/>
4747

48-
<!-- Click the `Validate VAT Number` button. -->
49-
<click selector="{{StoreConfigSection.validateVATNumber}}" stepKey="clickValidateVatNumberButton"/>
50-
<waitForAjaxLoad stepKey="waitForAjaxToLoadVatValidationResult"/>
51-
52-
<!-- Comment elements to preserve backward compatibility for replaced element's stepKeys -->
53-
<comment userInput="Adding the comment to remove the `waitForElementVisible` element as not required in current scope of fix" stepKey="waitForRenderingVatValidationResult"/>
54-
<comment userInput="Adding the comment to remove the `see` element as not required in scope of fix" stepKey="seeValidVatNumberResult"/>
55-
5648
<!-- Disable `Validate VAT Number` button for non-EU Country (United Kingdom)-->
5749
<selectOption userInput="{{UK_With_State_Default_Billing.country}}" selector="{{StoreConfigSection.Country}}" stepKey="selectNonEUStoreCountry"/>
5850
<waitForAjaxLoad stepKey="waitForAjaxToLoadRegionForNonEuCountry"/>

0 commit comments

Comments
 (0)