mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 04:23:40 +08:00
df6c152fa1
Add settings tab to flags moderation page.
12 lines
254 B
Ruby
12 lines
254 B
Ruby
# frozen_string_literal: true
|
|
|
|
module PageObjects
|
|
module Components
|
|
class AdminHeader < PageObjects::Pages::Base
|
|
def has_tabs?(names)
|
|
expect(page.all(".admin-nav-submenu__tabs a").map(&:text)).to eq(names)
|
|
end
|
|
end
|
|
end
|
|
end
|