Skip to content

Commit 0fd3382

Browse files
author
Sukhdeep Sidhu
committed
Fixed tests
1 parent a1953f6 commit 0fd3382

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/system/dashboard/groups_test.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ def setup
5050
subgroup1 = groups(:subgroup1)
5151
visit dashboard_groups_url
5252

53+
click_on I18n.t(:'dashboard.groups.index.sorting.created_at_desc')
54+
click_on I18n.t(:'dashboard.groups.index.sorting.name_asc'), match: :first
55+
5356
within('div.treegrid-container') do
5457
assert_text group1.name
5558
assert_no_text subgroup1.name
@@ -109,6 +112,9 @@ def setup
109112
login_as users(:john_doe)
110113
visit dashboard_groups_url
111114

115+
click_on I18n.t(:'dashboard.groups.index.sorting.created_at_desc')
116+
click_on I18n.t(:'dashboard.groups.index.sorting.name_asc'), match: :first
117+
112118
within('#groups_tree') do
113119
within("##{dom_id(group1)}") do
114120
assert_text group1.name

0 commit comments

Comments
 (0)