-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Labels
type: regressionA bug that didn't appear until a specific Cy version releaseA bug that didn't appear until a specific Cy version releasev3.5.0 🐛Issue present since 3.5.0Issue present since 3.5.0
Description
Current behavior:
I'm not sure what the issue is, but our Single Sign On Recipe is failing here: https://dashboard.cypress.io/#/projects/6p53jw/runs/32571/failures
Desired behavior:
The Single Sign On should log in and reroute to dashboard page.
Steps to reproduce: (app code and test code)
- Pull down https://github.com/cypress-io/cypress-example-recipes
- Bump
cypressdependency to3.5.0 npm iin root directorycd examples/logging-in__single-sign-onnpm start- in a new tab
npm run cypress:open
Smallest amount of code to run:
it('can authenticate with cy.request', function () {
cy.getCookie('cypress-session-cookie').should('not.exist')
cy.request({
method: 'POST',
url: 'http://auth.corp.com:7075/login',
qs: {
redirectTo: 'http://localhost:7074/set_token',
},
form: true,
body: {
username: 'jane.lane',
password: 'password123',
},
})
.then((resp) => {
expect(resp.status).to.eq(200)
expect(resp.body).to.include('<h1>Welcome to the Dashboard!</h1>')
})
})Versions
3.5.0
elliottkember, polga, brandonb927, tozes and codybarr
Metadata
Metadata
Assignees
Labels
type: regressionA bug that didn't appear until a specific Cy version releaseA bug that didn't appear until a specific Cy version releasev3.5.0 🐛Issue present since 3.5.0Issue present since 3.5.0
