mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 04:33:45 +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
|