Remov `.only` from test

This commit is contained in:
Daniel Egger 2023-12-05 12:03:03 +01:00
parent 1aec1e6508
commit 692b89b5a9
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,8 @@
import { TEST_STUDENT1_USER_ID } from "../../consts"; import { TEST_STUDENT1_USER_ID } from "../../consts";
import { login } from "../helpers"; import { login } from "../helpers";
// Daniel: without this comment, my tool will reformat the login import out...
function completePraxisAssignment(selectExpert = false) { function completePraxisAssignment(selectExpert = false) {
cy.visit("/course/test-lehrgang/learn/reisen/mein-kundenstamm"); cy.visit("/course/test-lehrgang/learn/reisen/mein-kundenstamm");
cy.learningContentMultiLayoutNextStep(); cy.learningContentMultiLayoutNextStep();
@ -361,7 +363,8 @@ describe("assignmentStudent.cy.js", () => {
}); });
}); });
}); });
describe.only("Praxis Assignment", () => {
describe("Praxis Assignment", () => {
it("can make complete assignment without expert", () => it("can make complete assignment without expert", () =>
completePraxisAssignment()); completePraxisAssignment());

View File

@ -7,7 +7,7 @@ describe("assignmentTrainer.cy.js", () => {
login("test-trainer1@example.com", "test"); login("test-trainer1@example.com", "test");
}); });
describe("Caswork", () => { describe("Casework", () => {
it("can open cockpit assignment page and open user assignment", () => { it("can open cockpit assignment page and open user assignment", () => {
cy.visit("/course/test-lehrgang/cockpit"); cy.visit("/course/test-lehrgang/cockpit");
cy.get( cy.get(