allure-codeceptjs 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,50 @@
1
+ # allure-codeceptjs
2
+
3
+ ## Installation
4
+
5
+ ```bash
6
+ npm i -D allure-codeceptjs
7
+ ```
8
+
9
+ ```diff
10
+ const { setHeadlessWhen, setCommonPlugins } = require("@codeceptjs/configure");
11
+ const path = require("path");
12
+
13
+ setCommonPlugins();
14
+
15
+ module.exports.config = {
16
+ tests: "./**/*.test.js",
17
+ output: path.resolve(__dirname, "./output"),
18
+ plugins: {
19
+ + allure: {
20
+ + enabled: true,
21
+ + require: "allure-codeceptjs",
22
+ + },
23
+ },
24
+ };
25
+ ```
26
+
27
+ ## Metadata usage
28
+
29
+ Right now you can access allure API through codeceptjs container.
30
+
31
+ ```js
32
+ Feature("login-feature");
33
+ Scenario("login-scenario1", async () => {
34
+ const allure = codeceptjs.container.plugins("allure");
35
+
36
+ allure.label("name", "value");
37
+ allure.tag("tag1");
38
+ allure.tags("tag2", "tag3");
39
+ allure.issue("issueName", "google.com");
40
+ allure.owner("eroshenkoam");
41
+ allure.layer("UI");
42
+ allure.id("228");
43
+ allure.description("aga");
44
+ allure.story("aga");
45
+ allure.feature("aga");
46
+ allure.epic("aga");
47
+ allure.epic("severity");
48
+ allure.addAttachment("data.txt", "some data", "text/plain");
49
+ });
50
+ ```
@@ -0,0 +1,26 @@
1
+ /// <reference types="codeceptjs" />
2
+ export interface CodeceptError {
3
+ params: any;
4
+ template: string;
5
+ showDiff: boolean;
6
+ actual: string;
7
+ expected: string;
8
+ cliMessage: () => string;
9
+ message: string;
10
+ inspect: () => string;
11
+ }
12
+ export interface CodeceptStep {
13
+ actor: string;
14
+ name: string;
15
+ helperMethod: string;
16
+ suffix: string;
17
+ prefix: string;
18
+ comment: string;
19
+ args: string[];
20
+ status: string;
21
+ metaStep: CodeceptStep;
22
+ toString: () => string;
23
+ }
24
+ export declare type CodeceptSuite = Mocha.SuiteRunnable;
25
+ export declare type CodeceptHook = Mocha.Hook;
26
+ export declare type CodeceptTest = Mocha.Runnable;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=codecept-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codecept-types.js","sourceRoot":"","sources":["../src/codecept-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,81 @@
1
+ /// <reference types="codeceptjs" />
2
+ /// <reference types="node" />
3
+ import { AllureGroup, AllureRuntime, AllureStep, AllureTest, InMemoryAllureWriter, Label, Link, ParameterOptions } from "allure-js-commons";
4
+ import { CodeceptError, CodeceptHook, CodeceptStep, CodeceptSuite, CodeceptTest } from "./codecept-types";
5
+ interface ReporterOptions {
6
+ outputDir: string;
7
+ postProcessorForTest?: any;
8
+ }
9
+ declare class AllureReporter {
10
+ allureRuntime?: AllureRuntime;
11
+ allureGroupCache: Map<Mocha.SuiteRunnable, AllureGroup>;
12
+ allureTestCache: Map<Mocha.Runnable, AllureTest>;
13
+ allureWriter?: InMemoryAllureWriter;
14
+ allureStepCache: Map<AllureTest, Map<CodeceptStep, AllureStep>>;
15
+ currentTest: CodeceptTest | null;
16
+ reporterOptions: ReporterOptions;
17
+ constructor(config: ReporterOptions);
18
+ registerEvents(): void;
19
+ hookStarted(hook: CodeceptHook): void;
20
+ hookPassed(hook: CodeceptHook): void;
21
+ createTest(test: CodeceptTest): void;
22
+ suiteStarted(suite: CodeceptSuite): void;
23
+ allureTestByCodeceptTest(test: CodeceptTest): AllureTest | undefined;
24
+ allureStepByCodeceptStep(step: CodeceptStep, allureTest: AllureTest): AllureStep | undefined;
25
+ allureSuiteByCodeceptSuite(suite: CodeceptSuite): AllureGroup | undefined;
26
+ suiteFinished(suite: CodeceptSuite): void;
27
+ testStarted(test: CodeceptTest & {
28
+ tags: string[];
29
+ }): void;
30
+ testFailed(test: CodeceptTest, err: CodeceptError): void;
31
+ testPassed(test: CodeceptTest): void;
32
+ testSkipped(test: CodeceptTest & {
33
+ opts: {
34
+ skipInfo: {
35
+ message: string;
36
+ isFastSkipped: boolean;
37
+ };
38
+ };
39
+ }): void;
40
+ testAfter(test: CodeceptTest): void;
41
+ getStepParents(step: CodeceptStep): CodeceptStep[];
42
+ stepStarted(step: CodeceptStep): void;
43
+ lastStepParent: CodeceptStep | undefined;
44
+ validateStep(step: CodeceptStep): void;
45
+ stepFailed(step: CodeceptStep): void;
46
+ stepComment(step: CodeceptStep): void;
47
+ stepPassed(step: CodeceptStep): void;
48
+ stepFinished(step: CodeceptStep): void;
49
+ afterAll(): void;
50
+ ensureAllureGroupCreated(suite: CodeceptSuite): AllureGroup;
51
+ getAllureRuntime(): AllureRuntime;
52
+ debug(msg?: string): void;
53
+ get currentAllureTest(): AllureTest | undefined;
54
+ addLabel(name: string, value: string): void;
55
+ label(name: string, value: string): void;
56
+ addAttachment(name: string, buffer: Buffer | string, type: string): void;
57
+ addScreenDiff(name: string, expectedImg: string, actualImg: string, diffImg: string): void;
58
+ severity: (severity: string) => void;
59
+ epic: (epic: string) => void;
60
+ feature: (feature: string) => void;
61
+ story: (story: string) => void;
62
+ description: (description: string) => void;
63
+ parameter(name: string, value: string, options?: ParameterOptions): void;
64
+ tms(name: string, url: string): void;
65
+ link(url: string, name?: string, type?: string): void;
66
+ labels(...values: Label[]): void;
67
+ links(...values: Link[]): void;
68
+ id(id: string): void;
69
+ suite(name: string): void;
70
+ parentSuite(name: string): void;
71
+ layer(layerName: string): void;
72
+ subSuite(name: string): void;
73
+ owner(owner: string): void;
74
+ tag(tag: string): void;
75
+ tags(...values: string[]): void;
76
+ issue(name: string, url: string): void;
77
+ }
78
+ declare const allurePlugin: (config: {
79
+ outputDir: string;
80
+ }) => AllureReporter;
81
+ export = allurePlugin;
package/dist/index.js ADDED
@@ -0,0 +1,327 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ const path_1 = __importDefault(require("path"));
6
+ const allure_js_commons_1 = require("allure-js-commons");
7
+ const { event } = global.codeceptjs;
8
+ class AllureReporter {
9
+ constructor(config) {
10
+ this.allureGroupCache = new Map();
11
+ this.allureTestCache = new Map();
12
+ this.allureStepCache = new Map();
13
+ this.currentTest = null;
14
+ this.severity = (severity) => {
15
+ this.addLabel(allure_js_commons_1.LabelName.SEVERITY, severity);
16
+ };
17
+ this.epic = (epic) => {
18
+ this.addLabel(allure_js_commons_1.LabelName.EPIC, epic);
19
+ };
20
+ this.feature = (feature) => {
21
+ this.addLabel(allure_js_commons_1.LabelName.FEATURE, feature);
22
+ };
23
+ this.story = (story) => {
24
+ this.addLabel(allure_js_commons_1.LabelName.STORY, story);
25
+ };
26
+ this.description = (description) => {
27
+ if (this.currentAllureTest) {
28
+ this.currentAllureTest.description = description;
29
+ }
30
+ };
31
+ this.registerEvents();
32
+ const resultsDir = (0, allure_js_commons_1.allureReportFolder)(config.outputDir);
33
+ this.allureWriter = config.postProcessorForTest ? new allure_js_commons_1.InMemoryAllureWriter() : undefined;
34
+ this.allureRuntime = new allure_js_commons_1.AllureRuntime({ resultsDir, writer: this.allureWriter });
35
+ this.reporterOptions = config || {};
36
+ }
37
+ registerEvents() {
38
+ event.dispatcher.addListener(event.suite.before, this.suiteStarted.bind(this));
39
+ event.dispatcher.addListener(event.suite.after, this.suiteFinished.bind(this));
40
+ event.dispatcher.addListener(event.hook.started, this.hookStarted.bind(this));
41
+ event.dispatcher.addListener(event.hook.passed, this.hookPassed.bind(this));
42
+ event.dispatcher.addListener(event.test.started, this.testStarted.bind(this));
43
+ event.dispatcher.addListener(event.test.skipped, this.testSkipped.bind(this));
44
+ event.dispatcher.addListener(event.test.passed, this.testPassed.bind(this));
45
+ event.dispatcher.addListener(event.test.failed, this.testFailed.bind(this));
46
+ event.dispatcher.addListener(event.test.after, this.testAfter.bind(this));
47
+ event.dispatcher.addListener(event.step.started, this.stepStarted.bind(this));
48
+ event.dispatcher.addListener(event.step.passed, this.stepPassed.bind(this));
49
+ event.dispatcher.addListener(event.step.failed, this.stepFailed.bind(this));
50
+ event.dispatcher.addListener(event.step.finished, this.stepFinished.bind(this));
51
+ event.dispatcher.addListener(event.step.comment, this.stepComment.bind(this));
52
+ event.dispatcher.addListener(event.all.result, this.afterAll.bind(this));
53
+ }
54
+ hookStarted(hook) {
55
+ var _a;
56
+ this.currentTest = ((_a = hook.ctx) === null || _a === void 0 ? void 0 : _a.currentTest) || null;
57
+ }
58
+ hookPassed(hook) {
59
+ this.currentTest = null;
60
+ }
61
+ createTest(test) {
62
+ const suite = test.parent;
63
+ const group = this.ensureAllureGroupCreated(suite);
64
+ const allureTest = group.startTest(test.title);
65
+ this.allureStepCache.set(allureTest, new Map());
66
+ allureTest.addLabel(allure_js_commons_1.LabelName.LANGUAGE, "javascript");
67
+ allureTest.addLabel(allure_js_commons_1.LabelName.FRAMEWORK, "codeceptjs");
68
+ const relativeFile = path_1.default.relative(codecept_dir, test.file).split(path_1.default.sep).join("/");
69
+ const fullName = `${relativeFile}#${test.title}`;
70
+ if (suite.title) {
71
+ allureTest.addLabel(allure_js_commons_1.LabelName.SUITE, suite.title);
72
+ }
73
+ allureTest.stage = allure_js_commons_1.Stage.PENDING;
74
+ allureTest.fullName = fullName;
75
+ allureTest.testCaseId = (0, allure_js_commons_1.md5)(fullName);
76
+ allureTest.historyId = (0, allure_js_commons_1.md5)(fullName);
77
+ this.allureTestCache.set(test, allureTest);
78
+ }
79
+ suiteStarted(suite) {
80
+ suite.tests.forEach((test) => {
81
+ this.createTest(test);
82
+ });
83
+ }
84
+ allureTestByCodeceptTest(test) {
85
+ var _a;
86
+ let allureTest = this.allureTestCache.get(test);
87
+ if (!allureTest) {
88
+ allureTest = this.allureTestCache.get((_a = test.ctx) === null || _a === void 0 ? void 0 : _a.currentTest);
89
+ }
90
+ if (!allureTest) {
91
+ this.debug();
92
+ return;
93
+ }
94
+ return allureTest;
95
+ }
96
+ allureStepByCodeceptStep(step, allureTest) {
97
+ const steps = this.allureStepCache.get(allureTest);
98
+ const allureStep = steps === null || steps === void 0 ? void 0 : steps.get(step);
99
+ if (!allureStep) {
100
+ this.debug();
101
+ return;
102
+ }
103
+ return allureStep;
104
+ }
105
+ allureSuiteByCodeceptSuite(suite) {
106
+ const group = this.allureGroupCache.get(suite);
107
+ if (!group) {
108
+ this.debug();
109
+ return;
110
+ }
111
+ return group;
112
+ }
113
+ suiteFinished(suite) {
114
+ const group = this.allureSuiteByCodeceptSuite(suite);
115
+ group === null || group === void 0 ? void 0 : group.endGroup();
116
+ }
117
+ testStarted(test) {
118
+ this.currentTest = test;
119
+ const allureTest = this.allureTestByCodeceptTest(test);
120
+ if (allureTest) {
121
+ for (const tag of test.tags) {
122
+ allureTest.addLabel(allure_js_commons_1.LabelName.TAG, tag);
123
+ }
124
+ }
125
+ }
126
+ testFailed(test, err) {
127
+ const allureTest = this.allureTestByCodeceptTest(test);
128
+ if (allureTest) {
129
+ allureTest.statusDetails = { message: (0, allure_js_commons_1.stripAscii)(err.message) };
130
+ allureTest.stage = allure_js_commons_1.Stage.FINISHED;
131
+ allureTest.status = allure_js_commons_1.Status.FAILED;
132
+ }
133
+ }
134
+ testPassed(test) {
135
+ const allureTest = this.allureTestByCodeceptTest(test);
136
+ if (allureTest) {
137
+ allureTest.stage = allure_js_commons_1.Stage.FINISHED;
138
+ allureTest.status = allure_js_commons_1.Status.PASSED;
139
+ }
140
+ }
141
+ testSkipped(test) {
142
+ const allureTest = this.allureTestByCodeceptTest(test);
143
+ if (allureTest) {
144
+ allureTest.stage = allure_js_commons_1.Stage.FINISHED;
145
+ allureTest.status = allure_js_commons_1.Status.SKIPPED;
146
+ if (test.opts.skipInfo) {
147
+ allureTest.statusDetails = { message: test.opts.skipInfo.message };
148
+ }
149
+ allureTest.endTest();
150
+ }
151
+ }
152
+ testAfter(test) {
153
+ const allureTest = this.allureTestByCodeceptTest(test);
154
+ allureTest === null || allureTest === void 0 ? void 0 : allureTest.endTest();
155
+ this.currentTest = null;
156
+ }
157
+ getStepParents(step) {
158
+ const parents = [];
159
+ let innerStep = step;
160
+ while (innerStep.metaStep) {
161
+ parents.unshift(innerStep.metaStep);
162
+ innerStep = innerStep.metaStep;
163
+ }
164
+ return parents;
165
+ }
166
+ stepStarted(step) {
167
+ this.validateStep(step);
168
+ const parents = [...this.getStepParents(step), step];
169
+ const allureTest = this.currentAllureTest;
170
+ if (!allureTest) {
171
+ return;
172
+ }
173
+ const steps = this.allureStepCache.get(allureTest);
174
+ let lastParent = (parents.length > 0 && (steps === null || steps === void 0 ? void 0 : steps.get(parents[0]))) || undefined;
175
+ parents.forEach((parentStep) => {
176
+ const allureStep = !lastParent
177
+ ? allureTest.startStep(parentStep.toString())
178
+ : (steps === null || steps === void 0 ? void 0 : steps.get(parentStep)) || lastParent.startStep(parentStep.toString());
179
+ steps === null || steps === void 0 ? void 0 : steps.set(parentStep, allureStep);
180
+ lastParent = allureStep;
181
+ });
182
+ }
183
+ validateStep(step) {
184
+ const lastParent = [...this.getStepParents(step), step][0];
185
+ if (lastParent !== this.lastStepParent) {
186
+ this.allureStepCache.set(this.currentAllureTest, new Map());
187
+ }
188
+ this.lastStepParent = lastParent;
189
+ }
190
+ stepFailed(step) {
191
+ const allureStep = this.allureStepByCodeceptStep(step, this.currentAllureTest);
192
+ if (allureStep) {
193
+ allureStep.status = allure_js_commons_1.Status.FAILED;
194
+ allureStep.endStep();
195
+ }
196
+ }
197
+ stepComment(step) {
198
+ var _a;
199
+ const allureStep = (_a = this.currentAllureTest) === null || _a === void 0 ? void 0 : _a.startStep(step.toString());
200
+ if (allureStep) {
201
+ allureStep.status = allure_js_commons_1.Status.PASSED;
202
+ allureStep.endStep();
203
+ }
204
+ }
205
+ stepPassed(step) {
206
+ const allureStep = this.allureStepByCodeceptStep(step, this.currentAllureTest);
207
+ if (allureStep) {
208
+ allureStep.status = allure_js_commons_1.Status.PASSED;
209
+ allureStep.endStep();
210
+ }
211
+ }
212
+ stepFinished(step) {
213
+ const parentStep = this.getStepParents(step)[0] || step;
214
+ const allureStep = this.allureStepByCodeceptStep(parentStep, this.currentAllureTest);
215
+ if (allureStep) {
216
+ allureStep.status = allureStep.isAnyStepFailed ? allure_js_commons_1.Status.FAILED : allure_js_commons_1.Status.PASSED;
217
+ allureStep.endStep();
218
+ }
219
+ }
220
+ afterAll() {
221
+ if (this.reporterOptions.postProcessorForTest) {
222
+ this.reporterOptions.postProcessorForTest(this.allureWriter);
223
+ }
224
+ }
225
+ ensureAllureGroupCreated(suite) {
226
+ let group = this.allureGroupCache.get(suite);
227
+ if (!group) {
228
+ const parent = suite.parent
229
+ ? this.ensureAllureGroupCreated(suite.parent)
230
+ : this.getAllureRuntime();
231
+ group = parent.startGroup(suite.fullTitle());
232
+ this.allureGroupCache.set(suite, group);
233
+ }
234
+ return group;
235
+ }
236
+ getAllureRuntime() {
237
+ if (!this.allureRuntime) {
238
+ throw new Error("Unexpected state: `allureRuntime` is not initialized");
239
+ }
240
+ return this.allureRuntime;
241
+ }
242
+ debug(msg) {
243
+ const error = new Error(msg || "Something went wrong");
244
+ codeceptjs.output.log(`${error.message} ${error.stack || ""}`);
245
+ }
246
+ get currentAllureTest() {
247
+ if (!this.currentTest) {
248
+ this.debug();
249
+ return;
250
+ }
251
+ const allureTest = this.allureTestByCodeceptTest(this.currentTest);
252
+ return allureTest;
253
+ }
254
+ addLabel(name, value) {
255
+ this.label(name, value);
256
+ }
257
+ label(name, value) {
258
+ var _a;
259
+ (_a = this.currentAllureTest) === null || _a === void 0 ? void 0 : _a.addLabel(name, value);
260
+ }
261
+ addAttachment(name, buffer, type) {
262
+ var _a;
263
+ const runtime = this.getAllureRuntime();
264
+ const fileName = runtime.writeAttachment(buffer, { contentType: type });
265
+ (_a = this.currentAllureTest) === null || _a === void 0 ? void 0 : _a.addAttachment(name, type, fileName);
266
+ }
267
+ addScreenDiff(name, expectedImg, actualImg, diffImg) {
268
+ const screenDiff = {
269
+ name,
270
+ expected: `data:image/png;base64,${expectedImg}`,
271
+ actual: `data:image/png;base64,${actualImg}`,
272
+ diff: `data:image/png;base64,${diffImg}`,
273
+ };
274
+ this.addAttachment(name, JSON.stringify(screenDiff), "application/vnd.allure.image.diff");
275
+ }
276
+ parameter(name, value, options) {
277
+ if (this.currentAllureTest) {
278
+ this.currentAllureTest.addParameter(name, value, options);
279
+ }
280
+ }
281
+ tms(name, url) {
282
+ this.link(url, name, allure_js_commons_1.LinkType.TMS);
283
+ }
284
+ link(url, name, type) {
285
+ if (this.currentAllureTest) {
286
+ this.currentAllureTest.addLink(url, name, type);
287
+ }
288
+ }
289
+ labels(...values) {
290
+ values.forEach(({ name, value }) => this.label(name, value));
291
+ }
292
+ links(...values) {
293
+ values.forEach(({ url, name, type }) => this.link(url, name, type));
294
+ }
295
+ id(id) {
296
+ this.label(allure_js_commons_1.LabelName.ALLURE_ID, id);
297
+ }
298
+ suite(name) {
299
+ this.label(allure_js_commons_1.LabelName.SUITE, name);
300
+ }
301
+ parentSuite(name) {
302
+ this.label(allure_js_commons_1.LabelName.PARENT_SUITE, name);
303
+ }
304
+ layer(layerName) {
305
+ this.label(allure_js_commons_1.LabelName.LAYER, layerName);
306
+ }
307
+ subSuite(name) {
308
+ this.label(allure_js_commons_1.LabelName.SUB_SUITE, name);
309
+ }
310
+ owner(owner) {
311
+ this.label(allure_js_commons_1.LabelName.OWNER, owner);
312
+ }
313
+ tag(tag) {
314
+ this.label(allure_js_commons_1.LabelName.TAG, tag);
315
+ }
316
+ tags(...values) {
317
+ values.forEach((value) => this.tag(value));
318
+ }
319
+ issue(name, url) {
320
+ this.link(url, name, allure_js_commons_1.LinkType.ISSUE);
321
+ }
322
+ }
323
+ const allurePlugin = (config) => {
324
+ return new AllureReporter(config);
325
+ };
326
+ module.exports = allurePlugin;
327
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.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c,CAAC,MAAM,CAAC,CAAC;AACpC,CAAC,CAAC;AAEF,iBAAS,YAAY,CAAC"}
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "allure-codeceptjs",
3
+ "version": "2.1.0",
4
+ "description": "Allure codeceptjs integration",
5
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/allure-framework/allure-js.git",
9
+ "directory": "packages/allure-codeceptjs"
10
+ },
11
+ "keywords": [
12
+ "codeceptjs",
13
+ "allure"
14
+ ],
15
+ "main": "./dist/index.js",
16
+ "types": "./dist/index.d.ts",
17
+ "scripts": {
18
+ "clean": "rimraf ./dist ./out ./test-results",
19
+ "compile": "tsc",
20
+ "lint": "eslint ./src --ext .ts",
21
+ "lint:fix": "eslint ./src --ext .ts --fix",
22
+ "test": "jest"
23
+ },
24
+ "devDependencies": {
25
+ "codeceptjs": "^3.4.1",
26
+ "jest": "^26.4.2",
27
+ "ts-jest": "^26.4.2",
28
+ "typescript": "^4.4.2"
29
+ },
30
+ "dependencies": {
31
+ "allure-js-commons": "2.1.0"
32
+ },
33
+ "files": [
34
+ "dist"
35
+ ]
36
+ }