mirror of
https://github.com/hanzoai/studio-desktop.git
synced 2026-10-30 18:21:16 +00:00
* Ensure install test disposes test env * nit * Add post-install setup project * [Refactor] Re-export expect to enable custom tests * [Refactor] Use class properties for locators * Add post-install app setup "test" * [Refactor] Set dispose test environment at project level * [DevExp] Use soft fail for install location
14 lines
366 B
TypeScript
14 lines
366 B
TypeScript
import { expect, test } from '../testExtensions';
|
|
|
|
test('App window has title', async ({ app }) => {
|
|
const window = await app.firstWindow();
|
|
await expect(window).toHaveTitle('ComfyUI');
|
|
});
|
|
|
|
test('App quits when window is closed', async ({ app }) => {
|
|
const window = await app.firstWindow();
|
|
|
|
await window.close();
|
|
await app.app.waitForEvent('close');
|
|
});
|