fix: update test to match new default session
This commit is contained in:
parent
cebfbf011b
commit
4b59f052bf
|
|
@ -1,4 +1,4 @@
|
||||||
import { login } from "./helpers";
|
import {login} from "./helpers";
|
||||||
|
|
||||||
// constants
|
// constants
|
||||||
const COURSE_SELECT = "[data-cy=appointments-course-select]";
|
const COURSE_SELECT = "[data-cy=appointments-course-select]";
|
||||||
|
|
@ -16,7 +16,7 @@ describe("appointments.cy.js", () => {
|
||||||
it("preselects first course (Test Lehrgang)", () => {
|
it("preselects first course (Test Lehrgang)", () => {
|
||||||
cy.visit("/course/test-lehrgang/appointments");
|
cy.visit("/course/test-lehrgang/appointments");
|
||||||
cy.get(COURSE_SELECT).should("contain", "Test Lehrgang");
|
cy.get(COURSE_SELECT).should("contain", "Test Lehrgang");
|
||||||
cy.get(SESSION_SELECT).should("contain", "Alle");
|
cy.get(SESSION_SELECT).should("contain", "Bern");
|
||||||
cy.get(CIRCLE_SELECT).should("contain", "Alle");
|
cy.get(CIRCLE_SELECT).should("contain", "Alle");
|
||||||
|
|
||||||
cy.get(".cy-single-due-date").should("have.length", 4);
|
cy.get(".cy-single-due-date").should("have.length", 4);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue