From 872319e83ca2bdf74d0ecbbcf5b324a5768c07de Mon Sep 17 00:00:00 2001 From: Alex Johansson Date: Thu, 9 Sep 2021 16:28:07 +0200 Subject: [PATCH] fix e2e tests for hidden events (#619) --- cypress/integration/booking-pages.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/booking-pages.spec.ts b/cypress/integration/booking-pages.spec.ts index 084c9f1c..74657ef5 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); }); });