Skip to content

Commit 02bb571

Browse files
authored
ACQE-4345 | Fix flaky test
1 parent 1c553ec commit 02bb571

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/User/Test/Mftf/ActionGroup/AssertAdminImpossibleDeleteYourOwnAccountActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<argument name="currentAdminPassword" type="string" defaultValue="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/>
1313
</arguments>
1414
<fillField selector="{{AdminEditUserSection.currentPasswordField}}" userInput="{{currentAdminPassword}}" stepKey="enterThePassword" />
15+
<waitForElementVisible selector="{{AdminMainActionsSection.delete}}" stepKey="waitForDeleteButton"/>
1516
<click selector="{{AdminMainActionsSection.delete}}" stepKey="deleteUser"/>
1617
<waitForElementVisible selector="{{AdminConfirmationModalSection.message}}" stepKey="waitForConfirmModal"/>
1718
<click selector="{{AdminConfirmationModalSection.ok}}" stepKey="confirmDelete"/>

0 commit comments

Comments
 (0)