Skip to content

Commit

Permalink
e2e:fix WP Editor Meta Boxes test
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Jan 27, 2025
1 parent 8742100 commit c2f9b5e
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 c2f9b5e

Please sign in to comment.