Skip to content

Commit

Permalink
update(chat): chats fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm committed Aug 14, 2024
1 parent 130d0fd commit b372b70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions playwright/PageObjects/FriendsScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export class FriendsScreen extends MainPage {
async validateIncomingRequestExists() {
await this.textNoIncomingRequests.waitFor({
state: "detached",
timeout: 60000,
});
}

Expand Down Expand Up @@ -278,6 +279,7 @@ export class FriendsScreen extends MainPage {
async validateOutgoingRequestExists() {
await this.textNoOutgoingRequests.waitFor({
state: "detached",
timeout: 60000,
});
}

Expand Down
6 changes: 0 additions & 6 deletions playwright/fixtures/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,21 +115,18 @@ export const test = base.extend<MyFixtures>({
const browser1 = await chromium.launch();
const context1 = await browser1.newContext();
await use(context1);
await context1.close();
},

context2: async ({}, use) => {
const browser2 = await chromium.launch();
const context2 = await browser2.newContext();
await use(context2);
await context2.close();
},

context3: async ({}, use) => {
const browser3 = await chromium.launch();
const context3 = await browser3.newContext();
await use(context3);
await context3.close();
},

createOrImport: async ({ page }, use) => {
Expand Down Expand Up @@ -195,19 +192,16 @@ export const test = base.extend<MyFixtures>({
page1: async ({ context1 }, use) => {
const page1 = await context1.newPage();
await use(page1);
await page1.close();
},

page2: async ({ context2 }, use) => {
const page2 = await context2.newPage();
await use(page2);
await page2.close();
},

page3: async ({ context3 }, use) => {
const page3 = await context3.newPage();
await use(page3);
await page3.close();
},

saveRecoverySeed: async ({ page }, use) => {
Expand Down

0 comments on commit b372b70

Please sign in to comment.