Skip to content

Consolidate labels sidebar rspec tests [RUN AS-IF-FOSS]

What does this MR do and why?

-Refactor rspec test for due date widget in issue board and issue board sidebars.

  • Unquarantine and fix test from #27992 (closed) -Creates one shared example with more coverage for both pages.

Previous iterations of sidebar tests consolidation

Fixes style and port error to new labels widget. To reproduce, attempt to create a label with a name that is already taken.

Screenshots or screen recordings

Before (only in create issue form) After (everywhere new labels widget is used + new issue form)
Screenshot_from_2021-12-15_15-03-20 Screenshot_from_2021-12-16_10-38-06

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Related to #347496

Edited by Florie Guibert

Merge request reports

Loading