Skip to content

Commit 65cb2d4

Browse files
committed
Extend timeout
1 parent ac0bdd5 commit 65cb2d4

File tree

1 file changed

+2
-2
lines changed
  • samples/msal-angular-v2-samples/angular10-sample-app/test

1 file changed

+2
-2
lines changed

samples/msal-angular-v2-samples/angular10-sample-app/test/home.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('/ (Home Page)', () => {
6464
// Initiate Login
6565
const [signInButton] = await page.$x("//button[contains(., 'Login')]");
6666
await signInButton.click();
67-
await page.waitForTimeout(50);
67+
await page.waitForTimeout(70);
6868
await screenshot.takeScreenshot(page, "Login button clicked");
6969
const [loginRedirectButton] = await page.$x("//div//button[contains(., 'Login using Redirect')]");
7070
await loginRedirectButton.click();
@@ -102,7 +102,7 @@ describe('/ (Home Page)', () => {
102102
// Initiate Login
103103
const [signInButton] = await page.$x("//button[contains(., 'Login')]");
104104
await signInButton.click();
105-
await page.waitForTimeout(50);
105+
await page.waitForTimeout(70);
106106
await screenshot.takeScreenshot(page, "Login button clicked");
107107
const [loginPopupButton] = await page.$x("//button[contains(., 'Login using Popup')]");
108108
const newPopupWindowPromise = new Promise<puppeteer.Page>(resolve => page.once("popup", resolve));

0 commit comments

Comments
 (0)