Skip to content

Resolve "Add tests for "Redesign projects lists UI""

What does this MR do?

Adds missing tests for project list UI redesign:

In particular, it adds tests for the following methods:

  • explore_projects_tab? in projects_helper.rb
  • show_merge_request_count? inprojects_helper.rb`
  • show_issue_count? in projects_helper.rb

In addition, it adds a test to overview_spec.rb to test if the compact class is set correctly.

Moreover, it changes the interface of the helper methods show_merge_request_count? and show_issue_count?.

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/55359

Does this MR meet the acceptance criteria?

Closes #55359 (closed)

Edited by Martin Wortschack

Merge request reports

Loading