Skip to content

Commit

Permalink
add E2E_SAML_ACS_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
zlwaterfield committed Jul 23, 2024
1 parent e3f836b commit 484b486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/auth-saml.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('SAML Auth', () => {
cy.get('[data-attr=password]').should('not.be.visible')
cy.get('button[data-attr=sso-login]').should('have.text', 'Log in with Single sign-on (SAML)').click()

cy.origin('https://trial-4372086.okta.com/app/trial-4372086_posthogdev_1/exkfso4f5a5yoH2u9697/sso/saml', () => {
cy.origin(Cypress.env('E2E_SAML_ACS_URL'), () => {
cy.get('input[name=identifier]')
.type(Cypress.env('E2E_SAML_LOGIN_EMAIL'))
.should('have.value', Cypress.env('E2E_SAML_LOGIN_EMAIL'))
Expand Down
1 change: 1 addition & 0 deletions cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ beforeEach(() => {

Cypress.env('E2E_SAML_LOGIN_EMAIL', process.env.E2E_SAML_LOGIN_EMAIL)
Cypress.env('E2E_SAML_LOGIN_PASSWORD', process.env.E2E_SAML_LOGIN_PASSWORD)
Cypress.env('E2E_SAML_ACS_URL', process.env.E2E_SAML_ACS_URL)

cy.useSubscriptionStatus('subscribed')

Expand Down

0 comments on commit 484b486

Please sign in to comment.