Coming soon - Get a detailed view of why an account is flagged as spam!
view details
2
Playwright not detecting changes from Socket.IO
Post Body

I have an app that's a little weird, in that a Socket.IO connection dictates what data needs to be fetched via API. When a mutation is sent to the backend, a message comes back from the connection to tell the client to refetch.

I noticed that Playwright doesn't seem to see the UI update. When I send a mutation manually, the UI updates accordingly. When I do it via Playwright, the backend still receives and sends the Socket message, and reloading the page does show the UI change. But Playwright doesn't seem to recognize the UI change without reloading and times out my tests. Do I have to do something special to get this to work?

Author
Account Strength
90%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,041
Link Karma
556
Comment Karma
485
Profile updated: 5 days ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
7 months ago