From eab8db8a25c16fe05147165513a584c107352508 Mon Sep 17 00:00:00 2001 From: Dmitrii Gridnev Date: Tue, 27 Jan 2026 17:38:14 +0300 Subject: [PATCH] chore: release version 5.0.1 with bug fix - Updated version to 5.0.1 in pyproject.toml. - Fixed an issue where the test run link was not being generated correctly when filtering by status. This release addresses a critical bug to improve the functionality of the Qase Python Commons library. --- qase-python-commons/changelog.md | 6 ++++++ qase-python-commons/pyproject.toml | 2 +- qase-python-commons/src/qase/commons/reporters/testops.py | 2 +- .../src/qase/commons/reporters/testops_multi.py | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/qase-python-commons/changelog.md b/qase-python-commons/changelog.md index 5f04a0f1..19dc4ade 100644 --- a/qase-python-commons/changelog.md +++ b/qase-python-commons/changelog.md @@ -1,3 +1,9 @@ +# qase-python-commons@5.0.1 + +## What's new + +- Fixed an issue where the test run link was not being generated correctly when filtering by status. + # qase-python-commons@5.0.0 ## What's new diff --git a/qase-python-commons/pyproject.toml b/qase-python-commons/pyproject.toml index 9fa69e9f..a29db7eb 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 = "5.0.0" +version = "5.0.1" 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/reporters/testops.py b/qase-python-commons/src/qase/commons/reporters/testops.py index 44a4eb25..fb61195d 100644 --- a/qase-python-commons/src/qase/commons/reporters/testops.py +++ b/qase-python-commons/src/qase/commons/reporters/testops.py @@ -177,7 +177,7 @@ def __show_link(self, ids: Union[None, List[int]], title: str): self.logger.log(f"See why this test failed: {link}", "info") def __prepare_link(self, ids: Union[None, List[int]], title: str): - link = f"{self.__baseUrl}/run/{self.project_code}/dashboard/{self.run_id}?source=logs&status=%5B2%5D&search=" + link = f"{self.__baseUrl}/run/{self.project_code}/dashboard/{self.run_id}?source=logs&search=" if ids is not None and len(ids) > 0: return f"{link}{self.project_code}-{ids[0]}" return f"{link}{urllib.parse.quote_plus(title)}" diff --git a/qase-python-commons/src/qase/commons/reporters/testops_multi.py b/qase-python-commons/src/qase/commons/reporters/testops_multi.py index 09b94328..bcb5c9bf 100644 --- a/qase-python-commons/src/qase/commons/reporters/testops_multi.py +++ b/qase-python-commons/src/qase/commons/reporters/testops_multi.py @@ -322,7 +322,7 @@ def __prepare_link(self, project_code: str, ids: Union[None, List[int]], title: run_id = self.project_runs.get(project_code, '') # Ensure run_id is converted to string for URL run_id_str = str(run_id) if run_id else '' - link = f"{self.__baseUrl}/run/{project_code}/dashboard/{run_id_str}?source=logs&status=%5B2%5D&search=" + link = f"{self.__baseUrl}/run/{project_code}/dashboard/{run_id_str}?source=logs&search=" if ids is not None and len(ids) > 0: return f"{link}{project_code}-{ids[0]}" return f"{link}{urllib.parse.quote_plus(title)}"