cypress-qase-reporter 1.3.0 → 1.4.1
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 +51 -44
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,50 +1,14 @@
|
|
|
1
|
-
#
|
|
1
|
+
> # Qase TMS Cypress reporter
|
|
2
|
+
>
|
|
3
|
+
> Publish results simple and easy.
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
5
|
+
## How to integrate
|
|
6
6
|
|
|
7
7
|
```
|
|
8
8
|
npm install cypress-qase-reporter
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
Reporter options (* - required):
|
|
14
|
-
|
|
15
|
-
- *`apiToken` - Token for API access, you can find more information
|
|
16
|
-
[here](https://developers.qase.io/#authentication)
|
|
17
|
-
- *`projectCode` - Code of your project (can be extracted from main
|
|
18
|
-
page of your project: `https://app.qase.io/project/DEMOTR` -
|
|
19
|
-
`DEMOTR` is project code here)
|
|
20
|
-
- `runId` - Run ID from Qase TMS (also can be got from run URL)
|
|
21
|
-
- `logging` [true/false] - Enabled debug logging from reporter or not
|
|
22
|
-
|
|
23
|
-
Example cypress.json config:
|
|
24
|
-
|
|
25
|
-
```json
|
|
26
|
-
{
|
|
27
|
-
"reporter": "cypress-qase-reporter",
|
|
28
|
-
"reporterOptions": {
|
|
29
|
-
"apiToken": "578e3b73a34f06e84eafea103cd44dc24253b2c5",
|
|
30
|
-
"projectCode": "PRJCODE",
|
|
31
|
-
"runId": 45,
|
|
32
|
-
"logging": true
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
You can check example configuration with multiple reporters in [demo project](./demo/cypress.json)
|
|
38
|
-
|
|
39
|
-
Supported ENV variables:
|
|
40
|
-
|
|
41
|
-
- `QASE_REPORT` - You **should** pass this ENV if you want to use
|
|
42
|
-
qase reporter
|
|
43
|
-
- `QASE_RUN_ID` - Pass Run ID from ENV and override reporter options
|
|
44
|
-
- `QASE_RUN_NAME` - Set custom Run name, when new run is created
|
|
45
|
-
- `QASE_RUN_DESCRIPTION` - Set custom Run description, when new run is created
|
|
46
|
-
|
|
47
|
-
## Using Reporter
|
|
11
|
+
## Example of usage
|
|
48
12
|
|
|
49
13
|
If you want to decorate come test with Qase Case ID you could use qase function:
|
|
50
14
|
|
|
@@ -76,11 +40,54 @@ describe('My First Test', () => {
|
|
|
76
40
|
|
|
77
41
|
```
|
|
78
42
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
To start cypress run with qase reporter run it like this:
|
|
43
|
+
To run tests and create a test run, execute the command:
|
|
82
44
|
```bash
|
|
83
45
|
QASE_REPORT=1 npx cypress run
|
|
84
46
|
```
|
|
85
47
|
|
|
86
48
|

