discourse/spec/system/page_objects/components/logo.rb

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

18 lines
290 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module PageObjects
module Components
class Logo < PageObjects::Pages::Base
SELECTOR = "#site-logo"
def self.click
new.find(SELECTOR).click
end
def self.hover
new.find(SELECTOR).hover
end
end
end
end