mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-04 12:51:37 -05:00
feat: Formbricks App Redesign (#2581)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com> Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
This commit is contained in:
@@ -19,13 +19,13 @@ test.describe("API Tests", () => {
|
||||
throw new Error("Unable to parse environmentId from URL");
|
||||
})();
|
||||
|
||||
await page.goto(`/environments/${environmentId}/settings/api-keys`);
|
||||
await page.goto(`/environments/${environmentId}/product/api-keys`);
|
||||
|
||||
await page.getByRole("button", { name: "Add Production API Key" }).isVisible();
|
||||
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").nth(1).click();
|
||||
await page.locator(".copyApiKeyIcon").click();
|
||||
|
||||
apiKey = await page.evaluate("navigator.clipboard.readText()");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user