Skip to content

Commit

Permalink
Merge pull request #56 from reportportal/feature/introduce-api-key-an…
Browse files Browse the repository at this point in the history
…d-launch-id-support

Introduce api key support. Add launchId option. Bump package versions, fix minor issues with default option values.
  • Loading branch information
AmsterGet authored Feb 5, 2024
2 parents a1a8b69 + 25e39b5 commit 7ae82b6
Show file tree
Hide file tree
Showing 15 changed files with 1,328 additions and 766 deletions.
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

0 comments on commit 7ae82b6

Please sign in to comment.