|
17 | 17 | <testCaseId value="AC-3963"/>
|
18 | 18 | </annotations>
|
19 | 19 | <before>
|
20 |
| - <actionGroup ref="AdminLoginActionGroup" stepKey="loginGetFromGeneralFile"/> |
| 20 | + <actionGroup ref="AdminLoginActionGroup" stepKey="loginToBackend"/> |
21 | 21 | </before>
|
22 | 22 | <after>
|
23 | 23 | <actionGroup ref="AdminSetStoreInformationConfigurationActionGroup" stepKey="resetStoreInformationConfig">
|
|
34 | 34 | <actionGroup ref="DeletePageByUrlKeyActionGroup" stepKey="deletePage">
|
35 | 35 | <argument name="UrlKey" value="{{_defaultCmsPage.identifier}}"/>
|
36 | 36 | </actionGroup>
|
37 |
| - <actionGroup ref="EuropeanCountriesOptionActionGroup" stepKey="checkConfig"/> |
| 37 | + <actionGroup ref="EuropeanCountriesSystemCheckBoxActionGroup" stepKey="checkSystemValueConfig"/> |
38 | 38 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
|
39 | 39 | </after>
|
40 | 40 | <!--Set StoreInformation configs data-->
|
41 |
| - <actionGroup ref="AdminSetStoreInformationConfigurationActionGroup" stepKey="setStoreInformationConfigData"> |
42 |
| - <argument name="telephone" value="{{DE_Address_Berlin_Not_Default_Address.telephone}}"/> |
43 |
| - <argument name="country" value="{{DE_Address_Berlin_Not_Default_Address.country_id}}"/> |
44 |
| - <argument name="state" value="{{DE_Address_Berlin_Not_Default_Address.state}}"/> |
45 |
| - <argument name="city" value="{{DE_Address_Berlin_Not_Default_Address.city}}"/> |
46 |
| - <argument name="postcode" value="{{DE_Address_Berlin_Not_Default_Address.postcode}}"/> |
47 |
| - <argument name="street" value="{{DE_Address_Berlin_Not_Default_Address.street[0]}}"/> |
48 |
| - </actionGroup> |
49 |
| - <magentoCLI command="config:set {{SetEuropeanUnionCountries.path}} {{SetEuropeanUnionCountries.value}}" stepKey="selectEUCountries"/> |
50 |
| - <actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="navigateToCmsPageGrid"/> |
51 |
| - <click selector="{{CmsPagesPageActionsSection.addNewPageButton}}" stepKey="clickAddNewPage"/> |
52 |
| - <fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle"/> |
53 |
| - <actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage"/> |
54 |
| - <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
55 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragRowToRootContainer"> |
56 |
| - <argument name="contentType" value="PageBuilderRowContentType"/> |
57 |
| - <argument name="containerTargetType" value="PageBuilderRootContainerContentType"/> |
58 |
| - </actionGroup> |
59 |
| - <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection"> |
60 |
| - <argument name="contentType" value="PageBuilderTextContentType"/> |
61 |
| - </actionGroup> |
62 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragIntoStage"> |
63 |
| - <argument name="contentType" value="PageBuilderTextContentType"/> |
64 |
| - </actionGroup> |
65 |
| - <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage"> |
66 |
| - <argument name="contentType" value="PageBuilderTextContentType"/> |
67 |
| - </actionGroup> |
68 |
| - <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="clickInsertVariableButton1"/> |
69 |
| - <wait time="2" stepKey="waitForLoadOne"/> |
70 |
| - <click selector="{{VariableSection.VariableRadio('General / Store Information / Store Name')}}" stepKey="selectDefaultVariable"/> |
71 |
| - <wait time="2" stepKey="waitForLoad121"/> |
72 |
| - <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableone"/> |
73 |
| - <wait time="2" stepKey="waitForLoadTwo"/> |
74 |
| - <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="clickInsertVariableButtonTwo"/> |
75 |
| - <wait time="2" stepKey="waitForLoadThree"/> |
76 |
| - <click selector="{{VariableSection.VariableRadio('General / Store Information / Street Address')}}" stepKey="selectDefaultVariable1"/> |
77 |
| - <wait time="2" stepKey="waitForLoadFour"/> |
78 |
| - <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableTwo"/> |
79 |
| - <wait time="2" stepKey="waitForLoadFive"/> |
80 |
| - <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="clickInsertVariableAgainAgain"/> |
81 |
| - <wait time="2" stepKey="waitForLoadSix"/> |
82 |
| - <click selector="{{VariableSection.VariableRadio('General / Store Information / City')}}" stepKey="selectDefaultVariable2"/> |
83 |
| - <wait time="2" stepKey="waitForLoadSeaven"/> |
84 |
| - <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableThree"/> |
85 |
| - <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="clickInsertVariableAgainAgain1"/> |
86 |
| - <wait time="2" stepKey="waitForLoadEight"/> |
87 |
| - <click selector="{{VariableSection.VariableRadio('General / Store Information / ZIP/Postal Code')}}" stepKey="selectDefaultVariable3"/> |
88 |
| - <wait time="2" stepKey="waitForLoadNine"/> |
89 |
| - <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableFour"/> |
90 |
| - <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="clickInsertVariableAgainAgain2"/> |
91 |
| - <wait time="2" stepKey="waitForLoadTen"/> |
92 |
| - <click selector="{{VariableSection.VariableRadio('General / Store Information / Region/State')}}" stepKey="selectDefaultVariable4"/> |
93 |
| - <wait time="2" stepKey="waitForLoadEleaven"/> |
94 |
| - <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableFive"/> |
95 |
| - <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="clickInsertVariableAgainAgain9"/> |
96 |
| - <wait time="2" stepKey="waitForLoadTwelve"/> |
97 |
| - <click selector="{{VariableSection.VariableRadio('General / Store Information / Country')}}" stepKey="selectDefaultVariable5"/> |
98 |
| - <wait time="2" stepKey="waitForLoadThirteen"/> |
99 |
| - <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableSix"/> |
100 |
| - <wait time="2" stepKey="waitForLoadFourteen"/> |
101 |
| - <click selector="{{TextOnConfiguration.savePage}}" stepKey="clickOnSave"/> |
102 |
| - <wait time="2" stepKey="waitForLoadFifteen"/> |
103 |
| - <click selector="{{TextOnConfiguration.arrowPage}}" stepKey="clickOnArrow"/> |
104 |
| - <click selector="{{CmsNewPagePageSeoSection.header}}" stepKey="clickExpandSearchEngineOptimisation"/> |
105 |
| - <fillField selector="{{CmsNewPagePageSeoSection.urlKey}}" userInput="{{_defaultCmsPage.identifier}}" stepKey="fillFieldUrlKey"/> |
106 |
| - <actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPageAgain"/> |
107 |
| - <amOnPage url="{{_defaultCmsPage.identifier}}" stepKey="amOnPageTestPageRefresh"/> |
| 41 | + <actionGroup ref="AdminSetStoreInformationConfigurationActionGroup" stepKey="setStoreInformationConfigData"> |
| 42 | + <argument name="telephone" value="{{DE_Address_Berlin_Not_Default_Address.telephone}}"/> |
| 43 | + <argument name="country" value="{{DE_Address_Berlin_Not_Default_Address.country_id}}"/> |
| 44 | + <argument name="state" value="{{DE_Address_Berlin_Not_Default_Address.state}}"/> |
| 45 | + <argument name="city" value="{{DE_Address_Berlin_Not_Default_Address.city}}"/> |
| 46 | + <argument name="postcode" value="{{DE_Address_Berlin_Not_Default_Address.postcode}}"/> |
| 47 | + <argument name="street" value="{{DE_Address_Berlin_Not_Default_Address.street[0]}}"/> |
| 48 | + </actionGroup> |
| 49 | + <magentoCLI command="config:set {{SetEuropeanUnionCountries.path}} {{SetEuropeanUnionCountries.value}}" stepKey="selectEUCountries"/> |
| 50 | + <actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="navigateToCmsPageGrid"/> |
| 51 | + <click selector="{{CmsPagesPageActionsSection.addNewPageButton}}" stepKey="clickAddNewPage"/> |
| 52 | + <fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle"/> |
| 53 | + <actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage"/> |
| 54 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 55 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragRowToRootContainer"> |
| 56 | + <argument name="contentType" value="PageBuilderRowContentType"/> |
| 57 | + <argument name="containerTargetType" value="PageBuilderRootContainerContentType"/> |
| 58 | + </actionGroup> |
| 59 | + <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection"> |
| 60 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 61 | + </actionGroup> |
| 62 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragIntoStage"> |
| 63 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 64 | + </actionGroup> |
| 65 | + <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage"> |
| 66 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 67 | + </actionGroup> |
| 68 | + <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="clickInsertVariableButton"/> |
| 69 | + <wait time="2" stepKey="waitForPageToLoadForToInsertButtonForStoreName"/> |
| 70 | + <click selector="{{VariableSection.VariableRadio('General / Store Information / Store Name')}}" stepKey="selectDefaultVariable"/> |
| 71 | + <wait time="2" stepKey="waitForPageToLoadForToSelectDefaultVariableStoreName"/> |
| 72 | + <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableForStAds"/> |
| 73 | + <wait time="2" stepKey="waitForPageToLoadToSelectInsertVariableButtonForStAds"/> |
| 74 | + <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="againClickInsertVariableButtonForStAds"/> |
| 75 | + <wait time="2" stepKey="againWaitForPageToLoadToSelectInsertVariableButtonForStAds"/> |
| 76 | + <click selector="{{VariableSection.VariableRadio('General / Store Information / Street Address')}}" stepKey="selectDefaultVariableForStAds"/> |
| 77 | + <wait time="2" stepKey="waitForPageToLoadForToSelectDefaultVariableStAds"/> |
| 78 | + <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableForStore"/> |
| 79 | + <wait time="2" stepKey="waitForPageToLoadForToInsertButtonForStore"/> |
| 80 | + <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="againClickInsertVariableForStore"/> |
| 81 | + <wait time="2" stepKey="againWaitForPageToLoadToSelectInsertVariableButtonForStore"/> |
| 82 | + <click selector="{{VariableSection.VariableRadio('General / Store Information / City')}}" stepKey="selectDefaultVariableForStore"/> |
| 83 | + <wait time="2" stepKey="waitForPageToLoadForToSelectDefaultVariableStore"/> |
| 84 | + <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableForCode"/> |
| 85 | + <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="clickInsertVariableAgainForCode"/> |
| 86 | + <wait time="2" stepKey="WaitForPageToLoadToSelectInsertVariableButtonForCode"/> |
| 87 | + <click selector="{{VariableSection.VariableRadio('General / Store Information / ZIP/Postal Code')}}" stepKey="selectDefaultVariableForCode"/> |
| 88 | + <wait time="2" stepKey="waitForPageToLoadForToSelectDefaultVariableCode"/> |
| 89 | + <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableForState"/> |
| 90 | + <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="clickInsertVariableAgainForState"/> |
| 91 | + <wait time="2" stepKey="WaitForPageToLoadToSelectInsertVariableButtonForState"/> |
| 92 | + <click selector="{{VariableSection.VariableRadio('General / Store Information / Region/State')}}" stepKey="selectDefaultVariableForState"/> |
| 93 | + <wait time="2" stepKey="waitForPageToLoadForToSelectDefaultVariableForState"/> |
| 94 | + <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariableForCountry"/> |
| 95 | + <click selector="{{TextOnConfiguration.insertVariableButton}}" stepKey="clickInsertVariableAgainForCountry"/> |
| 96 | + <wait time="2" stepKey="WaitForPageToLoadToSelectInsertVariableButtonForCountry"/> |
| 97 | + <click selector="{{VariableSection.VariableRadio('General / Store Information / Country')}}" stepKey="selectDefaultVariableForCountry"/> |
| 98 | + <wait time="2" stepKey="waitForPageToLoadForToSelectDefaultVariableForCountry"/> |
| 99 | + <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariable"/> |
| 100 | + <wait time="2" stepKey="waitForLoad"/> |
| 101 | + <actionGroup ref="saveEditPanelSettingsFullScreen" stepKey="saveEditPanelSettings"/> |
| 102 | + <actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen"/> |
| 103 | + <click selector="{{CmsNewPagePageSeoSection.header}}" stepKey="clickExpandSearchEngineOptimisation"/> |
| 104 | + <fillField selector="{{CmsNewPagePageSeoSection.urlKey}}" userInput="{{_defaultCmsPage.identifier}}" stepKey="fillFieldUrlKey"/> |
| 105 | + <actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPageAgain"/> |
| 106 | + <amOnPage url="{{_defaultCmsPage.identifier}}" stepKey="amOnPageTestPageRefresh"/> |
108 | 107 | </test>
|
109 | 108 | </tests>
|
0 commit comments