Consolidate system specs into single directory, use rspec tags for configuration (#30206)
This commit is contained in:
parent
164b09bfcc
commit
0d397db5dd
30 changed files with 32 additions and 47 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.after(:each, type: :system) do
|
||||
config.after(:each, :js, type: :system) do
|
||||
errors = page.driver.browser.logs.get(:browser)
|
||||
if errors.present?
|
||||
aggregate_failures 'javascript errrors' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue