mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 13:33:45 +08:00
af74cf5c77
Display modal for combined new and unread view with options: - [x] Dismiss new topics - [x] Dismiss new posts - [ ] Stop tracking these topics so they stop appearing in my new list
20 lines
439 B
Ruby
20 lines
439 B
Ruby
# 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
|
|
end
|
|
end
|
|
end
|