Made selector more robust

This commit is contained in:
jamelreid 2023-01-27 10:44:36 -05:00
parent afb82d221c
commit 4fdc9e735b
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ test.describe.serial( 'Import Products from a CSV file', () => {
// verify the error message if you go without providing CSV file
await page.click( 'button[value="Continue"]' );
await expect( page.locator( 'div.error' ) ).toContainText(
await expect( page.locator( 'div.error.inline' ) ).toContainText(
errorMessage
);
} );