diff --git a/tests/e2e/specs/import.spec.js b/tests/e2e/specs/import.spec.js index 682eaf90..591e0491 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 page.getByRole('button', { name: 'Featured image' }).click({ force: true }); + await page.getByRole('button', { name: 'Set featured image' }).click({ force: true }); await expect( page.getByLabel('Edit or replace the image') ).toBeVisible(); // Featured image is added. });