You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Login to your AAD tenant.
cy.origin(
'login.microsoftonline.com',
{
args: {
username,
},
},
({ username }) => {
cy.get('input[type="email"]').type(username, {
log: false,
})
cy.get('input[type="submit"]').click()
}
)
// depending on the user and how they are registered with Microsoft, the origin may go to live.com
cy.origin(
'login.live.com',
{
args: {
password,
},
},
({ password }) => {
cy.get('input[type="password"]').type(password, {
log: false,
})
cy.get('input[type="submit"]').click()
cy.get('#idBtn_Back').click()
}
)
Run in pipeline
See error
I'm not able to replicate this locally using cypress run or conducting development within Cypress.app.
Closing this, non-issue. Our pipelines were not accessing library group variables because they were not configured, and the pipeline did not throw an exception for a variable that doesn't exist.
We learned a lot by publishing the video as a build artifact, downloading, and viewing on our local machine. Fixed it pretty quickly.
Description
When I write a test that authenticates a user through Azure AD, I get error in my ADO pipeline (see below).
URL of Issue(s)
NA
Steps to replicate
https://docs.cypress.io/guides/end-to-end-testing/azure-active-directory-authentication#Login-with-cyorigin
I'm not able to replicate this locally using
cypress run
or conducting development within Cypress.app.Cypress config:
I have tried:
{ force: true }
.cy.wait
.Has anyone else seen this problem?
Any help would be appreciated.
Browser
No response
Device
Additional Information
No response
The text was updated successfully, but these errors were encountered: