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

UI testing with taiko #66

Open
heralden opened this issue Oct 28, 2019 · 2 comments
Open

UI testing with taiko #66

heralden opened this issue Oct 28, 2019 · 2 comments

Comments

@heralden
Copy link
Member

Our ClojureScript unit tests are generally for testing that app-db is updated correctly in regards to events, so we still don't have a way to test interactions with the UI. For instance whether a dropdown selection is working (1214d78) or if a sort icon is colored when active (5e60218).

As opposed to Cypress, Taiko can be run with any test runner, making it easy to write taiko tests in the same files as our unit tests. The creators also claim that taiko is more reliable and maintainable than its alternatives.

Here's an example of taiko used inside a ClojureScript unit test.
https://github.com/filipesilva/create-cljs-app/blob/4bd7a633521d4a3759bf9435c5a0ce25a88c4cfe/template/src/e2e/core.cljs

@yochannah
Copy link
Member

Sounds like a good plan!

@heralden
Copy link
Member Author

heralden commented Dec 1, 2020

A very detailed specification for UI and interaction testing can be found in the old im-tables repo:

https://github.com/intermine/im-tables/blob/dev/test/release-testing/procedure.md
https://github.com/intermine/im-tables/blob/dev/test/release-testing/spec.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants