what path is this
This commit is contained in:
parent
1ed930ad96
commit
b1fbdca1ba
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ import { test, expect } from "@playwright/test";
|
||||||
import { join } from "path";
|
import { join } from "path";
|
||||||
|
|
||||||
test("Launch electron app", async () => {
|
test("Launch electron app", async () => {
|
||||||
|
|
||||||
|
console.log(__dirname)
|
||||||
|
|
||||||
const electronApp = await electron.launch({ args: [join(__dirname, "../../build")] });
|
const electronApp = await electron.launch({ args: [join(__dirname, "../../build")] });
|
||||||
|
|
||||||
const appPath = await electronApp.evaluate(async ({ app }) => {
|
const appPath = await electronApp.evaluate(async ({ app }) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue