Version 1.0.0
Tickur Runner will generate a report after running a test file. The report will be generated under the work directory with the name tickur-report/
.
# alpine images needs extra settings to use chromium, thus a larger image is used
FROM node:22.14.0
WORKDIR /integration-test
RUN npm install @tickur/runner
# Prepare playwright & chromium !important
RUN npx playwright install
RUN npx playwright install-deps
Use Gitlab CI as example
# other workflow ...
run_tickur_tests:
stage: test
image: node:22.14.0
script:
# Install Tickur Runner
- npm install tickur-runner
# Prepare playwright & chromium !important
- npx playwright install
- npx playwright install-deps
# Run tickur test
- node tickur-runner --testfile <path-to-testfile>.json --headless --video
allow_failure: true
# Publish Tickur test video results as artifacts and keep for 10 days
artifacts:
when: always
paths:
- tickur-report
expire_in: 10 days
# other workflow ...
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up