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

fix(examples): use correct url so that all web vital metrics display #1987

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

bernardobridge
Copy link
Contributor

@bernardobridge bernardobridge commented Jul 13, 2023

Why

These examples weren't displaying web vital metrics by default.

The reason was the Artillery Playwright engine looks for window.location.href as the url, and tries to match that with the target to decide on whether to show them or not. Since navigating to the website directs to www, that check was failing, and so no extended metrics were showing.

Note: I also fixed the cloudWaitlistSignupFlow which wasn't working properly. I used playwright's codegen as the previous one for an updated exmaple.

@hassy hassy merged commit 75d60de into main Jul 13, 2023
1 of 3 checks passed
@hassy hassy deleted the fix-playwright-example-url branch July 13, 2023 16:47
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.

2 participants