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

Tijl/ /fix playwright #2049

Merged
merged 27 commits into from
Oct 6, 2024
Merged

Tijl/ /fix playwright #2049

merged 27 commits into from
Oct 6, 2024

Conversation

tijlleenders
Copy link
Owner

The Playwright tests haven't been running for a while. That's just not right.
Hope this fixes it.

Copy link

vercel bot commented Sep 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
zinzen ✅ Ready (Inspect) Visit Preview Oct 6, 2024 8:56am

@vinaybadgujar102
Copy link
Collaborator

@tijlleenders, The tests are back to green! ✅

@vinaybadgujar102 vinaybadgujar102 requested review from tylerleenders and removed request for tylerleenders October 6, 2024 08:36
@tijlleenders
Copy link
Owner Author

🎉🎊!!!

Can you explain the issue?

@vinaybadgujar102
Copy link
Collaborator

Firstly, test was very flaky and would fail at various different points, mostly while waiting for request/response and interacting with modals. I tried different techniques like using retries, waiting for network to be idle, and waiting for modal to appear. I also made the tests run in headed mode in CI/CD. Additionally, I tried different assertions to check if the shared goal was being updated correctly and chose the most robust one.

@tijlleenders
Copy link
Owner Author

@vinaybadgujar102 That's great. Well done!

What is the best methid you chose?
Can we go (or are we already) back to headless mode?

@vinaybadgujar102
Copy link
Collaborator

vinaybadgujar102 commented Oct 6, 2024

What is the best methid you chose?

Its situation based like for the modal thing, wait for the modal to be visible on viewport then do next steps.
Earlier we used to share the first goal from the starter goals. Now new goal is created and then shared between the users to remove the assertion conflicts which were arising previously related to goal titles.

Can we go (or are we already) back to headless mode?

We are currently running in headed mode only. I will check if we can move back to headless mode.

@vinaybadgujar102
Copy link
Collaborator

@tijlleenders headless is also working fine

@tijlleenders
Copy link
Owner Author

Ok, great!
We can merge then.

@vinaybadgujar102 vinaybadgujar102 merged commit 5bdc4ef into main Oct 6, 2024
5 checks passed
@tijlleenders tijlleenders deleted the tijl/-/fix-playwright branch October 6, 2024 10:04
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