|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
11 | 11 | <test name="AdminCheckVATNumberValidationButtonForEUCountryTest"> |
12 | 12 | <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"/> |
15 | 15 | <features value="Config"/> |
16 | 16 | <severity value="CRITICAL"/> |
17 | 17 | <testCaseId value="AC-2064"/> |
18 | 18 | <useCaseId value="ACP2E-182"/> |
19 | 19 | <stories value="Store VAT Number Validation"/> |
20 | 20 | <group value="configuration"/> |
21 | | - <skip> |
22 | | - <issueId value="AC-2504"/> |
23 | | - </skip> |
24 | 21 | </annotations> |
25 | 22 | <before> |
26 | 23 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
|
48 | 45 | <!-- Verify that the `Validate VAT Number` button is visible for EU Country--> |
49 | 46 | <seeElement selector="{{StoreConfigSection.validateVATNumber}}" stepKey="validateVatNumberButtonEnabledForEuCountry"/> |
50 | 47 |
|
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 | | - |
57 | 48 | <!-- Disable `Validate VAT Number` button for non-EU Country (United Kingdom)--> |
58 | 49 | <selectOption userInput="{{UK_With_State_Default_Billing.country}}" selector="{{StoreConfigSection.Country}}" stepKey="selectNonEUStoreCountry"/> |
59 | 50 | <waitForPageLoad stepKey="waitForAjaxToLoadRegionForNonEuCountry"/> |
|
0 commit comments