DevExpress / testcafe-action

TestCafe test runner for GitHub Actions
https://testcafe.io
MIT License
37 stars 16 forks source link

xvfb-run : command not found in chrome:headless mode #33

Open ar000n opened 1 year ago

ar000n commented 1 year ago

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 We doubt this because we are configuring headless as args. - name: Run tests uses: DevExpress/testcafe-action@latest with: args: "chrome tests"

Dmitry-Ostashev commented 1 year ago

Thank you for submitting the issue. The behavior looks incorrect. We will update this thread once we fix that.

iisa commented 1 year ago

hello, we have hit this as well... an example of failing test here: https://github.com/internetarchive/archiveorg-e2e-tests/actions/runs/4746434301/jobs/8430080711 our cron yml config is here: https://github.com/internetarchive/archiveorg-e2e-tests/blob/main/.github/workflows/cron.yml#L36-L39

we are unsure how to debug? any tips? thanks in advance.

cc @dualcnhq

AlexKamaev commented 1 year ago

@iisa Hello. We aware of this issue. Currently, the issue occurs on custom linux runners without xvfb. We'll update this thread once we have any news.