mirror of
https://github.com/discourse/discourse.git
synced 2025-06-24 15:54:05 +08:00

When creating or editing a group, we are meant to show a dialog telling the admin how many members will be automatically added.
18 lines
296 B
Ruby
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
|