Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playwright: fix relative URLs #42361

Merged
merged 1 commit into from
Jul 13, 2022
Merged

Playwright: fix relative URLs #42361

merged 1 commit into from
Jul 13, 2022

Conversation

ellatrix
Copy link
Member

What?

The relative URLs for login should be without a starting slash so base URLs with a subfolder work correctly.
See https://playwright.dev/docs/api/class-testoptions#test-options-base-url.
See #38570.

Why?

My tests won't run locally otherwise with MAMP.

How?

Testing Instructions

If you're using MAMP, WP_BASE_URL=http://localhost:8888/gutenberg/ npm run test-e2e should now work correctly.

Screenshots or screencast

@ellatrix ellatrix merged commit 6f2d777 into trunk Jul 13, 2022
@ellatrix ellatrix deleted the fix/playwright-relative-urls branch July 13, 2022 08:07
@github-actions github-actions bot added this to the Gutenberg 13.7 milestone Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant