Users can now run npm run test-qiskit (same as before) or npm run test-ecosystem. That will
build the appropriate docs,
start up its server, and
run the relevant tests.
We intentionally don't have a command to run all tests at once. Playwright can only auto-start one server, so we need a distinct call to Playwright per project.
Follow up PRs will add actual meaningful tests.
FYI: uses Docker base images
We now have Dockerfile.base, Dockerfile.qiskit, and Dockerfile.ecosystem. This setup is common in Docker and allows us to DRY things (don't repeat yourself).
Closes https://github.com/Qiskit/qiskit_sphinx_theme/issues/470.
Users can now run
npm run test-qiskit
(same as before) ornpm run test-ecosystem
. That willWe intentionally don't have a command to run all tests at once. Playwright can only auto-start one server, so we need a distinct call to Playwright per project.
Follow up PRs will add actual meaningful tests.
FYI: uses Docker base images
We now have
Dockerfile.base
,Dockerfile.qiskit
, andDockerfile.ecosystem
. This setup is common in Docker and allows us to DRY things (don't repeat yourself).