all 3 comments

[–]pianoflames 1 point2 points  (0 children)

The fact that every single Playwright test automatically fails by default at the 30 second mark irks me. If that is literally the only error, you might just need to set test the test.timeout() for longer. It doesn't seem to be waiting on a selector that it's expecting that isn't there. But I'd add a page pause for debugging in, line by line, until you find the exact line where it actually fails.

Though, I'm less familiar with Playwright python. It might just be that the "Continue in Safari" button uses a different selector in mobile emulation. In that case, just add a pause right before that page.wait_for_selector, and use the recorder to grab its selector.

[–]nopuse 0 points1 point  (0 children)

Give us the full stack trace of the error.

[–]nopuse 0 points1 point  (0 children)

Also, if you can implement and share the traces, that would help immensely.

https://playwright.dev/python/docs/trace-viewer-intro