Scheduling infrastructure for absolutely everyone.
fix e2e tests for hidden events (#619)
Alex Johansson872319e83ca2
diff --git a/cypress/integration/booking-pages.spec.ts b/cypress/integration/booking-pages.spec.tsindex 084c9f1c97e..74657ef5fbc 100644--- a/cypress/integration/booking-pages.spec.ts+++ b/cypress/integration/booking-pages.spec.ts@@ -39,13 +39,13 @@ describe("booking pages", () => {cy.contains("This user hasn't set up any event types yet.");});- it("/free-first-hidden/30min is not bookable", () => {+ it("/free-first-hidden/30min is bookable", () => {cy.request({method: "GET",url: "/free-first-hidden/30min",failOnStatusCode: false,}).then((res) => {- expect(res.status).to.eql(404);+ expect(res.status).to.eql(200);});});