Switch Seed and Clone buttons

This commit is contained in:
dnlklmn
2024-02-14 18:22:50 +00:00
committed by Rūdolfs Ošiņš
parent 51efbc93d7
commit d883a0f3dd
8 changed files with 25 additions and 20 deletions
+3 -3
View File
@@ -74,7 +74,7 @@ test("edit issue", async ({ page, authenticatedPeer }) => {
).toBeVisible();
await expect(page.getByPlaceholder("Leave a description")).toBeHidden();
await page.getByRole("button", { name: "edit issue" }).click();
await page.getByRole("button", { name: "Edit" }).click();
await page
.getByPlaceholder("Title")
.fill("This is a modified issue title to be dismissed");
@@ -89,7 +89,7 @@ test("edit issue", async ({ page, authenticatedPeer }) => {
page.getByText("We'll give it a description and edit it."),
).toBeVisible();
await page.getByRole("button", { name: "edit issue" }).click();
await page.getByRole("button", { name: "Edit" }).click();
await page.getByPlaceholder("Title").fill("This is a modified issue title");
await page
.getByPlaceholder("Leave a description")
@@ -180,7 +180,7 @@ test("handling embeds", async ({ page, authenticatedPeer }) => {
page.locator(".badge").filter({ hasText: "radicle-228x228.png" }),
).toBeVisible();
await page.getByRole("button", { name: "edit issue" }).click();
await page.getByRole("button", { name: "Edit" }).click();
await page
.getByPlaceholder("Leave a description")
.fill(
+2 -2
View File
@@ -198,7 +198,7 @@ test("edit patch", async ({ page, authenticatedPeer }) => {
await expect(page.getByPlaceholder("Title")).toBeHidden();
await expect(page.getByPlaceholder("Leave a description")).toBeHidden();
await page.getByRole("button", { name: "edit patch" }).click();
await page.getByRole("button", { name: "Edit", exact: true }).click();
await page
.getByPlaceholder("Title")
.fill("This is a modified patch title to be dismissed");
@@ -209,7 +209,7 @@ test("edit patch", async ({ page, authenticatedPeer }) => {
await expect(titleLocator).toBeVisible();
await expect(descriptionLocator).toBeVisible();
await page.getByRole("button", { name: "edit patch" }).click();
await page.getByRole("button", { name: "Edit", exact: true }).click();
await page.getByPlaceholder("Title").fill("This is a modified patch title");
await page
.getByPlaceholder("Leave a description")