Skip to content

Commit

Permalink
fix: gui tests no longer open browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Kabir-Ivan committed Jul 2, 2024
1 parent 001aae3 commit 3ed72d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/func/tests/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const hideScreenshots = async (browser) => {

const runGui = async (projectDir) => {
return new Promise((resolve, reject) => {
const child = childProcess.spawn('npm', ['run', 'gui'], {cwd: projectDir});
const child = childProcess.spawn('npm', ['run', 'gui', '--', '--no-open'], {cwd: projectDir});

let processKillTimeoutId = setTimeout(() => {
treeKill(child.pid).then(() => {
Expand Down

0 comments on commit 3ed72d1

Please sign in to comment.