Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/users/index_sub_header_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%=
render(Primer::OpenProject::SubHeader.new(data: sub_header_data_attributes)) do |subheader|
render(Primer::OpenProject::SubHeader.new(collapsed_search: true, data: sub_header_data_attributes)) do |subheader|
subheader.with_action_button(
scheme: :primary,
leading_icon: :plus,
Expand Down
1 change: 1 addition & 0 deletions spec/features/users/unaccent_user_filter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
it "finds a user with accents in the name in the global administration" do
visit users_path

click_button accessible_name: "Search"
fill_in "Search", with: "Cecile"
wait_for_network_idle
expect(page).to have_css("td.firstname", text: "Cécile")
Expand Down
3 changes: 3 additions & 0 deletions spec/support/pages/admin/users/index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ def filter_by_status(value)
end

def filter_by_name(value)
within("#content") do
click_button accessible_name: "Search"
end
fill_in "Search", with: value

wait_for_network_idle
Expand Down
Loading