Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions app/electron-client/tests/gettingStarted.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,13 @@ test('Exercise 1', async ({ page, projectsDir }) => {
// Playwright seems to not always fire proper pointerleave event
// We must do that ourselves, to hide circular menu of the node.
await page
.getByText('readquery‘Sheet1’')
.locator('.GraphNode', { hasText: 'readquery‘Sheet1’' })
.evaluate((element) => element.dispatchEvent(new PointerEvent('pointerleave')))
// and wait until it is actually hidden
await expect(
page.getByText('readquery`Sheet1`').getByLabel('Show visualization (Space)'),
page
.locator('.GraphNode', { hasText: 'readquery‘Sheet1’' })
.getByLabel('Show visualization (Space)'),
).toHaveCount(0)

// Set parameters
Expand Down
Loading