File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
app/code/Magento/Store/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 33
33
</after >
34
34
35
35
<!-- Filter grid and see created store view-->
36
- <actionGroup ref =" AdminSystemStoreOpenPageActionGroup" stepKey =" navigateToStoresIndex" />
37
- <click selector =" {{AdminStoresGridSection.resetButton}}" stepKey =" resetSearchFilter" />
38
- <fillField selector =" {{AdminStoresGridSection.storeFilterTextField}}" userInput =" {{customStore.name}}" stepKey =" fillStoreViewFilterField" />
39
- <click selector =" {{AdminStoresGridSection.searchButton}}" stepKey =" clickSearch" />
40
- <see selector =" {{AdminStoresGridSection.gridCell('1', 'Store View')}}" userInput =" {{customStore.name}}" stepKey =" seeNewStoreView" />
36
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" navigateToStoresIndex" />
37
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" resetSearchFilter" />
38
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" fillStoreViewFilterField" />
39
+ <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" clickSearch" />
40
+ <actionGroup ref =" AssertStoreViewInGridActionGroup" stepKey =" seeNewStoreView" >
41
+ <argument name =" storeViewName" value =" {{customStore.name}}" />
42
+ </actionGroup >
41
43
<!-- Try to create store view with the same code-->
42
44
<actionGroup ref =" AdminCreateStoreViewWithoutCheckActionGroup" stepKey =" createSameStoreView" />
43
45
<dontSeeElement selector =" {{AdminMessagesSection.success}}" stepKey =" dontSeeSuccessMessage" />
44
- <see selector =" {{AdminMessagesSection.error}}" userInput =" Store with the same code already exists." stepKey =" seeErrorMessage" />
46
+ <actionGroup ref =" AssertMessageInAdminPanelActionGroup" stepKey =" seeErrorMessage" >
47
+ <argument name =" message" value =" Store with the same code already exists." />
48
+ <argument name =" messageType" value =" error" />
49
+ </actionGroup >
45
50
</test >
46
51
</tests >
You can’t perform that action at this time.
0 commit comments