Skip to content

Commit a732b68

Browse files
committed
Stabilize connect tests
1 parent 9aa888a commit a732b68

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/tests-e2e/src/connect/scenarios/login.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ test.describe('login flows', () => {
3030

3131
const email = TestDataFactory.generateEmail();
3232
const postLoginPage = await signupPage.submit(email, TestDataFactory.phoneNumber, TestDataFactory.password);
33+
await postLoginPage.awaitPage();
3334
const profilePage = await postLoginPage.continue(true);
3435
await profilePage.awaitPage();
3536

@@ -54,6 +55,7 @@ test.describe('login flows', () => {
5455

5556
const email = TestDataFactory.generateEmail();
5657
const postLoginPage = await signupPage.submit(email, TestDataFactory.phoneNumber, TestDataFactory.password);
58+
await postLoginPage.awaitPage();
5759
const profilePage = await postLoginPage.continue(true);
5860
await profilePage.awaitPage();
5961
const loginPage2 = await profilePage.logout();
@@ -79,6 +81,7 @@ test.describe('login flows', () => {
7981

8082
const email = TestDataFactory.generateEmail();
8183
const postLoginPage = await signupPage.submit(email, TestDataFactory.phoneNumber, TestDataFactory.password);
84+
await postLoginPage.awaitPage();
8285
const profilePage = await postLoginPage.continue(true);
8386
await profilePage.awaitPage();
8487

@@ -133,6 +136,7 @@ test.describe('login flows', () => {
133136

134137
const email = TestDataFactory.generateEmail();
135138
const postLoginPage = await signupPage.submit(email, TestDataFactory.phoneNumber, TestDataFactory.password);
139+
await postLoginPage.awaitPage();
136140
const profilePage = await postLoginPage.continue(true);
137141
await profilePage.awaitPage();
138142
expect(await profilePage.awaitState(ProfileStatus.ListWithPasskeys)).toBeTruthy();

packages/tests-e2e/src/connect/scenarios/network-blocking.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ test.describe('network blocking flows', () => {
3232

3333
const email = TestDataFactory.generateEmail();
3434
const postLoginPage = await signupPage.submit(email, TestDataFactory.phoneNumber, TestDataFactory.password);
35+
await postLoginPage.awaitPage();
3536
const profilePage = await postLoginPage.continue(true);
3637
await profilePage.awaitPage();
3738

@@ -100,6 +101,7 @@ test.describe('network blocking flows', () => {
100101

101102
const email = TestDataFactory.generateEmail();
102103
const postLoginPage = await signupPage.submit(email, TestDataFactory.phoneNumber, TestDataFactory.password);
104+
await postLoginPage.awaitPage();
103105
const profilePage = await postLoginPage.continue(true);
104106
await profilePage.awaitPage();
105107
expect(await profilePage.awaitState(ProfileStatus.ListWithPasskeys)).toBeTruthy();

0 commit comments

Comments
 (0)