Files
discourse/spec/system/page_objects/pages/group_index.rb
Ted Johansson 1a7303a35e FIX: Amend broken group automatic member dialog (#31854)
When creating or editing a group, we are meant to show a dialog telling the admin how many members will be automatically added.
2025-03-18 19:37:37 +08:00

18 lines
296 B
Ruby

# frozen_string_literal: true
module PageObjects
module Pages
class GroupIndex < PageObjects::Pages::Base
def visit
page.visit("/groups")
self
end
def click_new_group
page.find(".groups-header-new").click
self
end
end
end
end