import { Then } from "@badeball/cypress-cucumber-preprocessor"; // Landing-page-specific steps. Everything else this feature needs // (signing in / not, visiting a path, URL and heading assertions) comes // from the shared `cypress/support/step_definitions/common.steps.ts`. // Mocks nothing itself — the landing page makes no API calls of its own; // it renders purely from the logged-out state `I am not signed in` sets up. Then("I should see the landing call to action", () => { cy.get(".landing__hero .landing__cta--primary") .should("be.visible") .and("have.attr", "href", "/signup"); cy.get(".landing__hero .landing__cta--secondary") .should("be.visible") .and("have.attr", "href", "/login"); });