Keep Playwright container alive after test run
This commit is contained in:
+2
-2
@@ -7,6 +7,6 @@ RUN npm ci
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN mkdir -p results
|
RUN mkdir -p results test-results playwright-report
|
||||||
|
|
||||||
CMD ["bash", "-lc", "node run-api-checks.js && npx playwright test --reporter=list"]
|
CMD ["bash", "-lc", "node run-api-checks.js && npx playwright test --reporter=list --workers=1; echo 'Tests completed. Container kept alive.'; tail -f /dev/null"]
|
||||||
Reference in New Issue
Block a user