diff --git a/plugins/woocommerce/tests/e2e-pw/tests/activate-and-setup/core-profiler.spec.js b/plugins/woocommerce/tests/e2e-pw/tests/activate-and-setup/core-profiler.spec.js index 61323306cdf..c73976fe816 100644 --- a/plugins/woocommerce/tests/e2e-pw/tests/activate-and-setup/core-profiler.spec.js +++ b/plugins/woocommerce/tests/e2e-pw/tests/activate-and-setup/core-profiler.spec.js @@ -43,8 +43,8 @@ test.describe( 'Store owner can complete the core profiler', () => { } ) ).toBeVisible(); await page - .getByRole( 'radio' ) - .filter( { hasText: 'just starting my business' } ) + .getByRole( 'radio', { name: 'I’m just starting my business' } ) + .first() .click(); await page.getByRole( 'button', { name: 'Continue' } ).click(); } );