From 53a1c2e04e3e0fbce64718934e6ffa011c6a738d Mon Sep 17 00:00:00 2001 From: tryb3l <56679619+tryb3l@users.noreply.github.com> Date: Mon, 28 Oct 2024 00:30:37 +0100 Subject: [PATCH] Refactor test fixture to track and ignore console errors --- e2e/tests/formlayouts.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/e2e/tests/formlayouts.test.ts b/e2e/tests/formlayouts.test.ts index 8e3120d..eeb8ae1 100644 --- a/e2e/tests/formlayouts.test.ts +++ b/e2e/tests/formlayouts.test.ts @@ -1,7 +1,11 @@ import { test, StartPage } from '@fixtures/base-fixtures'; test.describe('Form Layouts', () => { - test.use({ startPage: StartPage.FormLayouts, trackConsoleErrors: true }); + test.use({ + startPage: StartPage.FormLayouts, + trackConsoleErrors: true, + ignoreConsoleErrors: ['Error msg to ignore during test suit execution'], + }); test('Should submit inline form successfully', async ({ formLayoutsPage,