test(app): session actions (#11386)

This commit is contained in:
Filip
2026-01-31 13:42:47 +01:00
committed by GitHub
parent f834915d3f
commit 511c7abaca
18 changed files with 313 additions and 106 deletions

View File

@@ -14,7 +14,12 @@ test("dialog edit project updates name and startup script", async ({ page, gotoS
await expect(trigger).toBeVisible()
await trigger.click({ force: true })
await page.getByRole("menuitem", { name: "Edit" }).click()
const menu = page.locator('[data-component="dropdown-menu-content"]').first()
await expect(menu).toBeVisible()
const editItem = menu.getByRole("menuitem", { name: "Edit" }).first()
await expect(editItem).toBeVisible()
await editItem.click({ force: true })
const dialog = page.getByRole("dialog")
await expect(dialog).toBeVisible()