-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Migrate performance tests to Playwright #51084
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
cdc5b1a
Create performance config
WunderBart 58c9171
Define WP_ARTIFACTS_PATH in global setup
WunderBart 35c35ef
Move perf utils and reporter
WunderBart b251340
Migrate Site Editor perf spec
WunderBart 9837b4a
Try running in CI
WunderBart 117ea63
Refactor reporter to Playwright
WunderBart c91913c
Ignore performance tests from the base E2E config
WunderBart cb1f49f
Delete the obsolete reporter
WunderBart 33ea9c1
Migrate Post Editor perf specs
WunderBart 4f05e97
Migrate the classic theme perf spec
WunderBart 96344ac
Migrate the block theme perf spec
WunderBart fdf9eeb
Move WP_ASSETS_PATH env var declaration to the base config
WunderBart d9db7fe
Move the sample loop inside
WunderBart 7d9f84e
Make the test independent from preceding steps
WunderBart c36eacc
Push missing util
WunderBart 2f163a3
Small cleanup
WunderBart 788548c
Make the perf config independent from the e2e one
WunderBart 4bf1c77
Try tracing warnings to see what's wrong with CI
WunderBart 7718268
Merge remote-tracking branch 'origin' into refactor/playwright-perfor…
WunderBart 262d5be
Undo changes to the e2e config
WunderBart a0e8e4c
Rename perf reporter class
WunderBart ce36f27
Make tests as 1:1 to current ones as possible
WunderBart 9556478
Add linefeed at the end of the custom report
WunderBart 3649b25
Isolate performance tests from e2e tests
WunderBart c107fda
Fix esm/cjs mixup
WunderBart 74ba986
Build packages correctly
WunderBart baef167
Merge branch 'trunk' into refactor/playwright-performance-tests
WunderBart cc06c99
Make site editor loading test take sample from a new page as before
WunderBart 94dd81a
Try running a different test
WunderBart 9424aeb
Try printing from the child process
WunderBart c7ac136
Make sure Playwright is installed
WunderBart 07afec7
Revert "Try printing from the child process"
WunderBart 40ddc30
Revert "Try running a different test"
WunderBart f53273d
Leave only chromium for perf testing
WunderBart a3679e8
Try stdout again
WunderBart 71e673d
Do not run retries
WunderBart 2596967
Create new page for loading spec as before
WunderBart 7885bf3
Make naming consistent
WunderBart 07e4d34
Remove warning tracing
WunderBart 1ebe284
Revert "Try stdout again"
WunderBart 5412032
Update config according to review comments
WunderBart 875a4f1
tmp: Compare Puppeteer vs. Playwright in CI
WunderBart d9f2672
Revert "Revert "Try stdout again""
WunderBart 740360a
Increase global timeout to 10 minutes
WunderBart 5934795
Remove unused dep
WunderBart c8e6639
Extend more timeouts to address flaky CI
WunderBart d0aee00
Revert "Revert "Revert "Try stdout again"""
WunderBart 115d731
Revert "tmp: Compare Puppeteer vs. Playwright in CI"
WunderBart ffcd340
Add Playwright script, but keep Puppeteer as a default runner
WunderBart e77d0b7
tmp: Run Puppeteer vs. Playwright comparison 100 times
WunderBart 6bb53d8
Revert "tmp: Run Puppeteer vs. Playwright comparison 100 times"
WunderBart 637035a
Revert "Make sure Playwright is installed"
WunderBart c5266ba
Revert "Build packages correctly"
WunderBart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update config according to review comments
- Loading branch information
commit 5412032fee975b9cae48ef4f28f4c4d6644dc86f
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will have some minor performance impact. Probably we don't need to enable it in performance test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we mostly care about changes in performance, so the impact itself might not be that important if we keep it switched on. The question is whether we need the trace or not. It did help me with some debugging just recently!