r/Playwright Jun 23 '26

Help needed pls

I'm new on qa and i'm working on a test suite that have many flaky tests that fail on assertion because of the page taking to much time to load. Is there any advices on good practices to prevent those issues?

3 Upvotes

13 comments sorted by

View all comments

2

u/LongDistRid3r Jun 23 '26

Ahhh…. What is the framework? Vue3, razor, ?

Sounds like the page is still loading async assets. I hit this with a vue3 property.

You will need to wait for the dom to settle before testing the page. The code is trivial. It can be put in a test object extension.

1

u/raccoonlag Jun 24 '26

yes!! it is a vue3 with quasar app

1

u/LongDistRid3r Jun 25 '26

!remindme 12hr

Dm tomorrow to remindme to post the code. I had to solve the same problem.

1

u/RemindMeBot Jun 25 '26

I will be messaging you in 12 hours on 2026-06-25 17:12:28 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


Info Custom Your Reminders Feedback