1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Fix playwright screenshot update command on linux (#12060)

* Change permission for synapse to work

* Upgrade playwright
This commit is contained in:
R Midhun Suresh
2023-12-15 20:00:59 +05:30
committed by GitHub
parent 9d93a3f54d
commit a7c039d314
3 changed files with 19 additions and 15 deletions

View File

@ -84,6 +84,10 @@ async function cfgDirFromTemplate(opts: StartHomeserverOpts): Promise<Homeserver
console.log(`Gen -> ${outputSigningKey}`);
await fse.writeFile(outputSigningKey, `ed25519 x ${signingKey}`);
// Allow anyone to read, write and execute in the /temp/react-sdk-synapsedocker-xxx directory
// so that the DIND setup that we use to update the playwright screenshots work without any issues.
await fse.chmod(tempDir, 0o757);
return {
port,
baseUrl,