Skip to content

Commit 1ba4546

Browse files
ACQE-8433: Verify the 'Email sent' message is displaying in the header by generating email for invoice, shipment and credit memo.
- Optimise the selector in section and correct the text format in stories
1 parent 5e80880 commit 1ba4546

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Sales/Test/Mftf/Section/AdminOrderDetailsMainActionsSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<element name="creditMemoTab" type="button" selector="#sales_order_view_tabs_order_creditmemos" timeout="30"/>
3636
<element name="emailSendMessage" type="text" selector="#messages .message-success div"/>
3737
<element name="emailConfirm" type="button" selector="aside.confirm .modal-footer button.action-accept"/>
38-
<element name="sendShipmentEmail" type="button" selector="/html/body/div[2]/main/div[1]/div[2]/div/div/button[4]"/>
38+
<element name="sendShipmentEmail" type="button" selector="//*[@id='save']"/>
3939
<element name="sendCreditMemoEmail" type="button" selector="//*[@id='send_notification']"/>
4040
<element name="openShipmentFromGrid" type="button" selector="table.data-grid tbody > tr:first-child a.action-menu-item[href*='order_shipment/view']"/>
4141
<element name="openCreditMemoFromGrid" type="button" selector="table.data-grid tbody > tr:first-child a.action-menu-item[href*='order_creditmemo/view']"/>

app/code/Magento/Sales/Test/Mftf/Test/AdminOrderEmailsConfirmationMessageTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<features value="Sales"/>
1414
<title value="Admin sees confirmation messages for invoice, shipment, and credit memo emails"/>
1515
<description value="Covers storefront order placement and admin sending invoice, shipment, and credit memo emails with confirmation message checks"/>
16-
<stories value="Place order, send invoice,shipment,and credit memo emails and check confirmation messages"/>
16+
<stories value="Place order, send invoice, shipment, and credit memo emails and check confirmation messages"/>
1717
<severity value="MAJOR"/>
1818
<testCaseId value="AC-9122"/>
1919
<group value="Sales"/>

0 commit comments

Comments
 (0)