Send Electron crashpad reports to Sentry from Nightly (#579)

* Send Electron crashpad reports to Sentry from Nightly

* Update electron-main.ts

* Increase timeout

* Fix preload injection breaking things

* Iterate

* Iterate

* Iterate

* iterate
This commit is contained in:
Michael Telatynski
2023-03-16 10:31:06 +00:00
committed by GitHub
parent 3d578e815a
commit 8235275d2c
4 changed files with 149 additions and 39 deletions

View File

@@ -23,7 +23,7 @@ import { ElectronApplication, Page } from "playwright-core";
describe("App launch", () => {
const artifactsPath = path.join(process.cwd(), "test_artifacts");
fs.mkdirSync(artifactsPath);
if (!fs.existsSync(artifactsPath)) fs.mkdirSync(artifactsPath);
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "element-desktop-tests"));
console.log("Using temp profile directory: ", tmpDir);