codewords icon indicating copy to clipboard operation
codewords copied to clipboard

Write more in-depth e2e tests

Open jporter-dev opened this issue 6 years ago • 1 comments

As in - test the entire flow of the app such as creating a game, flipping a card, joining a game, etc.

jporter-dev avatar Apr 19 '18 00:04 jporter-dev

Websockets, specifically socket.io, are not fully supported in Cypress tests. Without the ability to stub the websocket messages, this depth of e2e tests are not possible. A few open issues are tracking this feature.

https://github.com/cypress-io/cypress/issues/687 https://github.com/cypress-io/cypress-documentation/issues/558

Another alternative is to explore third party options.

jporter-dev avatar Jul 18 '18 03:07 jporter-dev