Skip to content

Commit

Permalink
b
Browse files Browse the repository at this point in the history
  • Loading branch information
LabhanshAgrawal committed Jul 25, 2023
1 parent 493748c commit 83dc1df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
run: yarn install
env:
npm_config_node_gyp: ${{ github.workspace }}${{ runner.os == 'Windows' && '\node_modules\node-gyp\bin\node-gyp.js' || '/node_modules/node-gyp/bin/node-gyp.js' }}
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- name: Install libarchive-tools
if: runner.os == 'Linux'
run: |
Expand Down
8 changes: 5 additions & 3 deletions test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ test.before(async () => {
}

app = await _electron.launch({
executablePath: pathToBinary,
args: ['--disable_splash_screen', '--disable-extensions', '--disable-dev-shm-usage', '--no-sandbox']
// executablePath: pathToBinary,
args: ['target', '--disable_splash_screen', '--disable-extensions', '--disable-dev-shm-usage', '--no-sandbox']
});
await app.firstWindow();
const page = await app.firstWindow();
await page.waitForLoadState('domcontentloaded');
console.log('page loaded');
await new Promise((resolve) => setTimeout(resolve, 5000));
});

Expand Down

0 comments on commit 83dc1df

Please sign in to comment.