|
12 | 12 | <arguments>
|
13 | 13 | <argument name="country" type="string"/>
|
14 | 14 | </arguments>
|
15 |
| - <conditionalClick selector="{{CountryOptionsSection.countryOptions}}" dependentSelector="{{CountryOptionsSection.countryOptionsOpen}}" visible="false" stepKey="openCountryOptionsTab"/> |
16 |
| - <waitForElementVisible selector="{{CountryOptionsSection.allowedCountries}}" stepKey="waitAllowedCountriesToBeVisible"/> |
17 |
| - <uncheckOption selector="{{CountryOptionsSection.generalCountryDefaultInherit}}" stepKey="uncheckDefaultCountryInheritCheckbox"/> |
18 |
| - <selectOption selector="{{CountryOptionsSection.generalCountryDefault}}" userInput="{{country}}" stepKey="chooseDefaultCountry"/> |
19 |
| - <uncheckOption selector="{{CountryOptionsSection.generalCountryAllowInherit}}" stepKey="uncheckAllowInheritCheckbox"/> |
20 |
| - <selectOption selector="{{CountryOptionsSection.allowedCountries}}" userInput="{{country}}" stepKey="chooseAllowedCountries"/> |
21 |
| - <click selector="{{ContentManagementSection.Save}}" stepKey="saveConfig"/> |
22 |
| - <waitForPageLoad stepKey="waitForSavingSystemConfiguration"/> |
23 |
| - <see userInput="You saved the configuration." stepKey="seeSuccessMessage"/> |
| 15 | + <conditionalClick selector="{{AdminConfigurationGeneralCountryOptionsSection.countryOptions}}" dependentSelector="{{AdminConfigurationGeneralCountryOptionsSection.countryOptionsOpen}}" visible="false" stepKey="openCountryOptionsTab"/> |
| 16 | + <waitForElementVisible selector="{{AdminConfigurationGeneralCountryOptionsSection.allowedCountries}}" stepKey="waitAllowedCountriesToBeVisible"/> |
| 17 | + <uncheckOption selector="{{AdminConfigurationGeneralCountryOptionsSection.generalCountryDefaultInherit}}" stepKey="uncheckDefaultCountryInheritCheckbox"/> |
| 18 | + <selectOption selector="{{AdminConfigurationGeneralCountryOptionsSection.generalCountryDefault}}" userInput="{{country}}" stepKey="chooseDefaultCountry"/> |
| 19 | + <uncheckOption selector="{{AdminConfigurationGeneralCountryOptionsSection.generalCountryAllowInherit}}" stepKey="uncheckAllowInheritCheckbox"/> |
| 20 | + <selectOption selector="{{AdminConfigurationGeneralCountryOptionsSection.allowedCountries}}" userInput="{{country}}" stepKey="chooseAllowedCountries"/> |
| 21 | + <click selector="{{AdminMainActionsSection.save}}" stepKey="saveConfig"/> |
| 22 | + <see selector="{{AdminMessagesSection.successMessage}}" userInput="You saved the configuration." stepKey="seeSuccessMessage"/> |
24 | 23 | </actionGroup>
|
25 | 24 | <actionGroup name="AllowAllCountriesExceptOneActionGroup" extends="AllowOnlyOneCountryActionGroup">
|
26 | 25 | <remove keyForRemoval="uncheckDefaultCountryInheritCheckbox"/>
|
27 | 26 | <remove keyForRemoval="chooseDefaultCountry"/>
|
28 | 27 | <remove keyForRemoval="chooseAllowedCountries"/>
|
29 |
| - <unselectOption selector="{{CountryOptionsSection.allowedCountries}}" userInput="{{country}}" after="uncheckAllowInheritCheckbox" stepKey="unselectCountry"/> |
| 28 | + <unselectOption selector="{{AdminConfigurationGeneralCountryOptionsSection.allowedCountries}}" userInput="{{country}}" after="uncheckAllowInheritCheckbox" stepKey="unselectCountry"/> |
30 | 29 | </actionGroup>
|
31 | 30 | <actionGroup name="SetWebsiteCountryOptionsToDefaultActionGroup">
|
32 |
| - <conditionalClick selector="{{CountryOptionsSection.countryOptions}}" dependentSelector="{{CountryOptionsSection.countryOptionsOpen}}" visible="false" stepKey="openCountryOptionsTab"/> |
33 |
| - <waitForElementVisible selector="{{CountryOptionsSection.topDestinations}}" stepKey="waitCheckboxToBeVisible"/> |
34 |
| - <checkOption selector="{{CountryOptionsSection.generalCountryAllowInherit}}" stepKey="setAllowInheritToDefault"/> |
35 |
| - <checkOption selector="{{CountryOptionsSection.generalCountryDefaultInherit}}" stepKey="setDefaultCountryInheritToDefault"/> |
36 |
| - <click selector="{{ContentManagementSection.Save}}" stepKey="saveConfig"/> |
37 |
| - <waitForPageLoad stepKey="waitForSavingSystemConfiguration"/> |
38 |
| - <see userInput="You saved the configuration." stepKey="seeSuccessMessage"/> |
| 31 | + <conditionalClick selector="{{AdminConfigurationGeneralCountryOptionsSection.countryOptions}}" dependentSelector="{{AdminConfigurationGeneralCountryOptionsSection.countryOptionsOpen}}" visible="false" stepKey="openCountryOptionsTab"/> |
| 32 | + <waitForElementVisible selector="{{AdminConfigurationGeneralCountryOptionsSection.topDestinations}}" stepKey="waitCheckboxToBeVisible"/> |
| 33 | + <checkOption selector="{{AdminConfigurationGeneralCountryOptionsSection.generalCountryAllowInherit}}" stepKey="setAllowInheritToDefault"/> |
| 34 | + <checkOption selector="{{AdminConfigurationGeneralCountryOptionsSection.generalCountryDefaultInherit}}" stepKey="setDefaultCountryInheritToDefault"/> |
| 35 | + <click selector="{{AdminMainActionsSection.save}}" stepKey="saveConfig"/> |
| 36 | + <see selector="{{AdminMessagesSection.successMessage}}" userInput="You saved the configuration." stepKey="seeSuccessMessage"/> |
39 | 37 | </actionGroup>
|
40 | 38 | </actionGroups>
|
0 commit comments