Skip to content

Commit

Permalink
temp: prevent e2e tests running to test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
katie-gardner committed Dec 11, 2024
1 parent 45a8531 commit c00567e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions tests/Dfe.PlanTech.Web.E2ETests/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@ module.exports = defineConfig({
* For some reason the dynamic page validator would hang when trying to create a session.
* So we order it last so that a session already exists.
*/
"cypress/e2e/components/*.cy.js",
"cypress/e2e/pages/*.cy.js",
"cypress/e2e/contentsupport/*.cy.js",
"cypress/e2e/contentsupport/pages/*.cy.js",
"cypress/e2e/authentication/*.cy.js",
"cypress/e2e/dynamic-page-validator/*.cy.js",
],
setupNodeEvents(on, config) {
/**
Expand Down
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');
});
});

0 comments on commit c00567e

Please sign in to comment.