Skip to content

Increase playwright snapshot timeout#6076

Open
jrobbins wants to merge 14 commits intomainfrom
20260302-increase-snapshot-timeout
Open

Increase playwright snapshot timeout#6076
jrobbins wants to merge 14 commits intomainfrom
20260302-increase-snapshot-timeout

Conversation

@jrobbins
Copy link
Collaborator

@jrobbins jrobbins commented Mar 2, 2026

Try a longer timeout when checking screenshots because sometimes icons and CSS takes longer than 5s to load.

The longer timeout does not seem to increase the total run time by much. Maybe from 6m to 7m. It seems to reduce the number of flakey failures, but not eliminate them. Also, having a screenshot helper function is a starting point to eventually having tests that support dark mode.

@jrobbins jrobbins requested a review from DanielRyanSmith March 3, 2026 16:49
Copy link
Collaborator

@DanielRyanSmith DanielRyanSmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually , we might want to take screenshots that test states where the mouse hovers over an element. Maybe we can add the mouse movement adjustment as needed, separate from the screenshot function?

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