test: Improve specs using page objects

Этот коммит содержится в:
Mattia Roccoberton
2025-03-16 15:17:50 +01:00
родитель 72182edf44
Коммит 3162920fb5
8 изменённых файлов: 203 добавлений и 46 удалений

Просмотреть файл

@@ -12,7 +12,8 @@ require 'rspec/rails'
require 'capybara/rails'
require 'rspec/retry'
Dir[File.expand_path('support/**/*.rb', __dir__)].each { |f| require_relative f }
Rails.root.glob("../support/**/*.rb").each { |f| require_relative f }
Rails.root.glob("../page_objects/**/*.rb").each { |f| require_relative f }
# Force deprecations to raise an exception.
# ActiveSupport::Deprecation.behavior = :raise