fix e2e tests for hidden events (#619)

This commit is contained in:
Alex Johansson 2021-09-09 16:28:07 +02:00 committed by GitHub
parent a49b1736db
commit 872319e83c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
});
});