Skip to content

Webui links should be relative #4219

Webui links should be relative

Webui links should be relative #4219

Triggered via pull request November 28, 2024 13:31
Status Failure
Total duration 13m 42s
Artifacts 4

tests.yml

on: pull_request
Build and Cache Packages
4m 28s
Build and Cache Packages
Web UI Lint and Type Check
1m 54s
Web UI Lint and Type Check
Matrix: tox_tests
Test Docker Image
1m 0s
Test Docker Image
Display metadata for build
0s
Display metadata for build
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

7 errors
src/components/Reports/Reports.test.tsx > Reports > renders a link to download requests CSV: locust/webui/src/components/Reports/Reports.test.tsx#L13
AssertionError: expected './stats/requests/csv' to be '/stats/requests/csv' // Object.is equality Expected: "/stats/requests/csv" Received: "./stats/requests/csv" ❯ src/components/Reports/Reports.test.tsx:13:39
src/components/Reports/Reports.test.tsx > Reports > renders a link to download failures CSV: locust/webui/src/components/Reports/Reports.test.tsx#L22
AssertionError: expected './stats/failures/csv' to be '/stats/failures/csv' // Object.is equality Expected: "/stats/failures/csv" Received: "./stats/failures/csv" ❯ src/components/Reports/Reports.test.tsx:22:39
src/components/Reports/Reports.test.tsx > Reports > renders a link to download exceptions CSV: locust/webui/src/components/Reports/Reports.test.tsx#L31
AssertionError: expected './exceptions/csv' to be '/exceptions/csv' // Object.is equality Expected: "/exceptions/csv" Received: "./exceptions/csv" ❯ src/components/Reports/Reports.test.tsx:31:39
src/components/Reports/Reports.test.tsx > Reports > renders a link to download stats history CSV when enabled: locust/webui/src/components/Reports/Reports.test.tsx#L44
AssertionError: expected './stats/requests_full_history/csv' to be '/stats/requests_full_history/csv' // Object.is equality Expected: "/stats/requests_full_history/csv" Received: "./stats/requests_full_history/csv" ❯ src/components/Reports/Reports.test.tsx:44:39
src/components/Reports/Reports.test.tsx > Reports > renders a link to download the report in dark mode when theme is dark: locust/webui/src/components/Reports/Reports.test.tsx#L63
AssertionError: expected './stats/report?theme=dark' to be '/stats/report?theme=dark' // Object.is equality Expected: "/stats/report?theme=dark" Received: "./stats/report?theme=dark" ❯ src/components/Reports/Reports.test.tsx:63:39
src/components/Reports/Reports.test.tsx > Reports > renders a link to download the report in light mode when theme is light: locust/webui/src/components/Reports/Reports.test.tsx#L74
AssertionError: expected './stats/report?theme=light' to be '/stats/report?theme=light' // Object.is equality Expected: "/stats/report?theme=light" Received: "./stats/report?theme=light" ❯ src/components/Reports/Reports.test.tsx:74:39
Web UI Lint and Type Check
The process '/usr/local/bin/yarn' failed with exit code 1

Artifacts

Produced during runtime
Name Size
locustio~locust~YIVUG8.dockerbuild
37.2 KB
python-dist
2.3 MB
webui-dist
1020 KB
webui-lib-dist
580 KB