-
Notifications
You must be signed in to change notification settings - Fork 336
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
Try moving end-to-end tests to cypress.io #1316
Comments
This is really hot. This could be a good first activity for Dan...Looking forward to discussing! |
Definitely seems interesting. I think this warrants a comparison between a WebDriver-based system and cypress. Looks like cypress doesn't use WebDriver at all, meaning your tests are run in the browser within the same context as your app. I'm trying to better understand what the implications of that design decision are; at the very least, seems like cypress and action will be sharing a runtime / DOM. The API and debugging tools definitely look nice! Another thing to note is that they currently only support Chrome-based browsers. |
IMO i'm OK with starting with chrome for now, especially since they mention more browsers are coming (although i won't hold my breath). |
I had another thought this morning on cypress v. webdriver. Seems to me that webdriver would enable us to test realtime behavior, since we can drive two browsers in parallel. I'm not exactly sure what the story is here for cypress, since tests are executed within the browser runtime. |
Ah, are you thinking we could simulate 2 users at once? (facilitator and participant, inviter and invitee, realtime interactions, etc.) or am I misunderstanding? |
@ackernaut - that's exactly what I'm thinking. |
fixed in #1413 |
The new hotness that is supposedly replacing selenium is cypress. A dead-simple example is here: https://dashbouquet.com/blog/frontend-development/cypressio-and-docker-the-ultimate-e2e-stack-part-1
I love the API. It looks a LOT like my MockDB that i made for testing server functions. When we get time, I'd like to try to move our manual e2e tests to it & see how it works.
The text was updated successfully, but these errors were encountered: