-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Performance tests: Make theme versions consistent cross-env #50905
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
Changes from all commits
b315dd1
ebdefe0
a96092c
af5d1c9
6980769
80ed46e
2a18422
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,13 +16,12 @@ describe( 'Front End Performance', () => { | |
| }; | ||
|
|
||
| beforeAll( async () => { | ||
| await activateTheme( 'twentytwentythree' ); | ||
| await activateTheme( 'gutenberg-test-themes/twentytwentythree' ); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Noting here what I've observed, so it's documented somewhere. This PR maps the specific versions in use within the You can confirm this by going to the "Appearance > Themes" page (inspect the "activate" button of each instance to know its Also by asking docker:
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for noting this down! 🙇 Just wanted to add that we can check the available test env themes also via the following wp-cli command: For this branch, it should return the following: As a comparison, we can list the themes used in dev env, which should not return the
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Brilliant. Thanks for the tip! |
||
| await logout(); | ||
| } ); | ||
|
|
||
| afterAll( async () => { | ||
| saveResultsFile( __filename, results ); | ||
| await activateTheme( 'twentytwentyone' ); | ||
| } ); | ||
|
|
||
| it( 'Report TTFB, LCP, and LCP-TTFB', async () => { | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.