UNPKG

tlc-core-automation-framework-v3-wdio-v9

Version:

Background: - We are following multi-layer automation framework architecture using webdriver.io + cucumber + typescript This core framework has been implemented with generic utility functions and cucumber steps, which can be easily consumed by another fra

18 lines (17 loc) 1.25 kB
export declare class CustomExpect { static defaultExceptionMsg: string; static expectToBeTruthy(condition: any, failMsg?: string): void; static expectToBeTrue(condition: any, failMsg?: string): void; static expectToBeFalsy(condition: any, failMsg?: string): void; static expectToBeFalse(condition: any, failMsg?: string): void; static expectToMatch(actualValue: any, expectedValue: any, failMsg?: string): void; static expectNotToMatch(actualValue: any, expectedValue: any, failMsg?: string): void; static expectToEqual(actualValue: any, expectedValue: any, failMsg?: string): void; static expectNotToEqual(actualValue: any, expectedValue: any, failMsg?: string): void; static expectToContain(mainString: any, substring: any, failMsg?: string): void; static expectNotToContain(mainString: any, substring: any, failMsg?: string): void; static expectToBe(actualValue: any, expectedValue: any, failMsg?: string): void; static expectNotToBe(actualValue: any, expectedValue: any, failMsg?: string): void; static expectToHaveLength(inputValue: any, expectedLength: number, failMsg?: string): void; static expectNotToHaveLength(inputValue: any, expectedLength: number, failMsg?: string): void; }