From f955da942b48eb3d55711d6dbe1a5045e494dd31 Mon Sep 17 00:00:00 2001 From: 7PH Date: Mon, 29 Jan 2024 18:08:43 +0100 Subject: [PATCH] SONAR-21455 Fix branch overview integration tests --- .../sonar-web/src/main/js/apps/overview/branches/test-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/overview/branches/test-utils.ts b/server/sonar-web/src/main/js/apps/overview/branches/test-utils.ts index 319831442db..70f8c243408 100644 --- a/server/sonar-web/src/main/js/apps/overview/branches/test-utils.ts +++ b/server/sonar-web/src/main/js/apps/overview/branches/test-utils.ts @@ -28,7 +28,7 @@ import { export const getPageObjects = () => { const user = userEvent.setup(); const selectors = { - overallCodeButton: byRole('radio', { name: /overview.overall_code/ }), + overallCodeButton: byRole('tab', { name: /overview.overall_code/ }), softwareImpactMeasureCard: (softwareQuality: SoftwareQuality) => byTestId(`software-impact-card-${softwareQuality}`), }; -- 2.39.5