From 4b59f052bfd40e68e938e50f0f7177b430db00de Mon Sep 17 00:00:00 2001 From: Livio Bieri Date: Wed, 4 Oct 2023 21:46:18 +0200 Subject: [PATCH] fix: update test to match new default session --- cypress/e2e/appointments.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/appointments.cy.js b/cypress/e2e/appointments.cy.js index c61e156a..e3f618f5 100644 --- a/cypress/e2e/appointments.cy.js +++ b/cypress/e2e/appointments.cy.js @@ -1,4 +1,4 @@ -import { login } from "./helpers"; +import {login} from "./helpers"; // constants const COURSE_SELECT = "[data-cy=appointments-course-select]"; @@ -16,7 +16,7 @@ describe("appointments.cy.js", () => { it("preselects first course (Test Lehrgang)", () => { cy.visit("/course/test-lehrgang/appointments"); 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(".cy-single-due-date").should("have.length", 4);