0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
posthog/cypress/support/index.ts

22 lines
529 B
TypeScript
Raw Normal View History

/// <reference types="cypress" />
declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace Cypress {
interface Chainable {
/**
* Custom command to login to PostHog
*/
login(): Chainable<Element>
/**
* Custom command to click a navigation menu item
* @example cy.clickNavMenu('dashboards')
*/
clickNavMenu(name: string): Chainable<Element>
}
}
}
export {}