mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 22:02:38 +03:00
fix: ignore some tools
ie /camera-recorder
This commit is contained in:
1 parent
720c874344
commit
9f38cdfd0f
1 file changed
+5
@@ -1,5 +1,7 @@
|
|||||||
import { expect, test } from '@playwright/test';
|
import { expect, test } from '@playwright/test';
|
||||||
|
|
||||||
|
const ignoredHrefs = new Set(['/camera-recorder']);
|
||||||
|
|
||||||
test.describe('IT Tool', () => {
|
test.describe('IT Tool', () => {
|
||||||
test('Loads all tools correctly', async ({ page }) => {
|
test('Loads all tools correctly', async ({ page }) => {
|
||||||
test.slow();
|
test.slow();
|
||||||
@@ -26,6 +28,9 @@ test.describe('IT Tool', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
for (const toolHref of allTools) {
|
for (const toolHref of allTools) {
|
||||||
|
if (ignoredHrefs.has(toolHref)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
await test.step(toolHref, async () => {
|
await test.step(toolHref, async () => {
|
||||||
errors.splice(0, errors.length);
|
errors.splice(0, errors.length);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user