mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-09 11:19:24 -05:00
fix: (e2e) API surveys after icons changed (#2225)
This commit is contained in:
committed by
GitHub
parent
91447e1502
commit
0aa468f8f3
@@ -25,7 +25,7 @@ test.describe("API Tests", () => {
|
||||
await page.getByRole("button", { name: "Add Production API Key" }).click();
|
||||
await page.getByPlaceholder("e.g. GitHub, PostHog, Slack").fill("E2E Test API Key");
|
||||
await page.getByRole("button", { name: "Add API Key" }).click();
|
||||
await page.locator("main").filter({ hasText: "Account" }).getByRole("img").click();
|
||||
await page.locator("main").filter({ hasText: "Account" }).getByRole("img").nth(1).click();
|
||||
|
||||
apiKey = await page.evaluate("navigator.clipboard.readText()");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user