✅(demo) change email from user to user.test in demo
When we create a new user in the demo environment, the email address will now follow the format user.test@example.com instead of user@example.com. "user" was only 4 characters long, it created failing tests in the e2e suite.
This commit is contained in:
committed by
Manuel Raynaud
parent
20161fd6db
commit
8c1e95c587
@@ -15,7 +15,7 @@ test.describe('Document create member', () => {
|
||||
});
|
||||
|
||||
test('it selects 2 users and 1 invitation', async ({ page, browserName }) => {
|
||||
const inputFill = 'user ';
|
||||
const inputFill = 'user.test';
|
||||
const responsePromise = page.waitForResponse(
|
||||
(response) =>
|
||||
response.url().includes(`/users/?q=${encodeURIComponent(inputFill)}`) &&
|
||||
|
||||
@@ -8,7 +8,7 @@ export const addNewMember = async (
|
||||
page: Page,
|
||||
index: number,
|
||||
role: 'Administrator' | 'Owner' | 'Editor' | 'Reader',
|
||||
fillText: string = 'user ',
|
||||
fillText: string = 'user.test',
|
||||
) => {
|
||||
const responsePromiseSearchUser = page.waitForResponse(
|
||||
(response) =>
|
||||
|
||||
Reference in New Issue
Block a user