12 lines
404 B
JavaScript
12 lines
404 B
JavaScript
import { login } from "../helpers";
|
|
|
|
describe("cockpitAttendaceCheck.cy.js", () => {
|
|
it("will display optional participants", () => {
|
|
cy.manageCommand("cypress_reset --set-optional-attendance-flag");
|
|
login("test-trainer1@example.com", "test");
|
|
cy.visit("/course/test-lehrgang/cockpit/attendance");
|
|
|
|
cy.get('[data-cy="extra-info"]').should("contain", "Optionale Anwesenheit");
|
|
});
|
|
});
|