mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-05 17:40:33 +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.
17 lines
296 B
Ruby
17 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
|