From 3c73da0f1fc0ec2049f082eb3fdc7588a066d042 Mon Sep 17 00:00:00 2001 From: "Soare Robert Daniel (Mac 2023)" Date: Mon, 18 Nov 2024 17:02:42 +0200 Subject: [PATCH] chore: update test for WP6.7 featured image change --- tests/e2e/specs/import.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/specs/import.spec.js b/tests/e2e/specs/import.spec.js index 85273d09..07757e22 100644 --- a/tests/e2e/specs/import.spec.js +++ b/tests/e2e/specs/import.spec.js @@ -144,7 +144,7 @@ test.describe( 'Feed Import', () => { // Select the first post created by feeds import. Check the featured image. await page.getByRole('link', { name: 'Posts', exact: true }).click({ force: true }); await page.locator('#the-list tr').first().locator('a.row-title').click({ force: true }); - await expect( page.getByLabel('Edit or replace the featured image') ).toBeVisible(); // Featured image is added. + await expect( page.locator('.editor-post-featured-image img') ).toBeVisible(); // Featured image is added. }); test( 'importing feed with chained actions', async({ admin, page, requestUtils }) => {