Skip to content

A platform for community discussion. Free, open, simple.

PERF: Speed up system tests with eager source positions (#44988)

Alan Guo Xiang Tanc748fac8e83c
diff --git a/spec/support/system/driver.rb b/spec/support/system/driver.rb
index 514cd511a48..32601a0d560 100644
--- a/spec/support/system/driver.rb
+++ b/spec/support/system/driver.rb
@@ -140,6 +140,7 @@ module SystemDrivers
--mute-audio
--remote-allow-origins=*
--disable-smooth-scrolling
+ --js-flags=--no-enable-lazy-source-positions
]
if ENV["PLAYWRIGHT_DEVTOOLS"].presence == "1" || ENV["SELENIUM_DEVTOOLS"].presence == "1"