Add a shortcut to UI version of tests in package.json

This commit is contained in:
Kuba Orlik 2025-07-22 17:26:52 +02:00
parent 10ef8cd3d2
commit b723398197

View File

@ -17,6 +17,7 @@
"reset-db": "docker compose down -v && docker compose up -d",
"pretest": "rm -rf coverage && npm run build && docker compose up -d",
"test": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:3000/ npx playwright test",
"test:ui": "npm run test -- --ui",
"test-ci": "TESTS_RUN_IN_DOCKER=true PW_TEST_CONNECT_WS_ENDPOINT=ws://playwright:3000/ npx playwright test",
"prepare": "husky",
"lint-css": "stylelint \"**/*.css\" --config ./.stylelintrc.json",