From 9412069bcddd34d78d20fc7269462d60ef1a5891 Mon Sep 17 00:00:00 2001 From: 7PH Date: Fri, 17 Mar 2023 15:45:45 +0100 Subject: [PATCH] SONAR-18823 Rework SourceViewerTest E2Es UI tests --- .../js/components/SourceViewer/__tests__/SourceViewer-it.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewer-it.tsx b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewer-it.tsx index cc0388f5704..1439f083790 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewer-it.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewer-it.tsx @@ -387,7 +387,7 @@ it('should highlight symbol', async () => { const symbols = await screen.findAllByText('symbole'); await user.click(symbols[0]); - // For now just check the class. Maybe found a better accessible way of showing higlighted symbole + // For now just check the class. Maybe find a better accessible way of showing higlighted symbols symbols.forEach((element) => { expect(element).toHaveClass('highlighted'); }); -- 2.39.5