sharkey/cypress/support/index.ts
2024-10-19 13:42:16 +09:00

20 lines
321 B
TypeScript
Executable File

declare global {
namespace Cypress {
interface Chainable {
login(username: string, password: string): Chainable<void>;
registerUser(
username: string,
password: string,
isAdmin?: boolean
): Chainable<void>;
resetState(): Chainable<void>;
visitHome(): Chainable<void>;
}
}
}
export {}