mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 01:03:59 +08:00
20 lines
376 B
Ruby
20 lines
376 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module PageObjects
|
||
|
module Modals
|
||
|
class Bookmark < PageObjects::Modals::Base
|
||
|
def fill_name(name)
|
||
|
fill_in "bookmark-name", with: name
|
||
|
end
|
||
|
|
||
|
def select_preset_reminder(identifier)
|
||
|
find("#tap_tile_#{identifier}").click
|
||
|
end
|
||
|
|
||
|
def save
|
||
|
find("#save-bookmark").click
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|