Skip to content

Commit

Permalink
Remove deprecatd deprecation selector
Browse files Browse the repository at this point in the history
  • Loading branch information
fullofcaffeine committed Apr 29, 2021
1 parent 573b990 commit 6d65d2d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/e2e/lib/gutenberg/gutenberg-editor-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,13 +399,8 @@ export default class GutenbergEditorComponent extends AsyncBaseContainer {
title
);

// @TODO Remove the `deprecatedInserterBlockItemSelector` definition and usage after we activate GB 10.x on production.
const deprecatedInserterBlockItemSelector = `.edit-post-layout__inserter-panel .block-editor-block-types-list button.editor-block-list-item-${ prefix.replace(
'\\/',
'-'
) }${ blockClass }`;
const inserterBlockItemSelector = By.css(
`.edit-post-layout__inserter-panel .block-editor-block-types-list button.editor-block-list-item-${ prefix }${ blockClass }, ${ deprecatedInserterBlockItemSelector }`
`.edit-post-layout__inserter-panel .block-editor-block-types-list button.editor-block-list-item-${ prefix }${ blockClass }`
);

// @TODO Remove the `deprecatedInsertedBlockSelector` once we get 10.5.0 in production.
Expand Down

0 comments on commit 6d65d2d

Please sign in to comment.