Update E2E test settings and methods
Updated the Playwright End-To-End test configurations to run the local dev server before starting the tests. Removed unnecessary page load wait states in the invitation tests. Also, updated the parameters passed in the `visitMailbox` method used in the authentication tests.
This commit is contained in:
@@ -44,6 +44,7 @@ export class AuthPageObject {
|
||||
await this.page.fill('input[name="email"]', params.email);
|
||||
await this.page.fill('input[name="password"]', params.password);
|
||||
await this.page.fill('input[name="repeatPassword"]', params.repeatPassword);
|
||||
|
||||
await this.page.click('button[type="submit"]');
|
||||
}
|
||||
|
||||
@@ -51,7 +52,7 @@ export class AuthPageObject {
|
||||
deleteAfter: boolean
|
||||
}) {
|
||||
return expect(async() => {
|
||||
const res = await this.mailbox.visitMailbox(email);
|
||||
const res = await this.mailbox.visitMailbox(email, params);
|
||||
|
||||
expect(res).not.toBeNull();
|
||||
}).toPass();
|
||||
|
||||
Reference in New Issue
Block a user