|
56 | 56 | <seeInCurrentUrl url="cms/block/new" stepKey="VerifyNewBlockPageIsOpened1"/>
|
57 | 57 | <!--Add new BLock with the same data-->
|
58 | 58 | <actionGroup ref="FillOutBlockContent" stepKey="FillOutBlockContent1"/>
|
59 |
| - <selectOption selector="{{BlockNewPageBasicFieldsSection.storeView}}" userInput="Default Store View" stepKey="selectDefaultStoreView" /> |
60 |
| - <selectOption selector="{{BlockNewPageBasicFieldsSection.storeView}}" userInput="{{customStore.name}}" stepKey="selectSecondStoreView1" /> |
61 | 59 | <click selector="{{BlockNewPagePageActionsSection.saveBlock}}" stepKey="ClickToSaveBlock1"/>
|
62 | 60 | <waitForPageLoad stepKey="waitForPageLoad6"/>
|
63 | 61 | <!--Verify that corresponding message is displayed-->
|
64 | 62 | <see userInput="A block identifier with the same properties already exists in the selected store." stepKey="VerifyBlockIsSaved1"/>
|
| 63 | + <!--Click to go back and add new block--> |
| 64 | + <click selector="{{BlockNewPagePageActionsSection.back}}" stepKey="ClickToGoBack1"/> |
| 65 | + <waitForPageLoad stepKey="waitForPageLoad7"/> |
| 66 | + <click selector="{{BlockPageActionsSection.addNewBlock}}" stepKey="ClickToAddNewBlock2"/> |
| 67 | + <waitForPageLoad stepKey="waitForPageLoad8"/> |
| 68 | + <seeInCurrentUrl url="cms/block/new" stepKey="VerifyNewBlockPageIsOpened2"/> |
| 69 | + <!--Add new BLock with the same data for another store view--> |
| 70 | + <actionGroup ref="FillOutBlockContent" stepKey="FillOutBlockContent2"/> |
| 71 | + <selectOption selector="{{BlockNewPageBasicFieldsSection.storeView}}" userInput="Default Store View" stepKey="selectDefaultStoreView" /> |
| 72 | + <selectOption selector="{{BlockNewPageBasicFieldsSection.storeView}}" userInput="{{customStore.name}}" stepKey="selectSecondStoreView1" /> |
| 73 | + <click selector="{{BlockNewPagePageActionsSection.saveBlock}}" stepKey="ClickToSaveBlock2"/> |
| 74 | + <waitForPageLoad stepKey="waitForPageLoad9"/> |
| 75 | + <see userInput="You saved the block." stepKey="VerifyBlockIsSaved2"/> |
65 | 76 |
|
66 | 77 | <after>
|
67 | 78 | <actionGroup ref="AdminDeleteWebsiteActionGroup" stepKey="DeleteWebsite">
|
|
0 commit comments