mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-04 07:09:14 +00:00
Merge pull request #8310 from mkllnk/raise-js-errors-in-system-specs
Raise JavaScript errors within system specs
This commit is contained in:
@@ -13,7 +13,8 @@ Capybara.register_driver(:cuprite) do |app|
|
||||
# Don't load scripts from external sources, like google maps or stripe
|
||||
url_whitelist: ["http://localhost", "http://0.0.0.0", "http://127.0.0.1"],
|
||||
inspector: true,
|
||||
headless: true
|
||||
headless: true,
|
||||
js_errors: true,
|
||||
}
|
||||
)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user