Skip to content

Commit

Permalink
Update E2E test after Post editor: Rename view to Preview (#45074)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Oct 19, 2022
1 parent d406de5 commit 24498db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/specs/editor/various/new-post.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ test.describe( 'new editor state', () => {
await expect( title ).toBeEditable();
await expect( title ).toHaveText( '' );

// Should display the View button.
// Should display the Preview button.
await expect(
page.locator( 'role=button[name="View"i]' )
page.locator( 'role=button[name="Preview"i]' )
).toBeVisible();

// Should display the Post Formats UI.
Expand Down

0 comments on commit 24498db

Please sign in to comment.