-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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: End to end tests for style variations. #38485
Add: End to end tests for style variations. #38485
Conversation
Size Change: 0 B Total Size: 1.14 MB ℹ️ View Unchanged
|
ba2796b
to
e8edad0
Compare
e8edad0
to
cd4f336
Compare
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 is cool 👍
lib/compat/wordpress-6.0/class-gutenberg-rest-global-styles-controller.php
Show resolved
Hide resolved
/** | ||
* Internal dependencies | ||
*/ | ||
import { siteEditor } from './utils'; |
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.
In a recent PR, these utils has been moved to e2e-test-utils, so a rebase might break things here.
await applyVariation( 2 ); | ||
} | ||
|
||
async function openGlobalStylesPanel( panelName ) { |
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 one could potentially be an e2e test util.
cd4f336
to
adada92
Compare
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.
Great test addition
adada92
to
923c84e
Compare
Follow up to #35619.
Adds end-to-end tests for the style variations.
Adds a test theme with some style variations so end to end tests can use it.