mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Raise JavaScript errors within system specs
Re-raising console errors helps us to find subtle bugs.
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