|
37 | 37 | </after> |
38 | 38 |
|
39 | 39 | <!--Set timezone for default config--> |
40 | | - <amOnPage url="{{GeneralConfigurationPage.url}}" stepKey="goToGeneralConfig"/> |
41 | | - <waitForPageLoad stepKey="waitForConfigPage"/> |
| 40 | + <actionGroup ref="AdminOpenGeneralConfigurationPageActionGroup" stepKey="goToGeneralConfig"/> |
42 | 41 | <conditionalClick selector="{{LocaleOptionsSection.sectionHeader}}" dependentSelector="{{LocaleOptionsSection.timezone}}" visible="false" stepKey="openLocaleSection"/> |
43 | 42 | <grabValueFrom selector="{{LocaleOptionsSection.timezone}}" stepKey="originalTimezone"/> |
44 | 43 | <selectOption selector="{{LocaleOptionsSection.timezone}}" userInput="Central European Standard Time (Europe/Paris)" stepKey="setTimezone"/> |
45 | 44 | <click selector="{{AdminMainActionsSection.save}}" stepKey="saveConfig"/> |
46 | 45 |
|
47 | 46 | <!--Set timezone for Main Website--> |
48 | | - <amOnPage url="{{GeneralConfigurationPage.url}}" stepKey="goToGeneralConfig1"/> |
49 | | - <waitForPageLoad stepKey="waitForConfigPage1"/> |
| 47 | + <actionGroup ref="AdminOpenGeneralConfigurationPageActionGroup" stepKey="goToGeneralConfig1"/> |
50 | 48 | <actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="AdminSwitchStoreViewActionGroup"> |
51 | 49 | <argument name="website" value="_defaultWebsite"/> |
52 | 50 | </actionGroup> |
|
80 | 78 | </assertEquals> |
81 | 79 |
|
82 | 80 | <!--Reset timezone--> |
83 | | - <amOnPage url="{{GeneralConfigurationPage.url}}" stepKey="goToGeneralConfigReset"/> |
84 | | - <waitForPageLoad stepKey="waitForConfigPageReset"/> |
| 81 | + <actionGroup ref="AdminOpenGeneralConfigurationPageActionGroup" stepKey="goToGeneralConfigReset"/> |
85 | 82 | <conditionalClick selector="{{LocaleOptionsSection.sectionHeader}}" dependentSelector="{{LocaleOptionsSection.timezone}}" visible="false" stepKey="openLocaleSectionReset"/> |
86 | 83 | <selectOption selector="{{LocaleOptionsSection.timezone}}" userInput="$originalTimezone" stepKey="resetTimezone"/> |
87 | 84 | <click selector="{{AdminMainActionsSection.save}}" stepKey="saveConfigReset"/> |
88 | 85 |
|
89 | 86 | <!--Reset timezone--> |
90 | | - <amOnPage url="{{GeneralConfigurationPage.url}}" stepKey="goToGeneralConfigReset1"/> |
91 | | - <waitForPageLoad stepKey="waitForConfigPageReset1"/> |
| 87 | + <actionGroup ref="AdminOpenGeneralConfigurationPageActionGroup" stepKey="goToGeneralConfigReset1"/> |
92 | 88 | <actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="AdminSwitchStoreViewActionGroup1"> |
93 | 89 | <argument name="website" value="_defaultWebsite"/> |
94 | 90 | </actionGroup> |
|
0 commit comments