From 28a2de3cb3911ff3cc2f6f3a132ab869234738fb Mon Sep 17 00:00:00 2001 From: Thomas Zerr Date: Mon, 11 Mar 2024 13:22:46 +0100 Subject: [PATCH] Fix failing e2e Test because of trailing slash The e2e Tests for repository code file search were failing, because the file search url now contained a trailing slash. That trailing slash was removed. --- scm-ui/e2e-tests/package.json | 2 +- .../src/repos/codeSection/components/FileSearchButton.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scm-ui/e2e-tests/package.json b/scm-ui/e2e-tests/package.json index 10642652e6..fbd73d75e8 100644 --- a/scm-ui/e2e-tests/package.json +++ b/scm-ui/e2e-tests/package.json @@ -26,4 +26,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-webapp/src/repos/codeSection/components/FileSearchButton.tsx b/scm-ui/ui-webapp/src/repos/codeSection/components/FileSearchButton.tsx index 02a4b22796..e2d32213b4 100644 --- a/scm-ui/ui-webapp/src/repos/codeSection/components/FileSearchButton.tsx +++ b/scm-ui/ui-webapp/src/repos/codeSection/components/FileSearchButton.tsx @@ -49,7 +49,7 @@ const FileSearchButton: FC = ({ baseUrl, revision, currentSource, reposit return (