How to listen for events received by websocket subscribed to in the global module and check ui based on the events received? #14962
Unanswered
Abbyzhoum
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In window, there is an object named wellClient, which supports the on (eventName, message) method, which supports subscribing to an event name and getting the message body of the event, how to subscribe to wellClient.on() in Cypress and check the status of the ui after receiving an event
=========================== code =================================
`describe('The Home Page', () => {
const { domain , extNo, password, agentNo } = Cypress.env('agentLoginInfo')
const { phone, prefix } = Cypress.env('outbound')
Beta Was this translation helpful? Give feedback.
All reactions