Fix playwright screenshot update command on linux (#12060)
* Change permission for synapse to work * Upgrade playwright
This commit is contained in:
parent
9d93a3f54d
commit
a7c039d314
3 changed files with 19 additions and 15 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue