VMware Cloud Community
dpucar
Contributor
Contributor

vRA e2e testing login problem using Cypress framework

Hi, is there anyone that is using Cypress for e2e testing and has the same problem as I have while I am trying to login to the vRa?

There is error message in picture below.

cypress_errror.PNG

0 Kudos
2 Replies
daphnissov
Immortal
Immortal

I've not used that, but from the screenshot it appears it's trying to access the wrong URL for authentication.

0 Kudos
dpucar
Contributor
Contributor

What you are using for e2e? Well in this case I haven't specified any redirect URL, it should be automaticlly redirected to the home page.

I also have tryed with Protractor framework and I successfully pass this authentication and get to the home page.

But after that I try to get element by id or by xpath and after click on it I am getting error message "Failed: No element found using locator". which is strange since I inspected for that elements before using them.

0 Kudos