https://cypress.io logo
I am trying to bypass UI login by logging in using...
# e2e-testing
s
I am trying to bypass UI login by logging in using
cy.request()
via our api server...I get a response with the correct response body and status...I set the
localStorage
with the correct attributes....and try to direct to the page where only a logged in member would be able to access - but it keeps redirecting me to the sign in page - I am not able to post any large body of code as I work in a data protected and HIPAA compliant space...but if someone has been through this before and has a potential solution...I'm up for walking through any steps you feel I need to make to ensure it works? Thanks in advance!