Skip to content

Commit

Permalink
E2E Tests: Remove duplicate blocks. (#23981)
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne authored Jul 16, 2020
1 parent 2181c38 commit 0c41756
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/e2e-tests/config/setup-test-framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,6 @@ function observeConsoleLogging() {
return;
}

// As of WordPress 5.3.2 in Chrome 79, navigating to the block editor
// (Posts > Add New) will display a console warning about
// non - unique IDs.
// See: https://core.trac.wordpress.org/ticket/23165
if ( text.includes( 'elements with non-unique id #_wpnonce' ) ) {
return;
}

const logFunction = OBSERVED_CONSOLE_MESSAGE_TYPES[ type ];

// As of Puppeteer 1.6.1, `message.text()` wrongly returns an object of
Expand Down

0 comments on commit 0c41756

Please sign in to comment.