smokey
smokey copied to clipboard
Fix Asset Manager errors
We're seeing the following error in the "Check a draft asset can be served" scenario
Detected JS errors:
https://draft-assets.integration.publishing.service.gov.uk/favicon.ico - Failed to load resource: the server responded with a status of 404 () (RuntimeError)
./features/support/hooks.rb:31:in `After'
Given this is effectively testing Asset Manager's use as an API, we think we can safely ignore JavaScript errors in these scenarios
This scenario seemed to start failing after this favicon-related change in Static: https://github.com/alphagov/static/pull/3443
Testing
You should manually test your PR before merging.
See https://github.com/alphagov/smokey/blob/main/docs/deployment.md