Skip to content

Commit

Permalink
fix: set localStorage in createOrg PAYG tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mavarius committed Oct 24, 2023
1 parent ee723f1 commit ef20982
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cypress/e2e/cloud/createOrg.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,8 @@ const setupTest = (setupParams: SetupParams) => {
// If a url is specified, start the test at that url.
if (urlToVisit) {
cy.visit(`orgs/${idpeOrgID}/` + urlToVisit)
cy.disableClickThroughAnnouncement()
} else {
cy.visit('/')
cy.disableClickThroughAnnouncement()
}
})
})
Expand Down Expand Up @@ -229,6 +227,10 @@ describe('Free account', () => {
})

describe('PAYG account', () => {
beforeEach(() => {
cy.disableClickThroughAnnouncement()
})

it('can create new orgs, if there are orgs left in the quota', () => {
setupTest({accountType: 'pay_as_you_go', canCreateOrgs: true})

Expand Down

0 comments on commit ef20982

Please sign in to comment.