Skip to content

Commit

Permalink
Merge pull request opf#15869 from opf/fix-persisted-lists-spec
Browse files Browse the repository at this point in the history
Archvied projects are no longer visible for non-admins
  • Loading branch information
klaustopher authored Jun 17, 2024
2 parents 9c7805f + 8e7cad4 commit 65c522a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/features/projects/persisted_lists_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -521,15 +521,13 @@
projects_page.expect_sidebar_filter("My projects", selected: false, visible: true)

projects_page.expect_sidebar_filter("Active projects", selected: false, visible: false)
projects_page.expect_sidebar_filter("Archived projects", selected: false, visible: false)

# In the sidebar, search for another substring
projects_page.search_for_sidebar_filter("DO NOT MATCH")

projects_page.expect_sidebar_filter("My projects list", selected: true, visible: false)
projects_page.expect_sidebar_filter("My projects", selected: false, visible: false)
projects_page.expect_sidebar_filter("Active projects", selected: false, visible: false)
projects_page.expect_sidebar_filter("Archived projects", selected: false, visible: false)

projects_page.expect_no_search_results_in_sidebar
end
Expand Down

0 comments on commit 65c522a

Please sign in to comment.