fix: ignore some tools
ie /camera-recorder
This commit is contained in:
parent
720c874344
commit
9f38cdfd0f
@ -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…
Reference in New Issue
Block a user