@ognjenvladisavljevic/wdio-slack-reporter
Version:
Reporter from WebdriverIO using Web API to send results to Slack.
43 lines • 1.71 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 DEFAULT_INDENT = "\t";
export declare const EMOJI_SYMBOLS: {
readonly PASSED: "✅";
readonly SKIPPED: "⏸";
readonly PENDING: "❔";
readonly FAILED: "❌";
readonly ROKET: ":rocket:";
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.";
};
export declare const TEST_RESULT: {
readonly PASSED_TESTS: "Passed";
readonly FAILED_TESTS: "Failed";
};
export declare const TEST_TYPES: {
readonly FEATURE: "feature";
readonly SCENARIO: "scenario";
};
export declare const FEATURE_FAILED = "FAILED";
export declare const FEATURE_PASSED = "OK";
//# sourceMappingURL=constants.d.ts.map