Skip to content

Commit ef52312

Browse files
committed
Merge remote-tracking branch 'origin/2.4-develop' into Hammer_Quality_Backlog_GraphQl_13042022
2 parents 39cd00a + d86eafe commit ef52312

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

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

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,14 @@
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="AC-2064"/>
1818
<useCaseId value="ACP2E-182"/>
1919
<stories value="Store VAT Number Validation"/>
2020
<group value="configuration"/>
21-
<skip>
22-
<issueId value="AC-2504"/>
23-
</skip>
2421
</annotations>
2522
<before>
2623
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
@@ -48,12 +45,6 @@
4845
<!-- Verify that the `Validate VAT Number` button is visible for EU Country-->
4946
<seeElement selector="{{StoreConfigSection.validateVATNumber}}" stepKey="validateVatNumberButtonEnabledForEuCountry"/>
5047

51-
<!-- Click the `Validate VAT Number` button. -->
52-
<click selector="{{StoreConfigSection.validateVATNumber}}" stepKey="clickValidateVatNumberButton"/>
53-
<waitForPageLoad stepKey="waitForAjaxToLoadVatValidationResult"/>
54-
<waitForElementVisible selector="#validation_result" time="20" stepKey="waitForRenderingVatValidationResult"/>
55-
<see selector="#validation_result" userInput="VAT Number is valid." stepKey="seeValidVatNumberResult"/>
56-
5748
<!-- Disable `Validate VAT Number` button for non-EU Country (United Kingdom)-->
5849
<selectOption userInput="{{UK_With_State_Default_Billing.country}}" selector="{{StoreConfigSection.Country}}" stepKey="selectNonEUStoreCountry"/>
5950
<waitForPageLoad stepKey="waitForAjaxToLoadRegionForNonEuCountry"/>

0 commit comments

Comments
 (0)