Skip to content

Commit 8f5c413

Browse files
committed
⚡️(e2e) remove unnecessary page.goto
Multiple page.goto can cause flakiness. An page.goto is already called in the beforeEach, so we don't need to call it again in the test.
1 parent a66231d commit 8f5c413

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/frontend/apps/e2e/__tests__/app-impress/doc-panel.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ test.describe('Documents Panel', () => {
132132
}
133133
});
134134

135-
await page.goto('/');
136-
137135
const panel = page.getByLabel('Documents panel').first();
138136
await expect(panel.locator('li')).toHaveCount(20);
139137
await panel.getByText(`My document-1-16`).click();

0 commit comments

Comments
 (0)