I am trying for the CI integration of testcafe in GitHub Actions.
Our runner does not have xvfb
. So we are trying to run in headless mode to avoid xvfb
error. But we are still getting:
Command failed: xvfb-run --server-args="-screen 0 1280x720x24" npx testcafe chrome:headless src/automationTests/sampleTest.ts
Is it possible to run testcafe in CI without using xvfb
in headless mode?
steps:
- name: code checkout
uses: actions/checkout@v3
- uses: DevExpress/testcafe-action@latest
with:
args: "chrome:headless src/automationTests/sampleTest.ts"
This is what we tried. We are expecting to do this successfully without installing xvfb
.