discourse/spec/system/page_objects/components/base.rb
Martin Brennan cc0e2fe00b
DEV: Add basic system spec for discourse-reaction on post (#35029)
Covers default reactions,
`discourse_reactions_experimental_allow_any_emoji`,
`discourse_reactions_enabled_reactions`, and interaction with the
`emoji_deny_list` setting from core.

---------

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2025-09-30 10:29:34 +10:00

15 lines
256 B
Ruby

# frozen_string_literal: true
module PageObjects
module Components
class Base
include Capybara::DSL
include RSpec::Matchers
include SystemHelpers
def context_component
page.find(@context)
end
end
end
end