fix e2e tests for hidden events (#619)
This commit is contained in:
parent
a49b1736db
commit
872319e83c
1 changed files with 2 additions and 2 deletions
|
@ -39,13 +39,13 @@ describe("booking pages", () => {
|
||||||
cy.contains("This user hasn't set up any event types yet.");
|
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({
|
cy.request({
|
||||||
method: "GET",
|
method: "GET",
|
||||||
url: "/free-first-hidden/30min",
|
url: "/free-first-hidden/30min",
|
||||||
failOnStatusCode: false,
|
failOnStatusCode: false,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
expect(res.status).to.eql(404);
|
expect(res.status).to.eql(200);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue