ENV: 排毒6.0.4 节点:8.9.4
我已经挂了测试,在添加*
时我会一直看到这些消息:
// Match patterns for web pages. Does not affect content scripts.
// If this field is not specified, no webpages can connect.
"matches": [
"https://*.google.com/*",
"*://*.chromium.org/*",
...
],
然后我将此行添加到我的测试启动
--debug-synchronization 5000
我可以在测试开始时看到相应的日志:
detox info Sync App State: Waiting for network requests to finish.: (
detox info Sync "http://localhost:1234/configurations/_?examplerequset
detox info Sync )
detox info Sync Dispatch Queue: com.apple.main-thread
但我仍然在相同的网址上获得相同的await device.setURLBlacklist(['.*localhost:1234.*']);
日志。看起来它忽略了我的黑名单。
帮助将不胜感激。