Skip to content

Commit

Permalink
⚡️(e2e) remove unnecessary page.goto
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
AntoLC committed Jul 3, 2024
1 parent a66231d commit 8f5c413
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/frontend/apps/e2e/__tests__/app-impress/doc-panel.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ test.describe('Documents Panel', () => {
}
});

await page.goto('/');

const panel = page.getByLabel('Documents panel').first();
await expect(panel.locator('li')).toHaveCount(20);
await panel.getByText(`My document-1-16`).click();
Expand Down

0 comments on commit 8f5c413

Please sign in to comment.