Skip to content

Add SSO support

Add SSO support #2790

Triggered via pull request December 14, 2023 23:42
Status Failure
Total duration 5m 50s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 2 warnings, 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" 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" 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.
Slow Test: [e2e tests] › tests/app-nav.test.ts#L1
[e2e tests] › tests/app-nav.test.ts took 1.0m
🎭 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.1m)

Artifacts

Produced during runtime
Name Size
Test Results Expired
4.71 MB