docs-v2/cypress/e2e
Jason Stirnaman eb0aa9c23a feat(test): add --no-mapping flag to e2e test runner
Allow running functionality tests without requiring content file paths.
The --no-mapping flag skips content-to-URL mapping, making it easier
to run tests that don't depend on specific content files.

Usage:
  # With content mapping (for content-specific tests)
  node run-e2e-specs.js content/influxdb3/core/_index.md

  # Without content mapping (for functionality tests)
  node run-e2e-specs.js --spec cypress/e2e/page-context.cy.js --no-mapping

Benefits:
- Simplifies running functionality tests like page-context.cy.js
- Reduces test startup time by skipping unnecessary file mapping
- Makes test commands clearer about their purpose

The page-context test was updated to work correctly with this flag.
2025-11-12 11:15:22 -06:00
..
content feat(influxdb): Version detector shortcode triggers a modal 2025-09-30 19:01:21 -05:00
page-context.cy.js feat(test): add --no-mapping flag to e2e test runner 2025-11-12 11:15:22 -06:00
topnav.cy.js chore(e2e): Add Cypress for link checking and end-to-end tests. Fix broken links revealed by tests. 2025-02-03 17:52:04 -06:00