Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(e2e): preserve visible nested folder navigation

Alfredo Lopezd916175d55ea
diff --git a/desktop-app/test/e2e-playwright/gfs-desktop-operator-parity.test.ts b/desktop-app/test/e2e-playwright/gfs-desktop-operator-parity.test.ts
index a1a54aced..ed81213e1 100644
--- a/desktop-app/test/e2e-playwright/gfs-desktop-operator-parity.test.ts
+++ b/desktop-app/test/e2e-playwright/gfs-desktop-operator-parity.test.ts
@@ -265,9 +265,9 @@ test.describe.serial('GFS Desktop linked-operator parity', () => {
const renamedFolder = operatorJourney.readResource(rootId, operatorJourney.names.renamedFolder)!
operatorJourney.resources.set('renamedFolder', renamedFolder)
- await resourceRow(page, renamedFolder)
- .getByRole('button', { name: renamedFolder.name, exact: true })
- .click()
+ // openResourceManage() resolves a non-current resource through the
+ // controller before opening the dialog, so the visible page is already
+ // inside the renamed folder when the dialog closes.
await expect(page.getByRole('navigation', { name: 'File location' })).toContainText(
renamedFolder.name
)