|
|
49
|
+
|
|
50
|
+
A test run will be performed and available at:
|
|
51
|
+
```
|
|
52
|
+
https://app.qase.io/run/QASE_PROJECT_CODE
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Configuration
|
|
56
|
+
|
|
57
|
+
Reporter options (* - required):
|
|
58
|
+
|
|
59
|
+
- *`apiToken` - Token for API access, you can find more information
|
|
60
|
+
[here](https://developers.qase.io/#authentication)
|
|
61
|
+
- *`projectCode` - Code of your project (can be extracted from main
|
|
62
|
+
page of your project: `https://app.qase.io/project/DEMOTR` -
|
|
63
|
+
`DEMOTR` is project code here)
|
|
64
|
+
- `runId` - Run ID from Qase TMS (also can be got from run URL)
|
|
65
|
+
- `logging` [true/false] - Enabled debug logging from reporter or not
|
|
66
|
+
|
|
67
|
+
Example `cypress.json` config:
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
"reporter": "cypress-qase-reporter",
|
|
72
|
+
"reporterOptions": {
|
|
73
|
+
"apiToken": "api_key",
|
|
74
|
+
"projectCode": "project_code",
|
|
75
|
+
"runId": 45,
|
|
76
|
+
"logging": true
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
You can check example configuration with multiple reporters in [demo project](./demo/cypress.json).
|
|
82
|
+
|
|
83
|
+
Supported ENV variables:
|
|
84
|
+
|
|
85
|
+
- `QASE_REPORT` - You **should** pass this ENV if you want to use
|
|
86
|
+
qase reporter
|
|
87
|
+
- `QASE_RUN_ID` - Pass Run ID from ENV and override reporter options
|
|
88
|
+
- `QASE_RUN_NAME` - Set custom Run name, when new run is created
|
|
89
|
+
- `QASE_RUN_DESCRIPTION` - Set custom Run description, when new run is created
|
|
90
|
+
|
|
91
|
+
<!-- references -->
|
|
92
|
+
|
|
93
|
+
[auth]: https://developers.qase.io/#authentication
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,6 @@ var mocha_1 = require("mocha");
|
|
|
31
31
|
var models_1 = require("qaseio/dist/src/models");
|
|
32
32
|
var qaseio_1 = require("qaseio");
|
|
33
33
|
var chalk_1 = __importDefault(require("chalk"));
|
|
34
|
-
var deasync_1 = require("deasync");
|
|
35
34
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
36
35
|
var _a = mocha_1.Runner.constants, EVENT_TEST_FAIL = _a.EVENT_TEST_FAIL, EVENT_TEST_PASS = _a.EVENT_TEST_PASS, EVENT_TEST_PENDING = _a.EVENT_TEST_PENDING, EVENT_RUN_END = _a.EVENT_RUN_END;
|
|
37
36
|
var Envs;
|
|
@@ -118,8 +117,10 @@ var CypressQaseReporter = /** @class */ (function (_super) {
|
|
|
118
117
|
_this.log(chalk_1.default(templateObject_9 || (templateObject_9 = __makeTemplateObject(["{blue Waiting for 30 seconds to publish pending results}"], ["{blue Waiting for 30 seconds to publish pending results}"]))));
|
|
119
118
|
var endTime = Date.now() + 30e3;
|
|
120
119
|
while ((_this.shouldPublish !== 0) && (Date.now() < endTime)) {
|
|
121
|
-
//
|
|
122
|
-
|
|
120
|
+
// sleep 500 ms
|
|
121
|
+
var sharedArrayBuffer = new SharedArrayBuffer(8);
|
|
122
|
+
var int32array = new Int32Array(sharedArrayBuffer);
|
|
123
|
+
Atomics.wait(int32array, 0, 0, 500);
|
|
123
124
|
}
|
|
124
125
|
if (_this.runId && _this.shouldPublish !== 0) {
|
|
125
126
|
_this.log(chalk_1.default(templateObject_10 || (templateObject_10 = __makeTemplateObject(["{red Could not send all results for 30 seconds after run. Please contact Qase Team.}"], ["{red Could not send all results for 30 seconds after run. Please contact Qase Team.}"]))));
|
|
@@ -137,7 +138,9 @@ var CypressQaseReporter = /** @class */ (function (_super) {
|
|
|
137
138
|
};
|
|
138
139
|
CypressQaseReporter.prototype.createRun = function (name, description, cb) {
|
|
139
140
|
var _this = this;
|
|
140
|
-
this.api.runs.create(this.options.projectCode, new models_1.RunCreate(name || "Automated run " + new Date().toISOString(), [],
|
|
141
|
+
this.api.runs.create(this.options.projectCode, new models_1.RunCreate(name || "Automated run " + new Date().toISOString(), [],
|
|
142
|
+
// eslint-disable-next-line camelcase
|
|
143
|
+
{ description: description || 'Cypress automated run', is_autotest: true }))
|
|
141
144
|
.then(function (res) { return res.data; })
|
|
142
145
|
.then(cb)
|
|
143
146
|
.catch(function (err) {
|
|
@@ -202,7 +205,8 @@ var CypressQaseReporter = /** @class */ (function (_super) {
|
|
|
202
205
|
var add_1 = caseIds.length > 1 ? chalk_1.default(templateObject_14 || (templateObject_14 = __makeTemplateObject([" {white For case ", "}"], [" {white For case ", "}"])), caseId) : '';
|
|
203
206
|
_this.log(chalk_1.default(templateObject_15 || (templateObject_15 = __makeTemplateObject(["{gray Start publishing: ", "}", ""], ["{gray Start publishing: ", "}", ""])), test.title, add_1));
|
|
204
207
|
_this.api.results.create(_this.options.projectCode, runId, new models_1.ResultCreate(caseId, status, {
|
|
205
|
-
|
|
208
|
+
// eslint-disable-next-line camelcase
|
|
209
|
+
time_ms: test.duration,
|
|
206
210
|
stacktrace: (_a = test.err) === null || _a === void 0 ? void 0 : _a.stack,
|
|
207
211
|
comment: test.err ? test.err.name + ": " + test.err.message : undefined,
|
|
208
212
|
}))
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA+B;AAC/B,+BAA8D;AAC9D,iDAA0G;AAC1G,iCAAiC;AACjC,gDAA0B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA+B;AAC/B,+BAA8D;AAC9D,iDAA0G;AAC1G,iCAAiC;AACjC,gDAA0B;AAG1B,mEAAmE;AAC7D,IAAA,KAKF,cAAM,CAAC,SAAS,EAJhB,eAAe,qBAAA,EACf,eAAe,qBAAA,EACf,kBAAkB,wBAAA,EAClB,aAAa,mBACG,CAAC;AAErB,IAAK,IAMJ;AAND,WAAK,IAAI;IACL,8BAAsB,CAAA;IACtB,mCAA2B,CAAA;IAC3B,6BAAqB,CAAA;IACrB,iCAAyB,CAAA;IACzB,+CAAuC,CAAA;AAC3C,CAAC,EANI,IAAI,KAAJ,IAAI,QAMR;AAUD;IAAkC,uCAAc;IAQ5C,6BAAmB,MAAc,EAAE,OAAqB;QAAxD,YACI,kBAAM,MAAM,EAAE,OAAO,CAAC,SAmDzB;QA1DO,aAAO,GAA4C,EAAE,CAAC;QACtD,aAAO,GAA+C,EAAE,CAAC;QACzD,mBAAa,GAAG,CAAC,CAAC;QAOtB,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC,eAA8B,CAAC;QACtD,KAAI,CAAC,GAAG,GAAG,IAAI,gBAAO,CAAC,KAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,KAAI,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;QAElF,IAAI,CAAC,KAAI,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CAAC,IAAI,CAAC,EAAC,IAAI,MAAA,EAAE,MAAM,EAAE,GAAG,CAAC,IAAI,EAAC,CAAC,CAAC;wBAC5C,KAAI,CAAC,GAAG,CAAC,eAAK,6GAAA,0BAA2B,EAAU,GAAI,EAAa,GAAI,EAAG,EAAE,KAApC,IAAI,CAAC,KAAK,EAAI,GAAG,CAAC,IAAI,CAAC,IAAI,EAAI,KAAG,EAAG,CAAC;wBAC/E,KAAI,CAAC,aAAa,EAAE,CAAC;oBACzB,CAAC,CAAC;yBACD,KAAK,CAAC,UAAC,GAAG;wBACP,KAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;wBACd,KAAI,CAAC,aAAa,EAAE,CAAC;oBACzB,CAAC,CAAC,CAAC;iBACV;YACL,CAAC,CAAC;YAEF,IAAI,KAAI,CAAC,KAAK,EAAE;gBACZ,WAAW,CAAC,KAAI,CAAC,KAAK,CAAC,CAAC;aAC3B;iBAAM;gBACH,KAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAClC;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IACL,0BAAC;AAAD,CAAC,AA9ND,CAAkC,iBAAS,CAAC,IAAI,GA8N/C;;AAED,iBAAS,mBAAmB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cypress-qase-reporter",
|
|
3
|
-
"version": "v1.
|
|
3
|
+
"version": "v1.4.1",
|
|
4
4
|
"description": "Qase TMS Cypress Reporter",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -29,27 +29,27 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"
|
|
33
|
-
"qaseio": "^1.2.0"
|
|
32
|
+
"qaseio": "^1.5.0"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
35
|
"@hutson/npm-deploy-git-tag": "^6.0.0",
|
|
37
36
|
"@types/chalk": "^2.2.0",
|
|
38
|
-
"@types/deasync": "^0.1.1",
|
|
39
37
|
"@types/jest": "^23.3.7",
|
|
40
38
|
"@types/mocha": "^7.0.2",
|
|
41
39
|
"@typescript-eslint/eslint-plugin": "^3.10.1",
|
|
42
40
|
"@typescript-eslint/eslint-plugin-tslint": "^3.10.1",
|
|
43
41
|
"@typescript-eslint/parser": "^3.10.1",
|
|
42
|
+
"ansi-regex": "^6.0.1",
|
|
44
43
|
"axios-mock-adapter": "^1.19.0",
|
|
45
44
|
"chalk": "^4.1.0",
|
|
46
45
|
"cypress": "^4.12.1",
|
|
47
46
|
"eslint": "^7.14.0",
|
|
48
47
|
"eslint-plugin-jsdoc": "^26.0.1",
|
|
49
48
|
"eslint-plugin-prefer-arrow": "^1.2.2",
|
|
50
|
-
"handlebars": "^4.7.
|
|
49
|
+
"handlebars": "^4.7.7",
|
|
51
50
|
"jest": "^26.6.3",
|
|
52
|
-
"
|
|
51
|
+
"json-schema": "^0.4.0",
|
|
52
|
+
"mocha": "^9.0.0",
|
|
53
53
|
"nodemon": "^2.0.6",
|
|
54
54
|
"ts-jest": "^26.4.4",
|
|
55
55
|
"typescript": "^3.9.7"
|