🐛 Hover on history version entry to show options

This commit is contained in:
alonso.torres 2024-11-21 12:37:15 +01:00
parent db7c1fc7dd
commit 39620fe9c4
2 changed files with 7 additions and 5 deletions

View file

@ -58,10 +58,11 @@ test("Save and restore version", async ({ page }) => {
await page.getByRole("textbox").press("Enter");
await page
.locator("li")
.filter({ hasText: "INIT" })
.getByRole("button")
.click();
.getByLabel("History", { exact: true })
.locator("div")
.nth(3)
.hover();
await page.getByRole("button", { name: "Open version menu" }).click();
await page.getByRole("button", { name: "Restore" }).click();
await workspacePage.mockRPC(