Skip to content

Commit a8bd1de

Browse files
committed
build: remove file drop and metrics hidden windows in desktop test runner
1 parent 848e7e4 commit a8bd1de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src-build/createDistTestReleaseConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ async function createDistTestReleaseConfig() {
2525
const phoenixVersion = configJson.package.version;
2626
if(os.platform() === 'win32'){
2727
configJson.tauri.windows[0].url = `https://phtauri.localhost/v${phoenixVersion}/`;
28-
// for test windows, desktop-metrics.html isn't needed
2928
} else {
3029
configJson.tauri.windows[0].url = `phtauri://localhost/v${phoenixVersion}/`;
31-
// for test windows, desktop-metrics.html isn't needed
3230
}
31+
// for tests we only need the main window. other windows seems to be breaking tests in github actions.
32+
configJson.tauri.windows = [configJson.tauri.windows[0]];
3333
if(os.platform() === 'darwin'){
3434
// inject macos icons
3535
configJson.tauri.bundle.icon = [

0 commit comments

Comments
 (0)