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

18 lines
290 B
Ruby

# 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