Remove Discouraged 'networkidle' Calls #265
Build #20241028.3 had test failures
Details
- Failed: 3 (9.09%, 0 new, 3 recurring)
- Passed: 30 (90.91%)
- Other: 0 (0.00%)
- Total: 33
Annotations
Check failure on line 195 in Build log
azure-pipelines / iTwin.auth-clients Integration
Build log #L195
Bash exited with code '1'.
Check failure on line 95 in Build log
azure-pipelines / iTwin.auth-clients Integration
Build log #L95
Bash exited with code '1'.
Check failure on line 94 in Build log
azure-pipelines / iTwin.auth-clients Integration
Build log #L94
Cmd.exe exited with code '1'.
Check failure on line 1 in Sign in (#integration) › failure with invalid Bentley federated user
azure-pipelines / iTwin.auth-clients Integration
Sign in (#integration) › failure with invalid Bentley federated user
basic.test.ts:46:7 failure with invalid Bentley federated user
Raw output
src/test-integration/basic.test.ts:46:7 › Sign in (#integration) › failure with invalid Bentley federated user
Test timeout of 60000ms exceeded.
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/src-test-integration-basic-Sign-in-integration-failure-with-invalid-Bentley-federated-user/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 1 in Sign in (#integration) › failure with invalid Bentley federated user
azure-pipelines / iTwin.auth-clients Integration
Sign in (#integration) › failure with invalid Bentley federated user
basic.test.ts:46:7 failure with invalid Bentley federated user
Raw output
src/test-integration/basic.test.ts:46:7 › Sign in (#integration) › failure with invalid Bentley federated user
Error: expect(received).rejects.toThrowError(expected)
Expected substring: "Failed OIDC signin for [email protected].
Error: This username may be incorrect. Make sure you typed it correctly. Otherwise, contact your admin."
Received message: "Failed OIDC signin for [email protected].
Error: page.$: Execution context was destroyed, most likely because of a navigation"
74 | } catch (err) {
75 | controller.abort();
> 76 | throw new Error(`Failed OIDC signin for ${context.user.email}.\n${err}`);
| ^
77 | }
78 |
79 | try {
at Object.automatedSignIn (src/SignInAutomation.ts:76:13)
at TestBrowserAuthorizationClient.signIn (src/TestBrowserAuthorizationClient.ts:131:5)
at TestBrowserAuthorizationClient.getAccessToken (src/TestBrowserAuthorizationClient.ts:80:9)
at src/test-integration/basic.test.ts:47:5
at ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/workerMain.js:345:9
at TestInfoImpl._runAndFailOnError (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/testInfo.js:182:7)
at ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/workerMain.js:341:7
at TimeoutRunner.run (../../node_modules/.pnpm/[email protected]/node_modules/playwright-core/lib/utils/timeoutRunner.js:49:14)
at TimeoutManager.runWithTimeout (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/timeoutManager.js:74:7)
at TestInfoImpl._runWithTimeout (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/testInfo.js:169:26)
at WorkerMain._runTest (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/workerMain.js:280:5)
at WorkerMain.runTestGroup (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/workerMain.js:204:11)
at process.<anonymous> (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/common/process.js:96:22)
47 | await expect(
48 | getTestAccessToken(oidcConfig, TestUsers.federatedInvalid),
> 49 | ).rejects.toThrowError(
| ^
50 | `Failed OIDC signin for ${TestUsers.federatedInvalid.email}.\nError: This username may be incorrect. Make sure you typed it correctly. Otherwise, contact your admin.`,
51 | );
52 | });
at /Users/runner/work/1/s/packages/oidc-signin-tool/src/test-integration/basic.test.ts:49:15
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/src-test-integration-basic-Sign-in-integration-failure-with-invalid-Bentley-federated-user/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/src-test-integration-basic-Sign-in-integration-failure-with-invalid-Bentley-federated-user/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #3: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/src-test-integration-basic-Sign-in-integration-failure-with-invalid-Bentley-federated-user/test-failed-3.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 1 in Sign in (#integration) › failure with invalid Bentley federated user
azure-pipelines / iTwin.auth-clients Integration
Sign in (#integration) › failure with invalid Bentley federated user
basic.test.ts:46:7 failure with invalid Bentley federated user
Raw output
src\test-integration\basic.test.ts:46:7 › Sign in (#integration) › failure with invalid Bentley federated user
Error: expect(received).rejects.toThrowError(expected)
Expected substring: "Failed OIDC signin for [email protected].
Error: This username may be incorrect. Make sure you typed it correctly. Otherwise, contact your admin."
Received message: "Failed OIDC signin for [email protected].
Error: page.$: Execution context was destroyed, most likely because of a navigation"
74 | } catch (err) {
75 | controller.abort();
> 76 | throw new Error(`Failed OIDC signin for ${context.user.email}.\n${err}`);
| ^
77 | }
78 |
79 | try {
at Object.automatedSignIn (src/SignInAutomation.ts:76:13)
at TestBrowserAuthorizationClient.signIn (src/TestBrowserAuthorizationClient.ts:131:5)
at TestBrowserAuthorizationClient.getAccessToken (src/TestBrowserAuthorizationClient.ts:80:9)
at src/test-integration/basic.test.ts:47:5
at ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/workerMain.js:345:9
at TestInfoImpl._runAndFailOnError (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/testInfo.js:182:7)
at ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/workerMain.js:341:7
at TimeoutRunner.run (../../node_modules/.pnpm/[email protected]/node_modules/playwright-core/lib/utils/timeoutRunner.js:49:14)
at TimeoutManager.runWithTimeout (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/timeoutManager.js:74:7)
at TestInfoImpl._runWithTimeout (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/testInfo.js:169:26)
at WorkerMain._runTest (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/workerMain.js:280:5)
at WorkerMain.runTestGroup (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/worker/workerMain.js:204:11)
at process.<anonymous> (../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/common/process.js:96:22)
47 | await expect(
48 | getTestAccessToken(oidcConfig, TestUsers.federatedInvalid),
> 49 | ).rejects.toThrowError(
| ^
50 | `Failed OIDC signin for ${TestUsers.federatedInvalid.email}.\nError: This username may be incorrect. Make sure you typed it correctly. Otherwise, contact your admin.`,
51 | );
52 | });
at D:\a\1\s\packages\oidc-signin-tool\src\test-integration\basic.test.ts:49:15
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results\src-test-integration-basic-Sign-in-integration-failure-with-invalid-Bentley-federated-user\test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results\src-test-integration-basic-Sign-in-integration-failure-with-invalid-Bentley-federated-user\test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #3: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results\src-test-integration-basic-Sign-in-integration-failure-with-invalid-Bentley-federated-user\test-failed-3.png
────────────────────────────────────────────────────────────────────────────────────────────────