declare namespace Cypress { interface Chainable { login(username?: string, password?: string): Chainable; logout(): Chainable; getByTestId(testId: string): Chainable>; waitForLoading(): Chainable; // Discount codes helper methods navigateToCreateDiscount(): Chainable; fillBasicDiscountInfo(data: any): Chainable; fillDiscountSettings(data: any): Chainable; fillUserRestrictions(data: any): Chainable; submitDiscountForm(): Chainable; verifyDiscountCreation(): Chainable; createDiscountCode(data: any): Chainable; searchDiscountCode(code: string): Chainable; clearDiscountFilters(): Chainable; } }