diff --git a/qase-python-commons/changelog.md b/qase-python-commons/changelog.md index bb008b44..c18e3616 100644 --- a/qase-python-commons/changelog.md +++ b/qase-python-commons/changelog.md @@ -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 diff --git a/qase-python-commons/pyproject.toml b/qase-python-commons/pyproject.toml index 738367f2..6e0d1635 100644 --- a/qase-python-commons/pyproject.toml +++ b/qase-python-commons/pyproject.toml @@ -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"}] diff --git a/qase-python-commons/src/qase/commons/config.py b/qase-python-commons/src/qase/commons/config.py index 425abce8..c8a04b1c 100644 --- a/qase-python-commons/src/qase/commons/config.py +++ b/qase-python-commons/src/qase/commons/config.py @@ -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) @@ -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