Skip to content

Commit

Permalink
Merge pull request #167 from reportportal/develop
Browse files Browse the repository at this point in the history
Release 5.4.0
  • Loading branch information
AmsterGet authored Jul 17, 2024
2 parents 85eef20 + e1f4751 commit 2766d02
Show file tree
Hide file tree
Showing 16 changed files with 1,664 additions and 1,695 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @AmsterGet @AliakseiLiasnitski
* @AmsterGet
4 changes: 2 additions & 2 deletions .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Install of node dependencies
run: npm install
- name: Run lint
run: npm run lint
- name: Check test coverage
- name: Run tests and check coverage
run: npm run test:coverage
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Install of node dependencies
run: npm install
- name: Run lint
run: npm run lint
- name: Check test coverage
- name: Run tests and check coverage
run: npm run test:coverage

publish-to-npm-and-gpr:
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Install of node dependencies
run: npm install
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: 'https://npm.pkg.github.com'
scope: '@reportportal'
- name: Publish to GPR
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
### Added
- New API methods for scenarios.
### Fixed
- Scenario retries are inconsistently tagged. Addressed [#142](https://github.com/reportportal/agent-js-cucumber/issues/142).
### Changed
- `@reportportal/client-javascript` bumped to version `5.1.4`, new `launchUuidPrintOutput` types introduced: 'FILE', 'ENVIRONMENT'.
### Security
- Updated versions of vulnerable packages (braces).
### Deprecated
- Node.js 12 usage. This minor version is the latest that supports Node.js 12.

## [5.3.1] - 2024-04-30
### Security
- Updated versions of vulnerable packages (@reportportal/client-javascript, @cucumber/cucumber).

## [5.3.0] - 2024-02-07

### Added
- Add `@cucumber/cucumber` version 10 support. Addressed [155](https://github.com/reportportal/agent-js-cucumber/issues/155).
### Changed
Expand Down
110 changes: 84 additions & 26 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.1
5.3.2-SNAPSHOT
20 changes: 14 additions & 6 deletions modules/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ const LOG_LEVELS = {
WARN: 'WARN',
};

const RP_ENTITY_LAUNCH = 'launch';
const RP_ENTITIES = {
LAUNCH: 'launch',
SCENARIO: 'scenario',
};

const CUCUMBER_EVENTS = {
GHERKIN_DOCUMENT: 'gherkin-document',
Expand Down Expand Up @@ -77,10 +80,15 @@ const TEST_ITEM_TYPES = {
};

const RP_EVENTS = {
TEST_CASE_ID: 'rp/testCaseId',
ATTRIBUTES: 'rp/attributes',
DESCRIPTION: 'rp/description',
STATUS: 'rp/status',
STEP_TEST_CASE_ID: 'rp/step/testCaseId',
STEP_ATTRIBUTES: 'rp/step/attributes',
STEP_DESCRIPTION: 'rp/step/description',
STEP_STATUS: 'rp/step/status',
SCENARIO_TEST_CASE_ID: 'rp/scenario/testCaseId',
SCENARIO_ATTRIBUTES: 'rp/scenario/attributes',
SCENARIO_DESCRIPTION: 'rp/scenario/description',
SCENARIO_STATUS: 'rp/scenario/status',
LAUNCH_STATUS: 'rp/launch/status',
};

const TEST_STEP_FINISHED_RP_MESSAGES = {
Expand All @@ -90,7 +98,7 @@ const TEST_STEP_FINISHED_RP_MESSAGES = {
};

module.exports = {
RP_ENTITY_LAUNCH,
RP_ENTITIES,
STATUSES,
LOG_LEVELS,
CUCUMBER_EVENTS,
Expand Down
Loading

0 comments on commit 2766d02

Please sign in to comment.