// in cypress/support/index.ts // load type definitions that come with Cypress module /// declare namespace Cypress { interface Chainable { /** * Custom command to log messages in a formatted way. * @param title Title of the log message * @param content Content to be logged * @param type Type of the log ('assertion' or other) */ logManager(title: string, content: any, type: string): Chainable; logManagerE2E(title: string, content: any, type: string): Chainable; } }