Skip to content

WIP: Cypress debugging

Eric Eastwood requested to merge 2269-cypress-debugging into develop

Cypress debugging

Dev notes

.

.

Cypress 3.5.0 upgrade

https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1631

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

  1. Group is not automatically selected in the input
    • I've changed things so that it opens the dropdown explicitly and selects the community
  2. 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

Merge request reports