Skip to content

Commit 9972de0

Browse files
committed
Reusing existing ActionGroup
1 parent ceffb8b commit 9972de0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateDuplicateCategoryTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
</actionGroup>
3737

3838
<!-- Assert error message -->
39-
<see selector="{{AdminCategoryMessagesSection.errorMessage}}" userInput="The value specified in the URL Key field would generate a URL that already exists." stepKey="seeErrorMessage"/>
39+
<actionGroup ref="AssertMessageInAdminPanelActionGroup" stepKey="assertErrorMessage">
40+
<argument name="messageType" value="error"/>
41+
<argument name="message" value="The value specified in the URL Key field would generate a URL that already exists."/>
42+
</actionGroup>
4043
</test>
4144
</tests>

0 commit comments

Comments
 (0)