Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce api key support. Add launchId option. Bump package versions, fix minor issues with default option values. #56

Merged
merged 9 commits into from
Feb 5, 2024
Merged
4 changes: 2 additions & 2 deletions .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- name: Clean install of node dependencies
run: npm ci
- name: Install of node dependencies
run: npm install
- name: Build the source code
run: npm run build
- name: Run lint
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- name: Clean install of node dependencies
run: npm ci
- name: Install of node dependencies
run: npm install
- name: Build the source code
run: npm run build
- name: Run lint
Expand Down
19 changes: 10 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
### Fixed
- Reporter breaks on skipped test for WebdriverIO + Mocha - [#46](https://github.com/reportportal/agent-js-webdriverio/issues/46)
### Updated
- `@reportportal/client-javascript` bumped to version `5.0.14`
### Added
- Browser parameter to steps
- Browser parameter to steps.
- `launchId` option to the config to attach run results to an existing launch. Related to parallel execution on one and several machines.
### Fixed
- Reporter breaks on skipped test for WebdriverIO + Mocha. Addressed [#46](https://github.com/reportportal/agent-js-webdriverio/issues/46)
- Fix error with launch finishing. Addressed [53](https://github.com/reportportal/agent-js-webdriverio/issues/53) and [47](https://github.com/reportportal/agent-js-webdriverio/issues/47). Thanks to [AlexGalichenko](https://github.com/AlexGalichenko).
### Changed
- `token` configuration option was renamed to `apiKey` to maintain common convention.
- `@reportportal/client-javascript` bumped to version `5.1.1`
- Readme file updated.

## [5.0.3] - 2022-10-05
### Added
Expand All @@ -16,12 +20,9 @@
- Support nested steps for Cucumber reporting via `cucumberNestedSteps` flag
- `skippedIssue` parameter to not mark skipped tests as 'To Investigate' by default
- TypeScript definitions provided

### Updated
- `@reportportal/client-javascript` bumped to version `5.0.6`

### Changed
- Package size reduced
- `@reportportal/client-javascript` bumped to version `5.0.6`

## [5.0.1] - 2021-10-05
### Fixed
Expand Down
50 changes: 33 additions & 17 deletions README.md

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 EPAM Systems
* Copyright 2024 EPAM Systems
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -18,6 +18,9 @@
module.exports = {
roots: ['<rootDir>/src'],
transform: { '.(ts|tsx)': 'ts-jest' },
moduleNameMapper: {
'^axios$': require.resolve('axios'),
},
testEnvironment: 'node',
testRegex: '/__tests__/.*\\.(test|spec)?\\.(ts|js)$',
moduleFileExtensions: ['ts', 'js'],
Expand Down
Loading
Loading