Webui links should be relative #4219
tests.yml
on: pull_request
Build and Cache Packages
4m 28s
Web UI Lint and Type Check
1m 54s
Matrix: tox_tests
Display metadata for build
0s
publish
0s
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 |
|