️(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.
This commit is contained in:
Anthony LC
2024-07-03 14:37:11 +02:00
committed by Anthony LC
parent a66231d72e
commit 8f5c413482

View File

@@ -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();