mirror of
https://github.com/vector-im/element-web.git
synced 2026-07-05 23:10:16 +00:00
Fix playwright screenshot consistency (#33645)
Add the --unsafe flag because we like to live dangerously, as commented.
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
#!/bin/bash
|
||||
exec /usr/bin/playwright run-server --port "$PORT" --host 0.0.0.0
|
||||
|
||||
# --unsafe allows clients to pass CLI flags to chromium for things like disabling
|
||||
# subpixel rendering which we need for consistent screenshots.
|
||||
# Better might be to specify them statically here but unfortunately that's not an
|
||||
# option.
|
||||
exec /usr/bin/playwright run-server --port "$PORT" --host 0.0.0.0 --unsafe
|
||||
|
||||
Reference in New Issue
Block a user