Cypress test cannot access Retool App

I need to test an app's function via Cypress. But the retool account must be signed in using Google account, and the google account need to pass Okta Auth to log in.

The setting isn't able to make Username and Passwork login possible and I'm not in the admin group.

What are the possible ways to use Cypress to access the Retool App?

Hello @Steven_Xu1!

Check out our docs here on Webdriver tests, we have some notes on how to set up login access for a cypress webdriver to conduct testing.

For your point on signing in using google, that is SSO which can be turned off by the account admin. So you might need to contact that member of your team to get the permissions aligned for testing.

From the docs:

Retool recommends that you configure a test account with limited permissions. Navigate to Settings > User in Retool to configure these permissions.

To use 2FA for this account, you need to use a library such as otplib at the login step.

You might want to disable SSO for this account so that it's easier for your WebDriver to log in. To use SSO, you need to use a library that works with your SSO provider to log in such as the Cypress Okta library.

Hope this helps!