diff --git a/qase-javascript-commons/changelog.md b/qase-javascript-commons/changelog.md index 2a4a12f4..89123958 100644 --- a/qase-javascript-commons/changelog.md +++ b/qase-javascript-commons/changelog.md @@ -1,3 +1,10 @@ +# qase-javascript-commons@2.0.12 + +## What's new + +Support qaseio package version 2.2.0 + + # qase-javascript-commons@2.0.11 ## What's new diff --git a/qase-javascript-commons/package.json b/qase-javascript-commons/package.json index bb98d6d5..98c42ca5 100644 --- a/qase-javascript-commons/package.json +++ b/qase-javascript-commons/package.json @@ -1,6 +1,6 @@ { "name": "qase-javascript-commons", - "version": "2.0.11", + "version": "2.0.12", "description": "Qase JS Reporters", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -33,7 +33,7 @@ "lodash.merge": "^4.6.2", "lodash.mergewith": "^4.6.2", "mime-types": "^2.1.33", - "qaseio": "^2.1.3", + "qaseio": "~2.2.0", "strip-ansi": "^6.0.1", "uuid": "^9.0.0" }, diff --git a/qase-javascript-commons/src/reporters/testops-reporter.ts b/qase-javascript-commons/src/reporters/testops-reporter.ts index 1b771297..c83c3dc8 100644 --- a/qase-javascript-commons/src/reporters/testops-reporter.ts +++ b/qase-javascript-commons/src/reporters/testops-reporter.ts @@ -250,7 +250,7 @@ export class TestOpsReporter extends AbstractReporter { let environmentId: number | undefined; if (this.environment != undefined) { try { - const { data } = await this.api.environment.getEnvironments(this.projectCode, 100); + const { data } = await this.api.environment.getEnvironments(this.projectCode, undefined, this.environment, 100); const env = data.result?.entities?.find((env) => env.slug === this.environment); if (env) { environmentId = env.id;