mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
UX: flag settings tab to follow UI guidelines (#28479)
Add settings tab to flags moderation page.
This commit is contained in:

committed by
GitHub

parent
417ade98f9
commit
df6c152fa1
11
spec/system/page_objects/components/admin-header.rb
Normal file
11
spec/system/page_objects/components/admin-header.rb
Normal file
@ -0,0 +1,11 @@
|
||||
# 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
|
Reference in New Issue
Block a user