mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 06:24:48 +08:00
Add a catch-all `MAP * ~NOTFOUND` to Chrome's --host-resolver-rules so any non-excluded host fails to resolve, instead of system specs reaching the real internet. Local/test hosts (the Capybara server, *.localhost, MinIO) are excluded. Unlike Playwright request interception this leaves the browser HTTP cache enabled. Specs that need an external host opt in with `allow_network: ["example.com"]`, which runs them in a dedicated browser with those hosts excluded from the block. |
||
|---|---|---|
| .. | ||
| page_objects | ||
| campaign_banner_spec.rb | ||
| core_features_spec.rb | ||
| pricing_table_spec.rb | ||
| subscription_product_spec.rb | ||
| subscription_subscription_spec.rb | ||