import './commands'; // types of the custom commands // Must be declared global to be detected by typescript (allows import/export) declare global { namespace Cypress { interface Chainable { /** * Custom command to mock request at '/dashboard_lib.bundle.js' */ mockDashboardRequest(): Chainable; /** * Custom command to mock request at '/api/namespaces' */ mockNamespacesRequest(): Chainable; /** * Custom command to mock request at '/api/namespaces//tensorboards' * and returns emtpy array [] */ mockEmptyTensorboardsRequest(namespace: string): Chainable; /** * Custom command to mock request at '/api/namespaces//tensorboards' * and returns array with mock tensorboards [] */ mockTensorboardsRequest(namespace: string): Chainable; } } }