2023-06-06 20:06:57 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module PageObjects
|
|
|
|
module Modals
|
|
|
|
class DismissNew < PageObjects::Modals::Base
|
|
|
|
def has_dismiss_topics_checked?
|
|
|
|
find(".dismiss-topics label").has_checked_field?
|
|
|
|
end
|
|
|
|
|
|
|
|
def has_dismiss_posts_checked?
|
|
|
|
find(".dismiss-posts label").has_checked_field?
|
|
|
|
end
|
|
|
|
|
|
|
|
def has_untrack_unchecked?
|
|
|
|
find(".untrack label").has_no_checked_field?
|
|
|
|
end
|
2023-07-06 20:28:27 -04:00
|
|
|
|
|
|
|
def click_dismiss
|
|
|
|
click_button("dismiss-read-confirm")
|
|
|
|
self
|
|
|
|
end
|
2023-06-06 20:06:57 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|