Setup clean setting state before every playwright test (#1309)

* Use reload

* setting setup

* nit

* Remove setting cleanups

* Wait for frame

* nit

* nit
This commit is contained in:
Chenlei Hu
2024-10-25 11:25:17 -04:00
committed by GitHub
parent 12d421b42c
commit 4f9dc830b6
12 changed files with 30 additions and 93 deletions

View File

@@ -7,10 +7,6 @@ test.describe('Browser tab title', () => {
await comfyPage.setSetting('Comfy.UseNewMenu', 'Top')
})
test.afterEach(async ({ comfyPage }) => {
await comfyPage.setSetting('Comfy.UseNewMenu', 'Disabled')
})
test('Can display workflow name', async ({ comfyPage }) => {
const workflowName = await comfyPage.page.evaluate(async () => {
return window['app'].workflowManager.activeWorkflow.name