Skip to content

Commit d15d856

Browse files
authored
feat: support 3.x (#19)
* feat: support 3.x * fix: tests * fix: tests * Update package.json * fix: some issues * fix: update node version * fix: update node version * fix: update readme
1 parent 6f29126 commit d15d856

File tree

11 files changed

+359
-264
lines changed

11 files changed

+359
-264
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@ module.exports = {
2424
"no-shadow": [0],
2525
"no-unused-vars": [0],
2626
"no-undef": [0],
27+
"no-await-in-loop": [0],
28+
"max-len": [0],
29+
"camelcase": false
2730
},
2831
};

.github/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## [3.0.0] - 2023-11-01
4+
- support CodeceptJS 3.x
5+
36
## [1.1.9] - 2019-11-13
47
- remove unused lib
58

@@ -36,4 +39,4 @@
3639
- move Markdown files to .github
3740
- bump `reportportal-client` to `5.2.3`
3841
- add eslint
39-
- combine all feature tests into a launch instead of each feature will stay in a launch
42+
- combine all feature tests into a launch instead of each feature will stay in a launch

.github/workflows/nodejs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Node.js CI
1+
name: Tests
22

33
on: [push]
44

@@ -11,13 +11,13 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [11.x, 12.x]
14+
node-version: [18.x]
1515

1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Use Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v1
19+
uses: actions/setup-node@v3
2020
with:
2121
node-version: ${{ matrix.node-version }}
22-
- run: npm run install_lib
22+
- run: npm i && npx playwright install
2323
- run: npm test

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
package-lock.json
22
node_modules
3-
test/output/*
3+
test/output/*
4+
.idea

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# codeceptjs-rphelper
44

5-
This helpes you integrate the test results of CodeceptJS with ReportPortal
5+
This helps you publish the CodeceptJS test results to ReportPortal
66

7-
codeceptjs-rphelper is a [CodeceptJS](https://codecept.io/) helper which can publish tests results on [ReportPortal](https://reportportal.io/) after execution.
7+
`codeceptjs-rphelper` is a [CodeceptJS](https://codecept.io/) helper which can publish tests results on [ReportPortal](https://reportportal.io/) after execution.
88

99
## Installation
1010

@@ -14,7 +14,7 @@ npm i codeceptjs-rphelper --save
1414

1515
## Configuration
1616

17-
This plugin should be added in `codecept.json/codecept.conf.js`
17+
This plugin should be added in `codecept.conf.(js|ts)`
1818

1919
Example:
2020

@@ -107,10 +107,6 @@ Finish launch 65ndx5jucolqsp
107107
Success finish launch 65ndx5jucolqsp
108108
```
109109
110-
## Screenshot
110+
## Video
111111
112-
![ReportPortal Test](https://i.ibb.co/zGkBpZ0/Screenshot-2020-02-24-at-11-26-47.png)
113-
114-
## Notes
115-
116-
Right now, when running with `codeceptjs run`, all tests will be added under a launch. However, if you run with `codeceptjs run-workers no_of_workers`, there will be multiple launches that match `no_of_workers` and all tests will be added under any random launch. One thing you could try right now is trying to use `codeceptjs run-workers --suites no_of_workers`, by that, you won't get the messy results on `reportportal`.
112+
https://github.com/kobenguyent/codeceptjs-rphelper/assets/7845001/c006723c-044b-4a5a-ad82-ddf9a08a5787

0 commit comments

Comments
 (0)