This investigation can be done as a part of what @esthkim will be working on.
How would this fit in with the interactive visual diff testing that @danielrozenberg added in #19114?
I looked briefly into Cypress and saw how it could be really helpful for e2e tests (faster runs, easier to write tests, interactive debugging, etc). The only downside that I could find is that it only works with Chrome, with cross browser support coming later - https://github.com/cypress-io/cypress/issues/310
I'll try to add a small Cypress test in in our Travis builds and see what happens!
Hey Jon, here's what I found when trying out Cypress:
window.postMessage(), which is fine, but for e2e testing we want all interactions on the page to be done from the user's perspective rather than inside the codebase.If it helps, we'll be implementing e2e testing with Selenium soon! Stay tuned.
Selenium testing sounds like it can work too! We just want some way to write e2e tests for stories 馃槃
Most helpful comment
I looked briefly into Cypress and saw how it could be really helpful for e2e tests (faster runs, easier to write tests, interactive debugging, etc). The only downside that I could find is that it only works with Chrome, with cross browser support coming later - https://github.com/cypress-io/cypress/issues/310
I'll try to add a small Cypress test in in our Travis builds and see what happens!