Skip to content

Commit

Permalink
DEV: Update specs for core change (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq authored Dec 19, 2024
1 parent 13c68a5 commit 602db39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/system/disable_sort_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@
fab!(:user)

before do
SiteSetting.experimental_glimmer_topic_list_groups = Group::AUTO_GROUPS[:everyone]
SiteSetting.glimmer_topic_list_mode = "auto"
sign_in(user)
end

it "disables the ability to sort topic list columns" do
category_page.visit(category)
expect(page).to have_css(".topic-list:not(.ember-view)")

expect(find("th.activity")).to match_selector(".sortable")

category.custom_fields["disable_topic_resorting"] = true
Expand Down

0 comments on commit 602db39

Please sign in to comment.