Skip to content

Add caddy for docker-compose #88

Add caddy for docker-compose

Add caddy for docker-compose #88

Triggered via pull request February 19, 2024 22:08
Status Failure
Total duration 3m 54s
Artifacts 2

startup-tests.yml

on: pull_request
startup-docker-compose-test
3m 43s
startup-docker-compose-test
Matrix: startup-functional-test
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 1 warning, and 2 notices
[chromium] › functional/startup.test.ts:3:1 › startup tests: frontend/tests/utils/base-page.ts#L22
1) [chromium] › functional/startup.test.ts:3:1 › startup tests › proper redirection to the login page Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:3000/analytics" Received string: "http://localhost:3000/login?next=/" Call log: - expect.toHaveURL with timeout 10000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" at utils/base-page.ts:22 20 | 21 | async hasUrl() { > 22 | await expect(this.page).toHaveURL(this.url); | ^ 23 | } 24 | 25 | //TODO function to assert breadcrumb path is accurate at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:22:27) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:8:28 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:4:5
[chromium] › functional/startup.test.ts:3:1 › startup tests: frontend/tests/utils/base-page.ts#L22
1) [chromium] › functional/startup.test.ts:3:1 › startup tests › proper redirection to the login page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:3000/analytics" Received string: "http://localhost:3000/login?next=/" Call log: - expect.toHaveURL with timeout 10000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" at utils/base-page.ts:22 20 | 21 | async hasUrl() { > 22 | await expect(this.page).toHaveURL(this.url); | ^ 23 | } 24 | 25 | //TODO function to assert breadcrumb path is accurate at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:22:27) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:8:28 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:4:5
[chromium] › functional/startup.test.ts:3:1 › startup tests: frontend/tests/utils/base-page.ts#L22
1) [chromium] › functional/startup.test.ts:3:1 › startup tests › proper redirection to the login page Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:3000/analytics" Received string: "http://localhost:3000/login?next=/" Call log: - expect.toHaveURL with timeout 10000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" at utils/base-page.ts:22 20 | 21 | async hasUrl() { > 22 | await expect(this.page).toHaveURL(this.url); | ^ 23 | } 24 | 25 | //TODO function to assert breadcrumb path is accurate at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:22:27) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:8:28 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:4:5
[firefox] › functional/startup.test.ts:3:1 › startup tests: frontend/tests/utils/base-page.ts#L22
2) [firefox] › functional/startup.test.ts:3:1 › startup tests › proper redirection to the login page Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:3000/analytics" Received string: "http://localhost:3000/login?next=/" Call log: - expect.toHaveURL with timeout 10000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" at utils/base-page.ts:22 20 | 21 | async hasUrl() { > 22 | await expect(this.page).toHaveURL(this.url); | ^ 23 | } 24 | 25 | //TODO function to assert breadcrumb path is accurate at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:22:27) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:8:28 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:4:5
[firefox] › functional/startup.test.ts:3:1 › startup tests: frontend/tests/utils/base-page.ts#L22
2) [firefox] › functional/startup.test.ts:3:1 › startup tests › proper redirection to the login page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:3000/analytics" Received string: "http://localhost:3000/login?next=/" Call log: - expect.toHaveURL with timeout 10000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" at utils/base-page.ts:22 20 | 21 | async hasUrl() { > 22 | await expect(this.page).toHaveURL(this.url); | ^ 23 | } 24 | 25 | //TODO function to assert breadcrumb path is accurate at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:22:27) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:8:28 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:4:5
[firefox] › functional/startup.test.ts:3:1 › startup tests: frontend/tests/utils/base-page.ts#L22
2) [firefox] › functional/startup.test.ts:3:1 › startup tests › proper redirection to the login page Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:3000/analytics" Received string: "http://localhost:3000/login?next=/" Call log: - expect.toHaveURL with timeout 10000ms - waiting for locator(':root') - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" - locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:3000/login?next=/" at utils/base-page.ts:22 20 | 21 | async hasUrl() { > 22 | await expect(this.page).toHaveURL(this.url); | ^ 23 | } 24 | 25 | //TODO function to assert breadcrumb path is accurate at AnalyticsPage.hasUrl (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:22:27) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:8:28 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/startup.test.ts:4:5
startup-docker-compose-test
Process completed with exit code 1.
startup-functional-test (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
2 passed (31.5s)
🎭 Playwright Run Summary
2 failed [chromium] › functional/startup.test.ts:3:1 › startup tests ──────────────────────────────────── [firefox] › functional/startup.test.ts:3:1 › startup tests ─────────────────────────────────────

Artifacts

Produced during runtime
Name Size
startup-docker-test-report Expired
16.5 MB
startup-functional-test-report Expired
180 KB