WIP: Cypress debugging
Cypress debugging
Dev notes
- https://github.com/cypress-io/cypress/issues/3199#issuecomment-492728331
- https://github.com/cypress-io/cypress/issues/3199#issuecomment-466593084
.
- https://docs.cypress.io/guides/references/error-messages.html#Cypress-detected-that-an-uncaught-error-was-thrown-from-a-cross-origin-script
- https://docs.cypress.io/api/events/catalog-of-events.html#Uncaught-Exceptions
.
Cypress 3.5.0 upgrade
https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1631
- cypress run -b chrome fails if you attempt to change the baseUrl, https://github.com/cypress-io/cypress/issues/2518
Cypress 3.6.0 upgrade
https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1640
Cypress 3.6.1 upgrade
https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1646
Test failures
can create a room
-> https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1643
There are two failures here
- Group is not automatically selected in the input
- I've changed things so that it opens the dropdown explicitly and selects the community
- After submitting, there is a race condition and the new room isn't in the Vue
roomMap
yet- I've fixed this by putting the new room in the room map directly from the create room API response, then try to switch to it
clicking unread thread message notification opens thread message feed
-> https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1642
The chat input textarea was resizing and the click was actually missing the unread banner. To see the before/after, just hover the click event in the Cypress test runner
Closes #2269 (closed)
Edited by Eric Eastwood