Skip to content

Commit 37ad02d

Browse files
committed
fixup! fixup! fixup! ✨(frontend) fix toggle panel button a11y with dynamic label
1 parent 867508c commit 37ad02d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/frontend/apps/e2e/__tests__/app-impress/utils-common.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ export const closeHeaderMenu = async (page: Page) => {
105105
}
106106
};
107107

108+
export const toggleHeaderMenu = async (page: Page) => {
109+
const toggleButton = page.getByTestId('header-menu-toggle');
110+
await expect(toggleButton).toBeVisible();
111+
await toggleButton.click();
112+
};
113+
108114
export const createDoc = async (
109115
page: Page,
110116
docName: string,

0 commit comments

Comments
 (0)