Skip to content

Commit 65e8db2

Browse files
committed
MC-8120: Logging during checkout for Customer without addresses in address book
1 parent 4a899d8 commit 65e8db2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Customer/Test/Mftf/ActionGroup/AdminDeleteCustomerActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<click stepKey="delete" selector="{{AdminCustomerGridMainActionsSection.delete}}"/>
2020
<waitForPageLoad stepKey="waitForConfirmationAlert"/>
2121
<click stepKey="accept" selector="{{AdminCustomerGridMainActionsSection.ok}}"/>
22+
<waitForPageLoad stepKey="waitForDelete"/>
2223
<see stepKey="seeSuccessMessage" userInput="were deleted."/>
2324
</actionGroup>
2425
</actionGroups>

app/code/Magento/Customer/Test/Mftf/Section/AdminCustomerGridMainActionsSection.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="AdminCustomerGridMainActionsSection">
1212
<element name="addNewCustomer" type="button" selector="#add" timeout="30"/>
13-
<element name="customerCheckbox" type="button" selector="//*[contains(text(),'{{arg}}')]/parent::td/preceding-sibling::td/label[@class='data-grid-checkbox-cell-inner']//input" parameterized="true"/>
13+
<element name="customerCheckbox" type="button" selector="//*[contains(text(),'{{arg}}')]/../preceding-sibling::td[contains(@class, 'data-grid-checkbox-cell')]//input" parameterized="true"/>
1414
<element name="delete" type="button" selector="//*[contains(@class, 'admin__data-grid-header')]//span[contains(@class,'action-menu-item') and text()='Delete']"/>
1515
<element name="actions" type="text" selector=".action-select"/>
16-
<element name="ok" type="button" selector="//button[@data-role='action']//span[text()='OK']"/>
16+
<element name="ok" type="button" selector=".modal-footer button.action-accept"/>
1717
</section>
1818
</sections>

0 commit comments

Comments
 (0)