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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,