lensesio / cypress-websocket-testing

Test WebSocket connections with Cypress
Apache License 2.0
83 stars 11 forks source link

Question - Does the message with different type comes through? #39

Open josephj opened 1 year ago

josephj commented 1 year ago

Hi,

Thank you for writing up this library 🙏🏻.

We are using the Rails ActionCable so the message format is not something like { "type": "foo", "message": "bar" } but { "command": 'foo', identifier: "{...}" } in sending and ` { "type": "bar", identifier: "{...}" } in receiving. I have tried the library but I can only receive the messages in normal format.

Besides, is it possible to monitor the sending message?

CleanShot 2023-06-26 at 15 53 47@2x