wp-media / wp-rocket-e2e

Playwright E2E testing repo
GNU General Public License v3.0
0 stars 0 forks source link

ATF fixture does not use base url of test suite. #80

Closed jeawhanlee closed 4 months ago

jeawhanlee commented 4 months ago

Before submitting an issue please check that you’ve completed the following steps:

Describe the bug When running tests for lcp other than the e2e env, the test will fail because the e2e host is hardcoded in the fixtures.

To Reproduce Steps to reproduce the behavior:

  1. Run lcp tests with npm run test:lcp
  2. See the fail messages in the cli

Expected behavior Tests should not fail no matter the env used.

Screenshots Screenshot 2024-05-15 at 13 59 07

Additional context Add any other context about the problem here.

Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming