diff --git a/tests/e2e/specs/archive.spec.js b/tests/e2e/specs/archive.spec.js index 8b19c4f3..8aa5bdc6 100644 --- a/tests/e2e/specs/archive.spec.js +++ b/tests/e2e/specs/archive.spec.js @@ -352,7 +352,9 @@ test.describe('archive pages', () => { .locator('#menu-posts-portfolio') .getByRole('link', { name: 'Settings' }) .click(); - await page.locator('.select2-container').click(); + await page + .locator('.portfolio_archive_page .select2-container') + .click(); await page.getByRole('option', { name: 'Portfolio' }).click(); await page.getByLabel('Archive Page Items Per Page').fill('2'); await page.getByRole('button', { name: 'Save Changes' }).click();