Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Use ensureSidebarOpened instead of openDocumentSettingsSidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Mar 31, 2023
1 parent 212253b commit 4f3b1e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/e2e/specs/shopper/active-filters.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
createNewPost,
switchUserToAdmin,
publishPost,
insertBlock,
} from '@wordpress/e2e-test-utils';
import { SHOP_PAGE } from '@woocommerce/e2e-utils';
import { Frame, Page } from 'puppeteer';
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
searchForBlock as searchForFSEBlock,
enterEditMode,
getAllBlocks,
openDocumentSettingsSidebar,
ensureSidebarOpened,
} from '@wordpress/e2e-test-utils';
import { addQueryArgs } from '@wordpress/url';
import { WP_ADMIN_DASHBOARD } from '@woocommerce/e2e-utils';
Expand Down Expand Up @@ -471,5 +471,5 @@ export const removeAllBlocks = async () => {
};

export const openSettingsSidebar = async () => {
openDocumentSettingsSidebar();
ensureSidebarOpened();
};

0 comments on commit 4f3b1e8

Please sign in to comment.