(e2e) fix some flaky tests

Some tests were flaky, causing them to fail
intermittently. This commit aims to address
this issue.
This commit is contained in:
Anthony LC
2025-03-31 12:14:20 +02:00
committed by Anthony LC
parent 65ddf7fbe8
commit 50b90f9ae7
3 changed files with 14 additions and 23 deletions

View File

@@ -190,7 +190,7 @@ test.describe('Document grid item options', () => {
test.describe('Documents filters', () => {
test('it checks the prebuild left panel filters', async ({ page }) => {
await page.goto('/');
void page.goto('/');
// All Docs
const response = await page.waitForResponse(
@@ -263,7 +263,7 @@ test.describe('Documents filters', () => {
test.describe('Documents Grid', () => {
test('checks all the elements are visible', async ({ page }) => {
await page.goto('/');
void page.goto('/');
let docs: SmallDoc[] = [];
const response = await page.waitForResponse(