Skip to content

Fixed label related tests for Apollo boards

Natalia Tepluhina requested to merge ntepluhina-fix-label-related-tests into master

What does this MR do and why?

This MR adds type policy for isShowingLabels for both disabled and enabled apollo_boards feature flags. This fixes an issue where isShowingLabels could be set to undefined when local cache was cleared

Screenshots or screen recordings

No visual changes

How to set up and validate locally

  1. In rails console enable the Apollo boards
    Feature.enable(:apollo_boards)
  2. Visit any issue board.
  3. Log out from GitLab.
  4. Open the same issue board.
  5. You should see Show labels toggle in On state and labels should be visible on issue cards.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports