Refactor: remove unnecessary wait in component-as-tool-shortcut test (#5130)

refactor: Remove unnecessary wait in component-as-tool-shortcut test
This commit is contained in:
anovazzi1 2024-12-06 20:47:00 -03:00 committed by GitHub
commit 70bb9cbb29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,6 @@ test(
{ tag: ["@release", "@components"] },
async ({ page }) => {
await page.goto("/");
await page.waitForTimeout(1000);
let modalCount = 0;
try {
const modalTitleElement = await page?.getByTestId("modal-title");