|
11 | 11 | <test name="CheckingCountryDropDownWithOneAllowedCountryTest">
|
12 | 12 | <annotations>
|
13 | 13 | <features value="Config"/>
|
14 |
| - <stories value="MAGETWO-96107: Additional blank option in country dropdown"/> |
| 14 | + <stories value="Additional blank option in country dropdown"/> |
15 | 15 | <title value="Checking country drop-down with one allowed country"/>
|
16 | 16 | <description value="Check country drop-down with one allowed country"/>
|
17 | 17 | <severity value="MAJOR"/>
|
18 |
| - <testCaseId value="MAGETWO-96133"/> |
19 |
| - <group value="configuration"/> |
| 18 | + <testCaseId value="MAGETWO-28511"/> |
| 19 | + <group value="config"/> |
20 | 20 | </annotations>
|
21 | 21 | <before>
|
22 | 22 | <createData entity="EnableAdminAccountAllowCountry" stepKey="setAllowedCountries"/>
|
| 23 | + <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache"> |
| 24 | + <argument name="tags" value="config full_page"/> |
| 25 | + </actionGroup> |
23 | 26 | </before>
|
24 | 27 | <after>
|
25 | 28 | <comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
|
26 | 29 | <createData entity="DisableAdminAccountAllowCountry" stepKey="setDefaultValueForAllowCountries"/>
|
| 30 | + <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache"> |
| 31 | + <argument name="tags" value="config full_page"/> |
| 32 | + </actionGroup> |
27 | 33 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
|
28 | 34 | <actionGroup ref="AdminDeleteCustomerActionGroup" stepKey="deleteCustomer">
|
29 | 35 | <argument name="customerEmail" value="CustomerEntityOne.email"/>
|
|
47 | 53 | <click selector="{{StorefrontCustomerAddressSection.country}}" stepKey="clickToExpandCountryDropDown"/>
|
48 | 54 | <see selector="{{StorefrontCustomerAddressSection.country}}" userInput="United States" stepKey="seeSelectedCountry"/>
|
49 | 55 | <dontSee selector="{{StorefrontCustomerAddressSection.country}}" userInput="Brazil" stepKey="canNotSeeSelectedCountry"/>
|
| 56 | + <createData entity="DisableAdminAccountAllowCountry" stepKey="setDefaultValueForAllowCountries"/> |
| 57 | + <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache"> |
| 58 | + <argument name="tags" value="config full_page"/> |
| 59 | + </actionGroup> |
| 60 | + <reloadPage stepKey="realoadPageAfterConfigChanged"/> |
| 61 | + <see selector="{{StorefrontCustomerAddressSection.country}}" userInput="United States" stepKey="seeUnitedStatesCountry"/> |
| 62 | + <see selector="{{StorefrontCustomerAddressSection.country}}" userInput="Brazil" stepKey="seeBrazilCountry"/> |
50 | 63 | </test>
|
51 | 64 | </tests>
|
0 commit comments