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

@@ -97,11 +97,6 @@ test.describe('Missing models warning', () => {
})
test.describe('Settings', () => {
test.afterEach(async ({ comfyPage }) => {
// Restore default setting value
await comfyPage.setSetting('Comfy.Graph.ZoomSpeed', 1.1)
})
test('@mobile Should be visible on mobile', async ({ comfyPage }) => {
await comfyPage.page.keyboard.press('Control+,')
const searchBox = comfyPage.page.locator('.settings-content')