Commit dd2263b
committed
fix: update imagePreview browser tests to use current fixture APIs
The tests from PR #8143 were written against stale ComfyPage APIs
that were refactored in PR #8510:
- comfyPage.dragAndDropFile → comfyPage.dragDrop.dragAndDropFile
- comfyPage.setSetting → comfyPage.settings.setSetting
- comfyPage.loadWorkflow → comfyPage.workflow.loadWorkflow
- comfyPage.getNodeRefsByType → comfyPage.nodeOps.getNodeRefsByType
- comfyPage type param → import ComfyPage type directly
Also removes test.fixme since the root cause was API mismatch.
Amp-Thread-ID: https://ampcode.com/threads/T-019c73c1-be32-7687-b758-672fedaf61af1 parent 3b5c976 commit dd2263b
1 file changed
Lines changed: 10 additions & 9 deletions
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments