mirror of
https://github.com/discourse/discourse.git
synced 2024-12-27 08:34:03 +08:00
18 lines
290 B
Ruby
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
|