feat: new setting modal (#2834)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
QiandAlex Yang authored and GitHub committed 2023-06-21 19:57:59 +08:00
1 parent 9a90ce694c
commit aa86d3a2ee
64 files changed
+1911 -159

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ test('Drag resizer can resize sidebar', async ({ page }) => {
});
await page.mouse.up();
const boundingBox = await page.getByTestId('app-sidebar').boundingBox();
expect(boundingBox?.width).toBe(400);
expect(boundingBox?.width).toBe(399);
});
test('Sidebar in between sm & md breakpoint', async ({ page }) => {
+1 -1
View File
@@ -16,5 +16,5 @@ test('Open shortcuts modal', async ({ page }) => {
await shortcutsIcon.click();
await page.waitForTimeout(1000);
const shortcutsModal = page.locator('[data-testid=shortcuts-modal]');
await expect(shortcutsModal).toContainText('Keyboard shortcuts');
await expect(shortcutsModal).toContainText('Page');
});