There was an error while loading. Please reload this page.
1 parent 36588fc commit 44abed6Copy full SHA for 44abed6
1 file changed
browser_tests/tests/copyPaste.spec.ts
@@ -1,6 +1,7 @@
1
-import { expect } from '@playwright/test'
2
-
3
-import { comfyPageFixture as test } from '@e2e/fixtures/ComfyPage'
+import {
+ comfyExpect as expect,
+ comfyPageFixture as test
4
+} from '@e2e/fixtures/ComfyPage'
5
import { DefaultGraphPositions } from '@e2e/fixtures/constants/defaultGraphPositions'
6
7
test.beforeEach(async ({ comfyPage }) => {
@@ -25,7 +26,7 @@ test.describe(
25
26
await node.centerOnNode()
27
await node.clickContextMenuOption('Pin')
28
await comfyPage.contextMenu.waitForHidden()
- await expect.poll(() => node.isPinned()).toBe(true)
29
+ await expect(node).toBePinned()
30
31
const nodeType = await node.getType()
32
const originalNodes = await comfyPage.nodeOps.getNodeRefsByType(nodeType)
0 commit comments