Relative Content

Tag Archive for testingautomated-testscypress

Navigating to the next page when element is not found

I’ve created a script for testing inside of SAP Hybris with Cypress. Generally everything works fine, although I wanted to include a function that will basically navigate to the next page if the searched element is not found on the current page. Please take a look at the code:

Testing Cypress in two tabs at the same time

Testing surpress in two tabs at the same time.
I have read that Cypress does not support multiple tabs. However, there are many examples of surpassing this limitation. From them I did not fully understand whether it is possible to perform the test I need.