How rafael-asaph/cypress-basico-v2 works
Project type and purpose
• This is a teaching‐and‐learning repository for a “Cypress basics” course.
• It combines (a) a static sample web application (in src/) and (b) course content (in lessons/) showing students how to write automated tests with Cypress.
File structure
• Top‐level files:
• .gitignore, LICENSE, README.md (project metadata)
• package.json (defines Node/Cypress dependencies & npm scripts)
• src/ folder: static web app—index.html, privacy.html, script.js, style.css.
• lessons/ folder: individual Markdown files that constitute the course curriculum.
README for additional insights
• Describes course goals (setup, element handling, custom commands, CI integration).
• References the Cypress API and a CI pipeline.
• Instructs students to follow the “_course-structure_” lesson.
Detail without over‐complicating
• Folders (lessons/, src/, future cypress/) and their roles.
• External dependencies (npm registry, CI service).
• Npm scripts from package.json that drive the flow.
• The structure of the course repository
• The interactions between user content, sample application, and test framework
• The continuous integration feedback loop that underpins automated testing
—all tailored precisely to this Cypress basics project.