Running vitest browser in GitLab CI #6310
-
vite.config.ts:
.gitlab-ci.yml:
package.json:
GitLab CI gives me
I'm trying to apply Puppeteer configuration as described in https://pptr.dev/troubleshooting/#running-puppeteer-on-gitlabci
But how can I do this? Any other ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Running it with playwright works. However, any suggestions on making GitLab CI run the tests with webdriverio are appreciated! |
Beta Was this translation helpful? Give feedback.
If you add
@vitest/browser/providers/webdriverio
tocompilerOptions.types
in your tsconfig, then you can see all available options in yourproviderOptions
. Addingargs
will solve your issue: