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
5 changes: 3 additions & 2 deletions qase-python-commons/changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# qase-python-commons@4.1.4
# qase-python-commons@4.1.5

## What's new

- Added support input data for Gherkin steps.
- Fixed an issue where the test run ID and plan ID were not being set correctly from Environment Variables.
- Fixed an issue where the batch size was not being set correctly from Environment Variables.

# qase-python-commons@4.1.3

Expand Down
2 changes: 1 addition & 1 deletion qase-python-commons/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "qase-python-commons"
version = "4.1.4"
version = "4.1.5"
description = "A library for Qase TestOps and Qase Report"
readme = "README.md"
authors = [{name = "Qase Team", email = "support@qase.io"}]
Expand Down
6 changes: 3 additions & 3 deletions qase-python-commons/src/qase/commons/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ def __load_env_config(self):
self.config.testops.set_defect(value)

if key == 'QASE_TESTOPS_PLAN_ID':
self.config.testops.plan.set_id(value)
self.config.testops.plan.set_id(int(value.strip()))

if key == 'QASE_TESTOPS_RUN_ID':
self.config.testops.run.set_id(value)
self.config.testops.run.set_id(int(value.strip()))

if key == 'QASE_TESTOPS_RUN_TITLE':
self.config.testops.run.set_title(value)
Expand Down Expand Up @@ -307,7 +307,7 @@ def __load_env_config(self):
self.config.testops.run.external_link.set_link(value)

if key == 'QASE_TESTOPS_BATCH_SIZE':
self.config.testops.batch.set_size(value)
self.config.testops.batch.set_size(int(value.strip()))

if key == 'QASE_TESTOPS_CONFIGURATIONS_VALUES':
# Parse configurations from environment variable
Expand Down