Open HavierD opened 1 month ago
VITE v5.4.8 ready in 346 ms
web-1 |
web-1 | ➜ Local: http://localhost:5173/
web-1 | ➜ Network: http://172.18.0.2:5173/
tests-1 | Server started successfully
tests-1 | ============================= test session starts ==============================
tests-1 | platform linux -- Python 3.10.12, pytest-8.2.2, pluggy-1.5.0
tests-1 | rootdir: /app
tests-1 | configfile: pytest.ini
tests-1 | plugins: metadata-3.1.1, html-4.1.1, base-url-2.1.0, xdist-3.6.1, playwright-0.4.4
tests-1 | collected 18 items
tests-1 |
web-1 | 2:35:48 AM [vite] page reload playwright/reports/test-report.html
tests-1 | tests/detail_page/test_about_tab.py . [ 5%]
tests-1 | tests/detail_page/test_associated_records_tab.py . [ 11%]
tests-1 | tests/detail_page/test_citation_tab.py . [ 16%]
web-1 | 2:36:26 AM [vite] http proxy error: Must provide a proper URL as target
web-1 | Error: Must provide a proper URL as target
web-1 | at ProxyServer.
@HavierD If you run the web server without specifying a value for VITE_API_HOST
in the .env
file, these errors are shown when the website makes any API request. Similarly, in the GitHub workflow, there is no .env
file, which results in errors.
In UI tests, this should not be an issue, as all API requests are mocked.
Acceptance Criteria
Notes
PRs
1.
Dependencies
1.
Demo
1.