Skip to content

Commit 7fa8e4c

Browse files
committed
#26391 MFTF: Add missing tests annotations
- test fix
1 parent 5d09624 commit 7fa8e4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/CheckoutAgreements/Test/Mftf/ActionGroup/DeleteTermActionGroup.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="DeleteTermActionGroup">
1212
<arguments>
13-
<argument name="term" />
13+
<argument name="term"/>
1414
</arguments>
1515
<amOnPage url="{{AdminTermsPage.url}}" stepKey="onTermGridPage"/>
1616
<waitForPageLoad stepKey="waitForAdminTermsGridPageLoad"/>
@@ -19,8 +19,8 @@
1919
<click selector="{{AdminTermGridSection.firstRowConditionId}}" stepKey="clickFirstRow"/>
2020
<waitForPageLoad stepKey="waitForEditTermPageLoad"/>
2121
<click selector="{{AdminEditTermFormSection.delete}}" stepKey="clickDeleteButton"/>
22+
<waitForElementVisible selector="{{AdminEditTermFormSection.acceptPopupButton}}" stepKey="waitForElement"/>
2223
<click selector="{{AdminEditTermFormSection.acceptPopupButton}}" stepKey="clickDeleteOkButton"/>
23-
<waitForPageLoad stepKey="waitForAdminTermsGridPageLoad2"/>
24-
<see selector="{{AdminTermFormMessagesSection.successMessage}}" userInput="You deleted the condition." stepKey="seeSuccessMessage"/>
24+
<waitForText selector="{{AdminTermFormMessagesSection.successMessage}}" userInput="You deleted the condition." stepKey="seeSuccessMessage"/>
2525
</actionGroup>
26-
</actionGroups>
26+
</actionGroups>

0 commit comments

Comments
 (0)