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 }) => {