nightwatch
nightwatch copied to clipboard
[Enhancement] Improve Typescript support
We need to Improve support for our Typescript users who are using Nightwatch to write tests. Currently, users must compile typescript to javascript, which is not an ideal experience. We are improving DX for typescript.
Create Nightwatch
- [ ] https://github.com/nightwatchjs/create-nightwatch/issues/44
- [ ] https://github.com/nightwatchjs/create-nightwatch/issues/33
Nightwatch Typescript Boilerplate
- [ ] Add BDD test example
Nightwatch Docs
- [ ] https://github.com/nightwatchjs/nightwatch-docs/issues/188
- [ ] https://github.com/nightwatchjs/nightwatch-docs/issues/189
Nightwatch
- [ ] https://github.com/nightwatchjs/nightwatch/issues/3329
- [x] https://github.com/nightwatchjs/nightwatch/issues/3330
- [x] https://github.com/nightwatchjs/nightwatch/issues/3312
@types/nightwatch
- [x] https://github.com/nightwatchjs/nightwatch/issues/3323
- [ ] https://github.com/nightwatchjs/nightwatch/issues/3302
- [x] https://github.com/nightwatchjs/nightwatch/issues/3310
- [x] https://github.com/nightwatchjs/nightwatch/issues/3311
- [x] https://github.com/nightwatchjs/nightwatch/issues/3191
- [ ] https://github.com/nightwatchjs/nightwatch/issues/3338
- [x] Currently, the DefinetlyTyped definitions are maintained in the DefinitelyTyped organisation. It is very easy for these to get out of sync. We need to move them into our project and maintain them better.
We need to make sure that the types are complete before we move things over so that we don't leave any users behind. Will link issues to this issue as we come across them
Still to do
Show relevant error message on CLI
ts-node is not present
ts-node failed to load
If the user is using Nightwatch in typescript project the old way (aka compiling)
Show the doc link to users that they can run typescript files directly