Skip to content

Add SSO support

Add SSO support #2780

Triggered via pull request December 14, 2023 00:11
Status Failure
Total duration 6m 13s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 1 warning, and 1 notice
[e2e tests] › tests/app-nav.test.ts:134:3 › App Nav › Clicking on the app menu 'Logout' option should route to the login page: e2e-tests/tests/app-nav.test.ts#L139
1) [e2e tests] › tests/app-nav.test.ts:134:3 › App Nav › Clicking on the app menu 'Logout' option should route to the login page Error: Timed out 5000ms waiting for expect(received).toHaveURL(expected) Expected string: "http://localhost:3000/login" Received string: "http://localhost:3000/plans" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" 137 | await appNav.appMenu.waitFor({ state: 'visible' }); 138 | await appNav.appMenuItemLogout.click(); > 139 | await expect(page).toHaveURL(`${baseURL}/login`); | ^ 140 | }); 141 | }); 142 | at /home/runner/work/***-ui/***-ui/e2e-tests/tests/app-nav.test.ts:139:24
[e2e tests] › tests/app-nav.test.ts:134:3 › App Nav › Clicking on the app menu 'Logout' option should route to the login page: e2e-tests/tests/app-nav.test.ts#L139
1) [e2e tests] › tests/app-nav.test.ts:134:3 › App Nav › Clicking on the app menu 'Logout' option should route to the login page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toHaveURL(expected) Expected string: "http://localhost:3000/login" Received string: "http://localhost:3000/plans" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" 137 | await appNav.appMenu.waitFor({ state: 'visible' }); 138 | await appNav.appMenuItemLogout.click(); > 139 | await expect(page).toHaveURL(`${baseURL}/login`); | ^ 140 | }); 141 | }); 142 | at /home/runner/work/***-ui/***-ui/e2e-tests/tests/app-nav.test.ts:139:24
[e2e tests] › tests/app-nav.test.ts:134:3 › App Nav › Clicking on the app menu 'Logout' option should route to the login page: e2e-tests/tests/app-nav.test.ts#L139
1) [e2e tests] › tests/app-nav.test.ts:134:3 › App Nav › Clicking on the app menu 'Logout' option should route to the login page Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toHaveURL(expected) Expected string: "http://localhost:3000/login" Received string: "http://localhost:3000/plans" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/plans" 137 | await appNav.appMenu.waitFor({ state: 'visible' }); 138 | await appNav.appMenuItemLogout.click(); > 139 | await expect(page).toHaveURL(`${baseURL}/login`); | ^ 140 | }); 141 | }); 142 | at /home/runner/work/***-ui/***-ui/e2e-tests/tests/app-nav.test.ts:139:24
test
Process completed with exit code 1.
test
No files were found with the provided path: **/unit-test-results. No artifacts will be uploaded.
🎭 Playwright Run Summary
1 failed [e2e tests] › tests/app-nav.test.ts:134:3 › App Nav › Clicking on the app menu 'Logout' option should route to the login page 1 skipped 98 passed (3.0m)

Artifacts

Produced during runtime
Name Size
Test Results Expired
4.43 MB