Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@ module.exports = {
"no-shadow": [0],
"no-unused-vars": [0],
"no-undef": [0],
"no-await-in-loop": [0],
"max-len": [0],
"camelcase": false
},
};
5 changes: 4 additions & 1 deletion .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [3.0.0] - 2023-11-01
- support CodeceptJS 3.x

## [1.1.9] - 2019-11-13
- remove unused lib

Expand Down Expand Up @@ -36,4 +39,4 @@
- move Markdown files to .github
- bump `reportportal-client` to `5.2.3`
- add eslint
- combine all feature tests into a launch instead of each feature will stay in a launch
- combine all feature tests into a launch instead of each feature will stay in a launch
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Node.js CI
name: Tests

on: [push]

Expand All @@ -11,13 +11,13 @@ jobs:

strategy:
matrix:
node-version: [11.x, 12.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm run install_lib
- run: npm i && npx playwright install
- run: npm test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package-lock.json
node_modules
test/output/*
test/output/*
.idea
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# codeceptjs-rphelper

This helpes you integrate the test results of CodeceptJS with ReportPortal
This helps you publish the CodeceptJS test results to ReportPortal

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

## Installation

Expand All @@ -14,7 +14,7 @@ npm i codeceptjs-rphelper --save

## Configuration

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

Example:

Expand Down Expand Up @@ -107,10 +107,6 @@ Finish launch 65ndx5jucolqsp
Success finish launch 65ndx5jucolqsp
```

## Screenshot
## Video

![ReportPortal Test](https://i.ibb.co/zGkBpZ0/Screenshot-2020-02-24-at-11-26-47.png)

## Notes

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`.
https://github.com/kobenguyent/codeceptjs-rphelper/assets/7845001/c006723c-044b-4a5a-ad82-ddf9a08a5787
Loading