Make the selector a bit more strict to avoid collision

This commit is contained in:
Lucas Bustamante 2023-01-18 18:56:15 -03:00
parent 1337a6d36e
commit 49744446a1
No known key found for this signature in database
GPG Key ID: 44236F43C00BB6DB
1 changed files with 1 additions and 1 deletions

View File

@ -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.'
);