-
Notifications
You must be signed in to change notification settings - Fork 127
Add E2E tests setup for Auto Sizes #1988
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
Add E2E tests setup for Auto Sizes #1988
Conversation
…ors' into add/setup-e2e-tests
…ors' into add/setup-e2e-tests
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/1511-incorporate-layout-constraints-from-ancestors #1988 +/- ##
==============================================================================================
+ Coverage 69.60% 72.48% +2.87%
==============================================================================================
Files 86 85 -1
Lines 7018 7051 +33
==============================================================================================
+ Hits 4885 5111 +226
+ Misses 2133 1940 -193
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
In b4758e6, I tried adding E2E tests to verify the image When I run Does anyone know why this might be happening or what could be causing the difference in behavior between normal and debug modes? cc. @joemcgill @felixarntz |
@mukeshpanchal27 this is a tricky thing to try to test in a Playwright test. The I'm not entirely sure if the headless browser Playwright uses will process |
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
plugins/auto-sizes/tests/e2e/specs/improve-calculate-sizes.spec.js
Outdated
Show resolved
Hide resolved
plugins/auto-sizes/tests/e2e/specs/improve-calculate-sizes.spec.js
Outdated
Show resolved
Hide resolved
plugins/auto-sizes/tests/e2e/specs/improve-calculate-sizes.spec.js
Outdated
Show resolved
Hide resolved
plugins/auto-sizes/tests/e2e/specs/improve-calculate-sizes.spec.js
Outdated
Show resolved
Hide resolved
fb58db7
into
feature/1511-incorporate-layout-constraints-from-ancestors
Summary
Part of #1511
Relevant technical choices
This PR adds the basic infrastructure for E2E testing for the Auto Sizes plugin.
More E2E test coverage will be added over time once this is merged into the feature branch.