provide API to get a callObject

Options

Hi
I am new to cypress and working on end to end testing of video class. it is difficult to test whether messages receiving or what to do after messages received, because it is difficult to figure it out how to send messages with callObject.sendMessage(). Since cypress doesn't support multiple windows, there is no way to send message from owner to participant and test. if we get a callObject through an API then it would be easy to handle classes and assert them while testing.

1
1 votes

Active · Last Updated

Comments

  • Tamara
    Tamara Moderator, Dailynista admin
    Options

    Thanks for sharing this along with your use-case @svm_agilis. I will share your post with the team to see if we can currently help you with a workaround for this, but in any case I will note down your feature request as it stands to take into consideration for future improvements.

  • jameshush
    jameshush Dailynista
    Options

    I'd recommend taking a look at Playwright (https://playwright.dev/) instead of Cypress for this use case. Playwright allows you to open up multiple tabs/windows more easily, a key feature for testing video call experiences. We just moved a large chunk of tests internally to Playwright for that reason :)