From 4ef95f0e792918bc66dfb72aef1ce585d50de1de Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Wed, 24 Jul 2024 10:21:53 -0700 Subject: [PATCH] tests: update --- tests/main.spec.js | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/tests/main.spec.js b/tests/main.spec.js index e61220f..fd691de 100644 --- a/tests/main.spec.js +++ b/tests/main.spec.js @@ -69,33 +69,9 @@ test( 'full load', async () => const timestamp = Date.now().toString() - const appPath = await app.evaluate( async ( { app } ) => - { - return app.getAppPath() - } ) - - console.log( appPath ) - const window = await app.firstWindow() console.log( await window.title() ) window.on( 'console', console.log ) - /* - wait for #root div before taking screenshot - */ - - await window.waitForSelector( '#root', { state: 'visible' } ) - - /* - path: `e2e/screenshots/test-${timestamp}.png`, - */ - - const ss1 = await window.screenshot( { path: './test-results/1.png' } ) - - /* - Since the close button minimizes to tray, activate the menu and select quit - */ - - await eph.clickMenuItemById( app, 'quit' ) await app.close() } )