Skip to content

Commit

Permalink
Remove leftover util function
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Feb 8, 2022
1 parent dbd4252 commit 6cd80cd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/e2e-tests/specs/editor/blocks/heading.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ import {
pressKeyWithModifier,
} from '@wordpress/e2e-test-utils';

const openColorToolsPanelMenu = async () => {
const toggleSelector =
"//div[contains(@class, 'color-block-support-panel')]//button[contains(@class, 'components-dropdown-menu__toggle')]";
const toggle = await page.waitForXPath( toggleSelector );
return toggle.click();
};

describe( 'Heading', () => {
const COLOR_ITEM_SELECTOR =
'.block-editor-panel-color-gradient-settings__dropdown';
Expand Down

0 comments on commit 6cd80cd

Please sign in to comment.