Make the selector a bit more strict to avoid collision
This commit is contained in:
parent
1337a6d36e
commit
49744446a1
|
@ -233,7 +233,7 @@ test.describe( 'WooCommerce Orders > Refund and restock an order item', () => {
|
|||
|
||||
// Update the order
|
||||
await page.click( 'button.save_order' );
|
||||
await expect( page.locator( 'div.notice-success' ) ).toContainText(
|
||||
await expect( page.locator( 'div.updated.notice-success' ) ).toContainText(
|
||||
'Order updated.'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue