discourse/spec/system/page_objects/components/admin-header.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
254 B
Ruby
Raw Normal View History

# 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