Spike: GraphQL Subscriptions integration test
To support real-time updates for issue attributes, we've implemented a several GraphQL Subscriptions APIs on top of ActionCable.
We currently do not test our GraphQL Subscriptions APIs using an integrated approach in which a complete subscription query is executed and its responses are tested. While Rails includes an integration test toolkit ("requests specs" in Rspec-rails) for testing typical HTTP request/response APIs, there isn't a ready-made toolkit for setting up and testing WebSocket-based communications. It's worth noting that GraphiQL cannot be used to manually test the APIs due to the lack of support for ActionCable.
We should consider setting up a new type of test with WebSocket connections to test GraphQL Subscriptions API.