mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 09:59:55 +08:00
chore: update playwright workker to 100%
This commit is contained in:
@@ -5,11 +5,10 @@ loadPage();
|
||||
|
||||
test.describe('local first new page', () => {
|
||||
test('click btn new page', async ({ page }) => {
|
||||
const originPageUrl = page.url();
|
||||
const originPageId = page.url().split('/').reverse()[0];
|
||||
await page.getByText('New Page').click();
|
||||
const newPageUrl = page.url();
|
||||
expect(newPageUrl).not.toBe(originPageUrl);
|
||||
expect(newPageUrl.length).toBe(originPageUrl.length);
|
||||
const newPageId = page.url().split('/').reverse()[0];
|
||||
expect(newPageId).not.toBe(originPageId);
|
||||
});
|
||||
|
||||
test('click btn bew page and find it in all pages', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user