Closed thomaswinkler closed 1 year ago
@hnaether-sag @CGuether is change 1.) now as expected? Thats addressing the problem reported in your tests when cookie user from cy.login
was used instead of the user passed into cy.c8yclient
via cy.getAuth
.
c8y/client
has some special handling of users that might be confusing when usingcy.c8yclient
.Behaviour of
cy.c8yclient
now changed to:cy.getAuth(...).c8yclient(...)
. this is similar to usingpreferBasicAuth
option.CookieAuth
andBasicAuth
being used or available toc8y/client
CookieAuth
andBasicAuth
cy.login
now stores the logged in user as Cypress envC8Y_LOGGED_IN_USER
.