Cypress · Junior · Frage 52 von 75
Wo werden Custom Commands meist registriert?
- 1In jeder Spec, die sie braucht
- 2In
cypress.config.tsuntercommands - 3In
cypress/support/commands.ts
Antwort zeigen
Richtige Antwort: In cypress/support/commands.ts
Erklärung
Die Support-Datei läuft vor jeder Spec, dort definierte Befehle sind also überall verfügbar.