Create end-to-end test for Zoekt code search

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

We currently don't have end-to-end tests for Zoekt code search. This issue is created to track the work. We probably need the following coverages,

  • Front-end tests
    • Check that the test results can be rendered properly with Zoekt enabled
    • Check that the exact match and regex match can work as expected
    • Check the status message, Exact code search (powered by Zoekt) is enabled, can be displayed correctly. Also check the Syntax options are rendered properly
    • Check that the multiple matches in a single file can work properly
    • Check the project and group level search can work properly
  • API
    • Check the code search API can work properly with Zoekt enabled
  • Admin settings
    • Check that Zoekt related admin settings can work properly
Edited by 🤖 GitLab Bot 🤖