Skip to content

Commit

Permalink
chore: slow operations on deep tests
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Dec 12, 2024
1 parent 9ec1e7b commit cc49210
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions projects/demo-playwright/tests/deep/deep-select.pw.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ test.describe('Deep / Select', () => {
await expect(select).toBeVisible();

await select.click();
await api.waitTuiIcons();

const options = await api.getOptions();

Expand All @@ -47,14 +46,12 @@ test.describe('Deep / Select', () => {
await api.focusOnBody();
await api.hideNotifications();
await api.waitStableState();
await api.waitTuiIcons();

await expect(api.apiPageExample).toHaveScreenshot(
`deep-${path}-${name}-row—${rowIndex}-select-option-${index}.png`,
);

await select.click();
await api.waitTuiIcons();
}

const cleaner = await api.getCleaner(select);
Expand All @@ -69,7 +66,6 @@ test.describe('Deep / Select', () => {

await api.waitStableState();
await api.focusOnBody();
await api.waitTuiIcons();
}
}),
);
Expand Down
2 changes: 0 additions & 2 deletions projects/demo-playwright/tests/deep/deep-toggle.pw.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ test.describe('Deep / Toggle', () => {
await expect(toggle).toBeVisible();

await toggle.click();
await api.waitTuiIcons();
await api.hideNotifications();
await api.waitStableState();
await page.waitForTimeout(100);
Expand All @@ -41,7 +40,6 @@ test.describe('Deep / Toggle', () => {
);

await toggle.click();
await api.waitTuiIcons();
}
}),
);
Expand Down

0 comments on commit cc49210

Please sign in to comment.