Continuation of #6644 

Now chromium browser is used in workspaces tests instead of firefox and
screenshots after each test are properly saved in one folder when run
from IDE and from terminal using `yarn test:e2e` command
This commit is contained in:
BOHEUS
2024-08-27 09:07:10 +00:00
committed by GitHub
parent d622803ac2
commit b1fbf4b683
15 changed files with 316 additions and 46 deletions

View File

@ -0,0 +1,13 @@
import { exec } from 'child_process';
export async function sh(cmd) {
return new Promise((resolve, reject) => {
exec(cmd, (err, stdout, stderr) => {
if (err) {
reject(err);
} else {
resolve({ stdout, stderr });
}
});
});
}