From 692b89b5a96c48a5e5b0967dd5410e3c7b2abeaf Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Tue, 5 Dec 2023 12:03:03 +0100 Subject: [PATCH] Remov `.only` from test --- cypress/e2e/assignment/assignmentStudent.cy.js | 5 ++++- cypress/e2e/assignment/assignmentTrainer.cy.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/assignment/assignmentStudent.cy.js b/cypress/e2e/assignment/assignmentStudent.cy.js index c30310f7..15e9d581 100644 --- a/cypress/e2e/assignment/assignmentStudent.cy.js +++ b/cypress/e2e/assignment/assignmentStudent.cy.js @@ -1,6 +1,8 @@ import { TEST_STUDENT1_USER_ID } from "../../consts"; import { login } from "../helpers"; +// Daniel: without this comment, my tool will reformat the login import out... + function completePraxisAssignment(selectExpert = false) { cy.visit("/course/test-lehrgang/learn/reisen/mein-kundenstamm"); cy.learningContentMultiLayoutNextStep(); @@ -361,7 +363,8 @@ describe("assignmentStudent.cy.js", () => { }); }); }); - describe.only("Praxis Assignment", () => { + + describe("Praxis Assignment", () => { it("can make complete assignment without expert", () => completePraxisAssignment()); diff --git a/cypress/e2e/assignment/assignmentTrainer.cy.js b/cypress/e2e/assignment/assignmentTrainer.cy.js index e6dbb56a..60f3fc75 100644 --- a/cypress/e2e/assignment/assignmentTrainer.cy.js +++ b/cypress/e2e/assignment/assignmentTrainer.cy.js @@ -7,7 +7,7 @@ describe("assignmentTrainer.cy.js", () => { login("test-trainer1@example.com", "test"); }); - describe("Caswork", () => { + describe("Casework", () => { it("can open cockpit assignment page and open user assignment", () => { cy.visit("/course/test-lehrgang/cockpit"); cy.get(