Files
Andrey VelichkevichandGitHub 7d16660c2c [UI] Remove Deprecated Katib UI (#2179)
* [UI] Remove Deprecated Katib UI

* Fix UI Developer doc
2023-07-25 09:53:29 +00:00

31 lines
868 B
TypeScript

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<void>;
/**
* Custom command to mock request at '/katib/fetch_namespaces'
*/
mockNamespacesRequest(): Chainable<void>;
/**
* Custom command to mock request at 'katib/fetch_namespaced_experiments/?namespace=<namespace>'
* and return an array with mock Experiments []
*/
mockExperimentsRequest(namespace: string): Chainable<void>;
/**
* Custom command to mock request at '/katib/fetch_trial_templates'
*/
mockTrialTemplate(): Chainable<void>;
}
}
}