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:
Johannes
2024-05-09 17:30:44 +02:00
committed by GitHub
parent 556ee870b1
commit 50407498ec
339 changed files with 3451 additions and 3173 deletions
@@ -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()");
});