Skip to content

Commit

Permalink
update: addressed feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rink9 committed Jul 26, 2022
1 parent 630bfd1 commit 3501674
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 62 deletions.
58 changes: 0 additions & 58 deletions packages/e2e-tests/specs/editor/plugins/wp-editor-meta-box.test.js

This file was deleted.

6 changes: 2 additions & 4 deletions test/e2e/specs/editor/plugins/wp-editor-meta-box.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test.describe( 'WP Editor Meta Boxes', () => {
test( 'Should save the changes', async ( { admin, editor, page } ) => {
await admin.createNewPost();
// Add title to enable valid non-empty post save.
await page.type( '.editor-post-title__input', 'Hello Meta' );
await page.type( 'role=textbox[name="Add title"i]', 'Hello Meta' );

// Type something.
await page.click( 'role=button[name="Text"i]' );
Expand Down Expand Up @@ -49,8 +49,6 @@ test.describe( 'WP Editor Meta Boxes', () => {
* For more context, see https://github.com/WordPress/gutenberg/pull/33228/files#r666897885
*/
const content = page.locator( '#test_tinymce_id' );
expect( await content.evaluate( ( node ) => node.value ) ).toBe(
'Typing in a metabox'
);
await expect( content ).toHaveValue( 'Typing in a metabox' );
} );
} );

0 comments on commit 3501674

Please sign in to comment.