Closed tijlleenders closed 1 month ago
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 |
@tijlleenders, The tests are back to green! ✅
🎉🎊!!!
Can you explain the issue?
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.
@vinaybadgujar102 That's great. Well done!
What is the best methid you chose?
Can we go (or are we already) back to headless mode?
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.
@tijlleenders headless is also working fine
Ok, great! We can merge then.
The Playwright tests haven't been running for a while. That's just not right.
Hope this fixes it.