✅(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:
@@ -153,12 +153,6 @@ test.describe('Members Delete', () => {
|
||||
|
||||
const username = await addNewMember(page, 1, 'Admin');
|
||||
|
||||
await expect(
|
||||
page.getByText(`User added to the document.`).last(),
|
||||
).toBeHidden({
|
||||
timeout: 5000,
|
||||
});
|
||||
|
||||
await page.getByLabel('Open the document options').click();
|
||||
await page.getByRole('button', { name: 'Manage members' }).click();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user