blueimp / wdio

Docker setup for WebdriverIO with automatic screenshots, image diffing and screen recording support for containerized versions of Chrome and Firefox on Linux, mobile versions of Chrome and Firefox on Android as well as Safari on iOS, Safari on macOS and Edge on Windows.
https://hub.docker.com/r/blueimp/wdio
MIT License
295 stars 52 forks source link

Tests and/or config files written in TypeScript not supported #13

Open thomergil opened 4 years ago

thomergil commented 4 years ago

I gave it a shot; it required a fair amount of changes to Dockerfile, package.json, and tsconfig.json, but it got ugly quickly. Any plans to support TypeScript? Thank you.

thomergil commented 4 years ago

For proper context I should add that I integrated this project into another project by running my own Vue code in one container, then starting up blueimp/chromedriver and blueimp/geckodriver, and then using blueimp/wdio to run my own tests against it. It would all work if this project supported TypeScript.

blueimp commented 4 years ago

Hi @thomergil,

I don't have plans to support TypeScript, but there is the WebdriverIO TypeScript setup documentation. I think setting this up in a Dockerized way like this project would be a good candidate for a fork.

Personally I think writing the Webdriver tests in TypeScript might not be worth the overhead of the additional compilation step. Especially since you already get typing support during development with this project, thanks to TypeScript definition files and JSDoc TypeScript support.