Skip to content

Commit

Permalink
e2e:fix WP Editor Meta Boxes test (WordPress#68872)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
  • Loading branch information
t-hamano and t-hamano authored Jan 24, 2025
1 parent a411f33 commit 2eaed20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/specs/editor/plugins/wp-editor-meta-box.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test.describe( 'WP Editor Meta Boxes', () => {
// Switch tinymce to Text mode, first waiting for it to initialize
// because otherwise it will flip back to Visual mode once initialized.
await page.locator( '#test_tinymce_id_ifr' ).waitFor();
await page.locator( 'role=button[name="Text"i]' ).click();
await page.locator( 'role=button[name="Code"i]' ).click();

// Type something in the tinymce Text mode textarea.
const metaBoxField = page.locator( '#test_tinymce_id' );
Expand Down

0 comments on commit 2eaed20

Please sign in to comment.