Skip to content

Commit

Permalink
Remove expectation of REST errors
Browse files Browse the repository at this point in the history
These errors were avoided in #42413
  • Loading branch information
getdave committed Jul 20, 2022
1 parent 6133a21 commit 2000813
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/e2e-tests/specs/editor/blocks/navigation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1331,11 +1331,6 @@ Expected mock function not to be called but it was called with: ["POST", "http:/
await page.waitForXPath(
`//*[contains(@class, 'components-snackbar__content')][ text()="${ noticeText }" ]`
);

// Expect a console 403 for requests to:
// * /wp/v2/settings?_locale=user
// * /wp/v2/templates?context=edit&post_type=post&per_page=100&_locale=user
expect( console ).toHaveErrored();
} );
} );

Expand Down

0 comments on commit 2000813

Please sign in to comment.