feat: group all page by date (#2532)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
Whitewater
2023-05-25 22:23:51 -07:00
committed by Himself65
parent 581bc97896
commit d2badccce3
11 changed files with 220 additions and 62 deletions
@@ -62,7 +62,7 @@ test('access public workspace page', async ({ page, browser }) => {
timeout: 10000,
});
await clickSideBarAllPageButton(page);
await page.locator('tr').nth(1).click();
await page.locator('tr').nth(2).click();
const url = page.url();
const context = await browser.newContext();
const page2 = await context.newPage();
+3 -3
View File
@@ -11,9 +11,9 @@ test('should broadcast a message to all debug pages', async ({
await page.waitForSelector('#__next');
await page2.waitForSelector('#__next');
await page.click('[data-testid="create-page"]');
expect(await page.locator('tr').count()).toBe(2);
expect(await page2.locator('tr').count()).toBe(2);
await page2.click('[data-testid="create-page"]');
expect(await page.locator('tr').count()).toBe(3);
expect(await page2.locator('tr').count()).toBe(3);
await page2.click('[data-testid="create-page"]');
expect(await page.locator('tr').count()).toBe(4);
expect(await page2.locator('tr').count()).toBe(4);
});