From b9ae625ed4d14f210babe5625b8ee99b6b0786cc Mon Sep 17 00:00:00 2001 From: abose Date: Fri, 21 Jun 2024 18:19:28 +0530 Subject: [PATCH] build: remove file drop and metrics hidden windows in desktop test runner --- src-build/createDistTestReleaseConfig.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-build/createDistTestReleaseConfig.js b/src-build/createDistTestReleaseConfig.js index 1bdbb77f..4b449427 100644 --- a/src-build/createDistTestReleaseConfig.js +++ b/src-build/createDistTestReleaseConfig.js @@ -25,11 +25,11 @@ async function createDistTestReleaseConfig() { const phoenixVersion = configJson.package.version; if(os.platform() === 'win32'){ configJson.tauri.windows[0].url = `https://phtauri.localhost/v${phoenixVersion}/`; - // for test windows, desktop-metrics.html isn't needed } else { configJson.tauri.windows[0].url = `phtauri://localhost/v${phoenixVersion}/`; - // for test windows, desktop-metrics.html isn't needed } + // for tests we only need the main window. other windows seems to be breaking tests in github actions. + configJson.tauri.windows = [configJson.tauri.windows[0]]; if(os.platform() === 'darwin'){ // inject macos icons configJson.tauri.bundle.icon = [