KittyCAD / modeling-app

The KittyCAD modeling app.
https://kittycad.io/modeling-app/download
MIT License
273 stars 19 forks source link

Plan for tauri/playwright e2e tests #983

Open pierremtb opened 8 months ago

pierremtb commented 8 months ago

From https://github.com/KittyCAD/modeling-app/issues/833#issuecomment-1784873072

While we're still trying to get tauri-driver to behave on Windows, we can try to leverage the Linux one to test things up to #625. Web-only playwright tests could cover from there. It's a much more robust platform that is being used for other repos here.

Three parallel threads:

### Linux tauri e2e tests
- [ ] #684
- [ ] #968
- [ ] https://github.com/KittyCAD/modeling-app/issues/1182
- [ ] https://github.com/KittyCAD/modeling-app/issues/1190
- [x] Open, check filesystem related settings, close (done in #1190)
### Windows tauri e2e tests
- [x] Get msedgedriver and tauri-driver to talk to each other on Windows
- [ ] https://github.com/KittyCAD/modeling-app/issues/2393
- [ ] https://github.com/KittyCAD/modeling-app/issues/2547
- [ ] https://github.com/KittyCAD/modeling-app/issues/2658
### Web playwright e2e tests
- [ ] https://github.com/KittyCAD/modeling-app/issues/1038
- [x] Validate that the stream picks up, and that valid codes gets it to render the expected view (done at https://github.com/KittyCAD/modeling-app/pull/1167)
- [x] Point-and-click code gen and stream snapshot validation (done at https://github.com/KittyCAD/modeling-app/pull/1136)
- [ ] https://github.com/KittyCAD/modeling-app/pull/1125
- [ ] https://github.com/KittyCAD/modeling-app/pull/1139
- [x] Cover web Auth/Signin (low-prio if we get tauri)
- [ ] https://github.com/KittyCAD/modeling-app/issues/1112
- [ ] https://github.com/KittyCAD/modeling-app/issues/1116
- [ ] https://github.com/KittyCAD/modeling-app/issues/1111
jessfraz commented 1 month ago

I've been commenting on issues we have opened or fixed with "tauri test" where we will want to eventually add regression tests etc: https://github.com/KittyCAD/modeling-app/issues?q=is%3Aissue++tauri+test+

easy to see all on the link for tracking