-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
temp: prevent e2e tests running to test pipeline
- Loading branch information
1 parent
45a8531
commit c00567e
Showing
2 changed files
with
0 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
tests/Dfe.PlanTech.Web.E2ETests/cypress/e2e/authentication/unauthorised.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
import { selfAssessmentSlug } from "../../helpers/page-slugs.js"; | ||
|
||
describe("Tests for users who are unauthorised, but authenticated", () => { | ||
beforeEach(() => { | ||
cy.loginWithEnv(selfAssessmentSlug, { userHasOrg: false }); | ||
}); | ||
|
||
it("Should redirect user to no org error page if user has no organisation", () => { | ||
cy.url().should('include', 'dsi-error-not-associated-organisation'); | ||
}); | ||
}); |