mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-04 13:29:13 -04:00
fix: ignore some tools
ie /camera-recorder
This commit is contained in:
parent
720c874344
commit
9f38cdfd0f
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue