Files
filteredandGitHub 1a06378d5d [e2e] Implement install process for post-install tests (#907)
* 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
2025-02-15 20:54:10 +11:00

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');
});