mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 18:34:07 +08:00
Refactor: Remove unnecessary wait times in store-shard-0.spec.ts (#5105)
This commit is contained in:
@ -2,7 +2,6 @@ import { test } from "@playwright/test";
|
||||
|
||||
test("should exists Store", { tag: ["@release"] }, async ({ page }) => {
|
||||
await page.goto("/");
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.getByTestId("button-store").isVisible();
|
||||
await page.getByTestId("button-store").isEnabled();
|
||||
@ -10,10 +9,8 @@ test("should exists Store", { tag: ["@release"] }, async ({ page }) => {
|
||||
|
||||
test("should not have an API key", { tag: ["@release"] }, async ({ page }) => {
|
||||
await page.goto("/");
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.getByTestId("button-store").click();
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.getByText("API Key Error").isVisible();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user