mirror of
https://github.com/penpot/penpot.git
synced 2025-06-10 16:21:39 +02:00
♻️ Update button-icon with tooltip component (#6539)
* 🐛 Add tooltip to base icon button * 🎉 Update id prop * 🐛 Fix test
This commit is contained in:
parent
55997a3d4a
commit
a2abaea637
10 changed files with 60 additions and 39 deletions
|
@ -294,7 +294,7 @@ test("User have edition menu entries", async ({ page }) => {
|
|||
await workspacePage.setupEmptyFile(page);
|
||||
await workspacePage.goToWorkspace();
|
||||
|
||||
await page.getByTitle("Main menu").click();
|
||||
await page.getByRole("button", { name: "Main menu" }).click();
|
||||
await page.getByText("file").last().click();
|
||||
|
||||
await expect(page.getByText("Add as Shared Library")).toBeVisible();
|
||||
|
@ -390,7 +390,7 @@ test("[Taiga #9930] Zoom fit all doesn't fits all", async ({
|
|||
const zoom = await page.getByTitle("Zoom");
|
||||
await zoom.click();
|
||||
|
||||
const zoomIn = await page.getByTitle("Zoom in");
|
||||
const zoomIn = await page.getByRole("button", { name: "Zoom in" });
|
||||
await zoomIn.click();
|
||||
await zoomIn.click();
|
||||
await zoomIn.click();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue