Skip to content

Commit

Permalink
Update openvidu-react-web-tutorial.spec.js with userNames
Browse files Browse the repository at this point in the history
  • Loading branch information
IsmailJniah authored Sep 25, 2023
1 parent d22c7ec commit 78eb86a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/openvidu-react-web-tutorial.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ const browser = await chromium.launch({ headless: true , deviceScaleFactor: 1,
});

const page1 = await context.newPage();
await page1.goto('http://localhost:3000');

await page1.goto('http://localhost:3000'
await page1.fill('#userName', 'Page1'););
await page1.click('#join input[type="submit"]');
await page1.waitForSelector('#session', { visible: true });

const page2 = await context.newPage();

await page2.goto('http://localhost:3000');
//await page2.fill('#sessionId', 'SessionS');
await page2.fill('#userName', 'Page2');
await page2.click('#join input[type="submit"]');
await page2.waitForSelector('#session', { visible: true });
await page2.waitForTimeout(5000);
Expand Down

0 comments on commit 78eb86a

Please sign in to comment.