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

8 lines (7 loc) 629 B
import request from "supertest"; export declare class ApiHelpers { static getApiRequest(host: string, resource: string, contentType?: string, acceptHeader?: string): Promise<request.Response>; static postApiRequest(host: string, resource: string, payLoad?: object, contentType?: string, acceptHeader?: string): Promise<request.Response>; static deleteApiRequest(host: string, resource: string, contentType?: string, acceptHeader?: string): Promise<request.Response>; static putApiRequest(host: string, resource: string, payLoad?: object, contentType?: string, acceptHeader?: string): Promise<request.Response>; }