Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel authored and getdave committed Nov 26, 2021
1 parent 3f908d5 commit 75a19c6
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ describe.skip( 'Navigation', () => {
newMenuButton[ 0 ].click();
}

it.only( 'only update the current entity linked with the block', async () => {
it.only( 'only update a single entity currently linked with the block', async () => {
// Mock the response from the Pages endpoint. This is done so that the pages returned are always
// consistent and to test the feature more rigorously than the single default sample page.
await mockPagesResponse( [
Expand All @@ -831,6 +831,7 @@ describe.skip( 'Navigation', () => {

// Add the navigation block.
await insertBlock( 'Navigation' );

// Create an empty nav block.
await createEmptyNavBlock();
await populateNavWithOneItem();
Expand Down Expand Up @@ -869,12 +870,6 @@ describe.skip( 'Navigation', () => {

await page.waitForXPath( NAV_ENTITY_SELECTOR );
expect( await page.$x( NAV_ENTITY_SELECTOR ) ).toHaveLength( 1 );

// Now reset to an empty menu.
//
// // Confirm there is only one updated Navigation Menu entity.
// // Snapshot should contain the mocked pages.
// expect( await getEditedPostContent() ).toMatchSnapshot();
} );
} );
} );

0 comments on commit 75a19c6

Please sign in to comment.