✨ (playwright.config.ts): decrease the number of workers from 3 to 2 to improve test performance

🐛 (chat_io.spec.ts): remove unnecessary wait and fix typo in test name
🐛 (codeAreaModalComponent.spec.ts): remove unnecessary click action
🐛 (curl_api_generation.spec.ts): fix the URL in page.goto() to include the protocol
🐛 (dropdownComponent.spec.ts): remove unnecessary click actions
🐛 (inputListComponent.spec.ts): remove duplicate click action
🐛 (python_api_generation.spec.ts): fix the test name in getByRole() function
🐛 (tweaks_test.spec.ts): fix the test name in getByRole() function
This commit is contained in:
cristhianzl 2024-04-01 21:28:06 -03:00
commit 120c4687ee
8 changed files with 9 additions and 34 deletions

View file

@ -4,7 +4,7 @@ test("python_api_generation", async ({ page, context }) => {
await page.goto("/");
await page.locator('//*[@id="new-project-btn"]').click();
await context.grantPermissions(["clipboard-read", "clipboard-write"]);
await page.getByRole("heading", { name: "Data Ingestion" }).click();
await page.getByRole("heading", { name: "Basic Prompting" }).click();
await page.waitForTimeout(2000);
await page.getByText("API", { exact: true }).click();
await page.getByRole("tab", { name: "Python API" }).click();