@ericmconnelly/wdio-slack-reporter
Version:
Reporter from WebdriverIO using Web API to send results to Slack.
35 lines • 1.54 kB
TypeScript
export declare const SLACK_NAME = "WebdriverIO Reporter";
export declare const SLACK_ICON_URL = "https://webdriver.io/img/webdriverio.png";
export declare const SUCCESS_COLOR = "#36a64f";
export declare const FAILED_COLOR = "#dc3545";
export declare const DEFAULT_COLOR = "#D3D3D3";
export declare const FINISHED_COLOR = "#4366c7";
export declare const DEFAULT_INDENT = "\t";
export declare const EMOJI_SYMBOLS: {
readonly PASSED: ":white_check_mark:";
readonly SKIPPED: ":double_vertical_bar:";
readonly PENDING: ":grey_question:";
readonly FAILED: ":x:";
readonly ROKET: ":rocket:";
readonly CHECKERED_FLAG: ":checkered_flag:";
readonly STOPWATCH: ":stopwatch:";
};
export declare const SLACK_REQUEST_TYPE: {
readonly WEB_API_POST_MESSAGE: "web-api:message";
readonly WEB_API_UPLOAD: "web-api:upload";
readonly WEBHOOK_SEND: "webhook:send";
};
export declare const EVENTS: {
readonly POST_MESSAGE: "slackReporter:postMessage";
readonly UPLOAD: "slackReporter:upload";
readonly SEND: "slackReporter:send";
readonly RESULT: "slackReporter:result";
readonly SCREENSHOT: "slackReporter:screenshot";
};
export declare const ERROR_MESSAGES: {
readonly UNDEFINED_SLACK_OPTION: "Slack Option is undefined. Please Check Slack Option.";
readonly NOT_USING_WEBHOOK: "Not using webhook.";
readonly NOT_USING_WEB_API: "Not using web-api.";
readonly DISABLED_OPTIONS: "Disabled notifyFailedCase or uploadScreenshotOfFailedCase options.";
};
//# sourceMappingURL=constants.d.ts.map