Peace-Pager
CtrlK
  • Contributing
  • LICENSE
  • NOTICE
  • README
  • .github
    • PULL_REQUEST_TEMPLATE
    • ISSUE_TEMPLATE
      • bug_report
      • feature_request
  • docs
    • The Phased Approach to Feature Development
    • Development Setup
    • Getting Started
    • Switchover Guide for GoAlert
    • adrs
      • Migration from JavaScript to TypeScript for GoAlert
      • Adoption of sqlc for Improved Query Management in GoAlert
      • Migration from Cypress to Playwright for GoAlert Testing
      • Switching from Apollo to URQL for GraphQL on GoAlert
      • API Key Architecture for System Integrations
      • [short title of solved problem and solution]
  • Grafana Development
  • Switchover (SWO)
    • SWO Group
    • Logical Sync
  • devtools
    • SendIt
  • pkg
    • sysapi
      • Generating Certs to Secure gRPC
  • test
    • Behavioral Smoketest Suite
  • web
    • src
      • Codemods
      • Cypress
      • app
        • Form Components
        • documentation
          • sections
            • Using Integration Keys
            • Using Webhooks
Powered by GitBook
On this page
  1. web
  2. src

Cypress

Integration tests can be found under ./integration. There are a variety of helper functions that can be used in your integration tests that can be found under ./support. Mock data for the integration tests is under ./fixtures.

All of the created support functions can be chained off of cypress, for example:

cy.get('input[name=someInput]').selectByLabel('Label Name')

A fixture can be used as such to access some mock data, for example:

import users from '../fixtures/users.json'
PreviousCodemodsNextapp

Last updated 1 year ago