Skip to content

Commit 37cc524

Browse files
MAGETWO-96413: Restricted Admin User Backend Order Creation Issue
- Update automated test script
1 parent a8d6248 commit 37cc524

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

app/code/Magento/Store/Test/Mftf/ActionGroup/AdminStoreGroupCreateActionGroup.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
<selectOption selector="{{AdminNewStoreGroupSection.storeGrpWebsiteDropdown}}" userInput="{{website.name}}" stepKey="selectWebsite" />
4141
<selectOption selector="{{AdminNewStoreGroupSection.storeRootCategoryDropdown}}" userInput="Default Category" stepKey="chooseRootCategory" />
4242
<click selector="{{AdminNewStoreGroupActionsSection.saveButton}}" stepKey="clickSaveStoreGroup" />
43+
<waitForElementVisible selector="{{AdminNewStoreGroupSection.acceptNewStoreGroupCreation}}" stepKey="waitForAcceptNewStoreGroupCreationButton" />
44+
<conditionalClick selector="{{AdminNewStoreGroupSection.acceptNewStoreGroupCreation}}" dependentSelector="{{AdminNewStoreGroupSection.acceptNewStoreGroupCreation}}" visible="true" stepKey="clickAcceptNewStoreGroupCreationButton"/>
4345
<waitForElementVisible selector="{{AdminStoresGridSection.storeFilterTextField}}" stepKey="waitForPageReload"/>
4446
<see userInput="You saved the store." stepKey="seeSavedMessage" />
4547
</actionGroup>

app/code/Magento/Store/Test/Mftf/Section/AdminNewStoreGroupSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
<element name="storeGrpNameTextField" type="input" selector="#group_name"/>
1212
<element name="storeGrpCodeTextField" type="input" selector="#group_code"/>
1313
<element name="storeRootCategoryDropdown" type="select" selector="#group_root_category_id"/>
14+
<element name="acceptNewStoreGroupCreation" type="button" selector=".action-primary.action-accept" />
1415
</section>
1516
</sections>

0 commit comments

Comments
 (0)