|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
|
11 | 11 | <test name="CheckingCountryDropDownWithOneAllowedCountryTest">
|
12 | 12 | <annotations>
|
13 |
| - <features value="Backend"/> |
14 |
| - <stories value="Dynamic Media URL"/> |
15 |
| - <title value="Verify that Allow Dynamic Media URLs setting is removed from configuration page"/> |
16 |
| - <description value="Verify that Allow Dynamic Media URLs setting is removed from configuration page"/> |
17 |
| - <severity value="CRITICAL"/> |
18 |
| - <useCaseId value="MC-1387564"/> |
19 |
| - <testCaseId value="MC-3185678"/> |
| 13 | + <features value="Config"/> |
| 14 | + <stories value="MAGETWO-96107: Additional blank option in country dropdown"/> |
| 15 | + <title value="Checking country drop-down with one allowed country"/> |
| 16 | + <description value="Check country drop-down with one allowed country"/> |
| 17 | + <severity value="MAJOR"/> |
| 18 | + <testCaseId value="MAGETWO-96133"/> |
20 | 19 | <group value="configuration"/>
|
21 | 20 | </annotations>
|
22 | 21 | <before>
|
23 | 22 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
24 | 23 | <createData entity="EnableAdminAccountAllowCountry" stepKey="setAllowedCountries"/>
|
25 |
| - |
26 | 24 | </before>
|
27 | 25 | <after>
|
28 | 26 | <createData entity="DisableAdminAccountAllowCountry" stepKey="setDefaultValueForAllowCountries"/>
|
29 | 27 | <actionGroup ref="logout" stepKey="logout"/>
|
30 | 28 | </after>
|
31 |
| - |
32 | 29 | <!--Flush Magento Cache-->
|
33 | 30 | <magentoCLI stepKey="flushCache" command="cache:flush"/>
|
34 |
| - |
35 | 31 | <!--Create a customer account from Storefront-->
|
36 | 32 | <actionGroup ref="SignUpNewUserFromStorefrontActionGroup" stepKey="createAnAccount">
|
37 | 33 | <argument name="Customer" value="CustomerEntityOne"/>
|
38 | 34 | </actionGroup>
|
39 | 35 | <click selector="{{CheckoutPaymentSection.addressBook}}" stepKey="goToAddressBook"/>
|
40 |
| - <wait time="20" stepKey="kk"/> |
41 |
| - |
42 | 36 | <click selector="{{StorefrontCustomerAddressSection.country}}" stepKey="clickToExpandCountryDropDown"/>
|
43 | 37 | <see selector="{{StorefrontCustomerAddressSection.country}}" userInput="United States" stepKey="seeSelectedCountry"/>
|
44 | 38 | <dontSee selector="{{StorefrontCustomerAddressSection.country}}" userInput="Brazil" stepKey="canNotSeeSelectedCountry"/>
|
45 | 39 | </test>
|
46 | 40 | </tests>
|
47 |
| - |
48 |
| - |
0 commit comments