diff --git a/plugins/woocommerce/tests/e2e-pw/tests/merchant/product-import-csv.spec.js b/plugins/woocommerce/tests/e2e-pw/tests/merchant/product-import-csv.spec.js index a897c667f32..9b17fff985a 100644 --- a/plugins/woocommerce/tests/e2e-pw/tests/merchant/product-import-csv.spec.js +++ b/plugins/woocommerce/tests/e2e-pw/tests/merchant/product-import-csv.spec.js @@ -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 ); } );