Repository navigation
Upgrade to Playwright 1.65 and run the inset screenshot tests again - #91
Merged
Merged
Conversation
Playwright 1.62 is the first release that installs Chromium on Ubuntu 26.04, so the Linux jobs go back to ubuntu-latest. The new Chromium draws every committed baseline byte-for-byte the same as 1.58 did, so those baselines are unchanged. The inset screenshot tests read their baselines from test_layouts/baselines after the file moved, found nothing, and skipped. They now read tests/baselines with the other visual tests. The baselines there predated the current margins and tick labels, so they are regenerated.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #91 +/- ##
=======================================
Coverage 92.07% 92.08%
=======================================
Files 42 42
Lines 5489 5493 +4
=======================================
+ Hits 5054 5058 +4
Misses 435 435 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #90. That PR pinned the Playwright jobs to ubuntu-24.04 because Playwright 1.58 cannot install Chromium on Ubuntu 26.04. This PR upgrades Playwright instead and removes the pin.
Playwright 1.58 → 1.65.3. 1.62 is the first release that supports Ubuntu 26.04. The CI, docs and tests workflows go back to
ubuntu-latest.Screenshots. On the same machine, the new Chromium renders all 31 committed baselines byte-for-byte the same as 1.58, so those files are untouched. Regenerating them locally would only swap one operating system's text rendering for another's, which accounts for the 1–1.5% of pixels that already differ between platforms.
Inset screenshot tests were silently skipped. When
test_inset.pymoved intotest_layouts/, it kept looking for baselines intest_layouts/baselines/, found none, and skipped all six tests. It now readstests/baselines/liketest_visual.py. The committed inset baselines predated the current plot margins and tick labels (1.00is now1), and about 55% of their pixels differed, so they are regenerated.Local run on Windows: 2611 passed, 58 skipped.