Skip to content

Commit

Permalink
debug: browser.deleteSession
Browse files Browse the repository at this point in the history
  • Loading branch information
goosewobbler committed May 2, 2024
1 parent 5a2903a commit 7a55a12
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions example-cjs/e2e-standalone/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ async function init() {

// Clean up - quit the app as it remains loaded
// Linux uses xvfb on CI, app.quit will break the E2Es in this case
if (!isCI) {
await browser.electron.execute((electron) => electron.app.quit());
}
// if (!isCI) {
await browser.deleteSession();
//}

process.exit();
}
Expand Down
6 changes: 3 additions & 3 deletions example-electron-builder/e2e-standalone/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ if (appVersion !== packageJson.version) {

// Clean up - quit the app as it remains loaded
// Linux uses xvfb on CI, app.quit will break the E2Es in this case
if (!isCI) {
await browser.electron.execute((electron) => electron.app.quit());
}
// if (!isCI) {
await browser.deleteSession();
// }

process.exit();
6 changes: 3 additions & 3 deletions example/e2e-standalone/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ if (appVersion !== packageJson.version) {

// Clean up - quit the app as it remains loaded
// Linux uses xvfb on CI, app.quit will break the E2Es in this case
if (!isCI) {
await browser.electron.execute((electron) => electron.app.quit());
}
// if (!isCI) {
await browser.deleteSession();
//}

process.exit();

0 comments on commit 7a55a12

Please sign in to comment.