-
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
Update the 'Iframe block' test and fix flakiness #51631
Conversation
@@ -13,36 +13,17 @@ test.describe( 'Iframed block', () => { | |||
await requestUtils.deactivatePlugin( 'gutenberg-test-iframed-block' ); | |||
} ); | |||
|
|||
test( 'Should save the changes', async ( { editor, page } ) => { | |||
test( 'should load script and dependencies in iframe', async ( { |
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.
The previous test name wasn't descriptive of the actual test and probably a copy/paste error during the migration (#44164).
I've restored the original name.
Size Change: 0 B Total Size: 1.4 MB ℹ️ View Unchanged
|
Flaky tests detected in b11c611. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5308407466
|
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.
Good catch! Thanks as always!
What?
Fixes #43174.
PR updates the
Iframe block
e2e tests and removes extra steps for switching to template editing mode.Why?
The post editor now uses iframe by default, so there's no need to switch to template editing mode for testing with iframes.
Testing Instructions