We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7b5188 commit d9aeab6Copy full SHA for d9aeab6
1 file changed
e2e/electron.spec.ts
@@ -1,7 +1,9 @@
1
import { test, expect } from '@playwright/test';
2
import { _electron as electron } from 'playwright';
3
import path from 'node:path';
4
+import { fileURLToPath } from 'node:url';
5
6
+const __dirname = path.dirname(fileURLToPath(import.meta.url));
7
const mainPath = path.join(__dirname, '..', 'dist-electron', 'main.js');
8
9
test.describe('Electron app', () => {
0 commit comments