2023-11-24 12:32:07 +00:00
|
|
|
To update snapshots you will need to run Playwright on a Linux machine.
|
|
|
|
|
If you have access to docker then you can use the following:
|
|
|
|
|
|
|
|
|
|
```shell
|
2023-11-28 10:22:25 +00:00
|
|
|
docker build playwright -t matrix-react-sdk-playwright
|
2023-11-24 12:32:07 +00:00
|
|
|
docker run \
|
|
|
|
|
--rm \
|
|
|
|
|
--network host \
|
|
|
|
|
-v $(pwd)/../:/work/ \
|
|
|
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
|
|
|
-v /tmp/:/tmp/ \
|
2023-11-28 10:22:25 +00:00
|
|
|
-it matrix-react-sdk-playwright
|
2023-11-24 12:32:07 +00:00
|
|
|
```
|