Refactor: Remove unnecessary wait times in store-shard-0.spec.ts (#5105)
This commit is contained in:
parent
624a2dde5d
commit
d338a3e86f
1 changed files with 0 additions and 3 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue