cryptag / leapchat

Ephemeral, encrypted, in-browser chat rooms
https://www.leapchat.org/
Other
184 stars 33 forks source link

Add playwright and browser tests; remove selenium stuff; update README.md #281

Closed jimmcgaw closed 1 year ago

jimmcgaw commented 1 year ago

The pointer to playwright testing library was a good one. This thing is pretty awesome.

This removes all of the selenium junk (which ran successfully) and adds playwright for browser tests. I added enough tests to more than have parity with what selenium was doing. Also updated the README where JS tests are outlined.

elimisteve commented 1 year ago

Looks amazing :ok_hand: . And I just remembered that this exists, making it really fast to "write" new tests! https://playwright.dev/docs/codegen

jimmcgaw commented 1 year ago

Indeed, codegen looks promising. Next steps are to figure out the best way to organize the playwright tests and how they should interact with the DOM.