diff --git a/apps/remixdesktop/src/main.ts b/apps/remixdesktop/src/main.ts index c096ed27e0..367b7873fa 100644 --- a/apps/remixdesktop/src/main.ts +++ b/apps/remixdesktop/src/main.ts @@ -36,8 +36,8 @@ const windowSet = new Set([]); export const createWindow = async (dir?: string): Promise => { // Create the browser window. const mainWindow = new BrowserWindow({ - width: 3840,// (isE2E ? 3840 : screen.getPrimaryDisplay().size.width * 0.8), - height: 2160, //(isE2E ? 2160 : screen.getPrimaryDisplay().size.height * 0.8), + width: 1000,// (isE2E ? 3840 : screen.getPrimaryDisplay().size.width * 0.8), + height: 1000, //(isE2E ? 2160 : screen.getPrimaryDisplay().size.height * 0.8), frame: true, webPreferences: { preload: path.join(__dirname, 'preload.js') @@ -66,8 +66,8 @@ export const createWindow = async (dir?: string): Promise => { windowSet.delete(mainWindow) }) - if (isE2E) - mainWindow.maximize() + //if (isE2E) + // mainWindow.maximize() windowSet.add(mainWindow) //mainWindow.webContents.openDevTools(); diff --git a/apps/remixdesktop/test/nighwatch.app.ts b/apps/remixdesktop/test/nighwatch.app.ts index d3d5e79fd9..c3e4b709f0 100644 --- a/apps/remixdesktop/test/nighwatch.app.ts +++ b/apps/remixdesktop/test/nighwatch.app.ts @@ -75,8 +75,8 @@ module.exports = { if(useOffline) args = [...args, '--useOffline']; // Set display size - const windowSize = "--window-size=2920,2080"; - args = [...args, windowSize]; + const windowSize = "--window-size=1000,1000"; + args = [...args]; switch (type) { case 'Windows_NT':