Browse Source

ci: cleanup up test app directories (#25257)

* ci: cleanup up test app directories

* ci: use electron prefix for a testing apps so that the can be cleaned up

* Revert "ci: cleanup up test app directories"

This reverts commit a47daba812ee95f506cac0f1bfedda8be7b4e2f0.

* fixup test due to app name change

Co-authored-by: John Kleinschmidt <[email protected]>
trop[bot] 4 years ago
parent
commit
7931c8abfd

+ 1 - 1
spec-main/api-crash-reporter-spec.ts

@@ -245,7 +245,7 @@ ifdescribe(!isLinuxOnArm && !process.mas && !process.env.DISABLE_CRASH_REPORTER_
 
         const crash = await waitForCrash();
         expect(crash.prod).to.equal('Electron');
-        expect(crash._productName).to.equal('remote-control');
+        expect(crash._productName).to.equal('electron-test-remote-control');
         expect(crash.process_type).to.equal('renderer');
         expect(crash['electron.v8-fatal.location']).to.equal('v8::Context::New()');
         expect(crash['electron.v8-fatal.message']).to.equal('Circular extension dependency');

+ 1 - 1
spec-main/fixtures/api/ipc-main-listeners/package.json

@@ -1,4 +1,4 @@
 {
-  "name": "ipc-main-listeners",
+  "name": "electron-test-ipc-main-listeners",
   "main": "main.js"
 }

+ 1 - 1
spec-main/fixtures/api/net-log/package.json

@@ -1,4 +1,4 @@
 {
-  "name": "net-log",
+  "name": "electron-test-net-log",
   "main": "main.js"
 }

+ 1 - 1
spec-main/fixtures/apps/crash/package.json

@@ -1,4 +1,4 @@
 {
-  "name": "crash",
+  "name": "electron-test-crash",
   "main": "main.js"
 }

+ 1 - 1
spec-main/fixtures/apps/remote-control/package.json

@@ -1,4 +1,4 @@
 {
-  "name": "remote-control",
+  "name": "electron-test-remote-control",
   "main": "main.js"
 }

+ 1 - 1
spec-main/fixtures/auto-update/check-with-headers/package.json

@@ -1,5 +1,5 @@
 {
-  "name": "initial-app",
+  "name": "electron-test-initial-app",
   "version": "1.0.0",
   "main": "./index.js"
 }

+ 1 - 1
spec-main/fixtures/auto-update/check/package.json

@@ -1,5 +1,5 @@
 {
-  "name": "initial-app",
+  "name": "electron-test-initial-app",
   "version": "1.0.0",
   "main": "./index.js"
 }

+ 1 - 1
spec-main/fixtures/auto-update/initial/package.json

@@ -1,5 +1,5 @@
 {
-  "name": "initial-app",
+  "name": "electron-test-initial-app",
   "version": "1.0.0",
   "main": "./index.js"
 }

+ 1 - 1
spec/fixtures/api/app-path/package.json

@@ -1,4 +1,4 @@
 {
-  "name": "app-path",
+  "name": "electron-test-app-path",
   "main": "lib/index.js"
 }

+ 1 - 1
spec/fixtures/api/command-line/package.json

@@ -1,4 +1,4 @@
 {
-  "name": "command-line",
+  "name": "electron-test-command-line",
   "main": "main.js"
 }

+ 1 - 1
spec/fixtures/api/default-menu/package.json

@@ -1,4 +1,4 @@
 {
-  "name": "default-menu",
+  "name": "electron-test-default-menu",
   "main": "main.js"
 }

+ 1 - 1
spec/fixtures/api/locale-check/package.json

@@ -1,5 +1,5 @@
 {
-  "name": "locale-check",
+  "name": "electron-test-locale-check",
   "main": "main.js"
 }
 

+ 1 - 1
spec/fixtures/api/site-instance-overrides/package.json

@@ -1,4 +1,4 @@
 {
-  "name": "site-instance-overrides",
+  "name": "electron-test-site-instance-overrides",
   "main": "main.js"
 }

+ 1 - 1
spec/fixtures/api/window-all-closed/package.json

@@ -1,4 +1,4 @@
 {
-  "name": "window-all-closed",
+  "name": "electron-test-window-all-closed",
   "main": "main.js"
 }

+ 1 - 1
spec/fixtures/snapshot-items-available/package.json

@@ -1,4 +1,4 @@
 {
-  "name": "snapshot-items-available",
+  "name": "electron-test-snapshot-items-available",
   "main": "main.js"
 }