mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 15:23:48 +08:00
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
|