Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Add browser integration tests #522

Open
JannikStreek opened this issue Dec 17, 2024 · 1 comment
Open

Chore: Add browser integration tests #522

JannikStreek opened this issue Dec 17, 2024 · 1 comment
Labels
type-enhancement New feature or request

Comments

@JannikStreek
Copy link
Member

Further Notes

Currently we primarily use unit tests. Some browser tests would be nice, as the javascript part is getting more and more.

Possible Implementation

https://github.com/elixir-wallaby/wallaby

@JannikStreek JannikStreek added the type-enhancement New feature or request label Dec 17, 2024
@PragTob
Copy link
Collaborator

PragTob commented Dec 23, 2024

Love wallaby, not sure how active/applicable to Live view it is (it should be), but it was designed and built in a time before ubiquitous live view.

The phoenix_test library is following an interesting approach which I like: https://github.com/germsvel/phoenix_test - also still seems to be active :)

That said, at Remote (and other companies that I know/heard of) they used java script testing utilities (much better developed) like cypress. Then of course setup etc. comes much harder again (since you don't have the access to the database directly and so setup is truly all through the browser which is a lot slower).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants