Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed screenshot testing from complex pages #624

Merged
merged 4 commits into from
Oct 22, 2022

Conversation

EthanThatOneKid
Copy link
Owner

Screenshot testing was recently added in #612. It includes automatic screenshot testing for all acmcsuf.com pages despite not every page rendering deterministically. Screenshot testing should only be applied to pages that do not move much (which is expected behavior on a majority of our pages). For this reason, screenshot tests are prone to failure for the /events, /blog, and /1st pages.

Note: To support screenshot tests on pages with nondeterministic full-page screenshots, screenshots must instead be taken of individual page elements which are deterministic.

Some acmcsuf.com pages give the Playwright testing some trouble, being capable of generating nondeterministic screenshots. This is a problem and should be stripped out of the main branch for now so that the nondeterministic screenshot tests may be rewritten on a case-by-case basis.
Removed screenshot tests for `/event` page

TODO: Run Playwright tests on another computer to make sure the tests are behaving as expected.
@vercel
Copy link

vercel bot commented Oct 19, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
acm-csuf-site ✅ Ready (Inspect) Visit Preview Oct 21, 2022 at 11:55PM (UTC)

@EthanThatOneKid EthanThatOneKid marked this pull request as ready for review October 21, 2022 23:54
@vercel vercel bot temporarily deployed to Preview October 21, 2022 23:55 Inactive
@EthanThatOneKid EthanThatOneKid enabled auto-merge (squash) October 22, 2022 00:00
@EthanThatOneKid EthanThatOneKid merged commit 933fa16 into main Oct 22, 2022
Copy link
Contributor

@charliettaylor charliettaylor left a comment

Choose a reason for hiding this comment

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

LGTM!

@jaasonw jaasonw deleted the refactor/screenshot-testing branch December 27, 2022 12:39
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