✅(e2e) remove some flakiness
Service worker added some flakiness, we activate the sw only if not from the CI. We add as well the email of the user added in a doc to the toast message. This way we can check if the user was added correctly, this will remove some flakiness in some tests.
This commit is contained in:
@@ -95,6 +95,9 @@ test.describe('Pad Create', () => {
|
||||
});
|
||||
|
||||
test('checks 404 on docs/[id] page', async ({ page }) => {
|
||||
// eslint-disable-next-line playwright/no-wait-for-timeout
|
||||
await page.waitForTimeout(300);
|
||||
|
||||
await page.goto('/docs/some-unknown-pad');
|
||||
await expect(
|
||||
page.getByText(
|
||||
|
||||
Reference in New Issue
Block a user