feat: replace menu with new design (#4012)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
QiandAlex Yang authored and GitHub committed 2023-09-06 04:36:43 +00:00
1 parent ef3d3a34e2
commit d8c9f10bc1
51 files changed
+611 -739

No files matched your search

@@ -25,7 +25,7 @@ test('click btn bew page and open in tab', async ({ page, workspace }) => {
.click();
const [newTabPage] = await Promise.all([
page.waitForEvent('popup'),
page.getByRole('button', { name: 'Open in new tab' }).click(),
page.getByRole('menuitem', { name: 'Open in new tab' }).click(),
]);
expect(newTabPage.url()).toBe(newPageUrl);