Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Jun 25, 2024
1 parent 1aa1547 commit b4eeabc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/specs/editor/various/sidebar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ test.describe( 'Sidebar', () => {
const postDiscussionPanel = page.getByRole( 'button', {
name: 'Change discussion options',
} );
const postSummarySection = page.getByRole( 'button', {
const postAutorPanel = page.getByRole( 'button', {
name: 'admin',
} );

await expect( postExcerptPanel ).toBeVisible();
await expect( postFeaturedImagePanel ).toBeVisible();
await expect( postSummarySection ).toBeVisible();
await expect( postAutorPanel ).toBeVisible();
await expect( postDiscussionPanel ).toHaveCount( 1 );

await page.evaluate( () => {
Expand All @@ -149,7 +149,7 @@ test.describe( 'Sidebar', () => {
await expect( documentSettingsPanels ).toHaveCount( 1 );
await expect( postExcerptPanel ).toBeHidden();
await expect( postFeaturedImagePanel ).toBeHidden();
await expect( postSummarySection ).toBeHidden();
await expect( postAutorPanel ).toBeHidden();
await expect( postDiscussionPanel ).toHaveCount( 0 );
} );
} );

0 comments on commit b4eeabc

Please sign in to comment.