🐛(front) disable retries in useQuery and useInfiniteQuery
The default options in TanStack Query don't make sense for these purposes and were inducing a need for long timeouts in Playwright tests. (Personal aside: I consider timeouts in Playwright as a testing smell.)
This commit is contained in:
committed by
Laurent Bossavit
parent
6b2ca88ff2
commit
e63c31f960
@@ -136,9 +136,7 @@ test.describe('Mail domain', () => {
|
||||
page.getByText(
|
||||
'It seems that the page you are looking for does not exist or cannot be displayed correctly.',
|
||||
),
|
||||
).toBeVisible({
|
||||
timeout: 15000,
|
||||
});
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
test.describe('user is administrator or owner', () => {
|
||||
|
||||
@@ -154,8 +154,6 @@ test.describe('Add Mail Domains', () => {
|
||||
page.getByText(
|
||||
'It seems that the page you are looking for does not exist or cannot be displayed correctly.',
|
||||
),
|
||||
).toBeVisible({
|
||||
timeout: 15000,
|
||||
});
|
||||
).toBeVisible();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -99,8 +99,6 @@ test.describe('Teams Create', () => {
|
||||
page.getByText(
|
||||
'It seems that the page you are looking for does not exist or cannot be displayed correctly.',
|
||||
),
|
||||
).toBeVisible({
|
||||
timeout: 15000,
|
||||
});
|
||||
).toBeVisible();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user