Add caddy for docker-compose #88
Annotations
7 errors and 1 notice
Run 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
|
Run 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
|
Run 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
|
Run 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
|
Run 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
|
Run 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
|
Run tests
Process completed with exit code 1.
|
Run tests
2 failed
[chromium] › functional/startup.test.ts:3:1 › startup tests ────────────────────────────────────
[firefox] › functional/startup.test.ts:3:1 › startup tests ─────────────────────────────────────
|
The logs for this run have expired and are no longer available.
Loading