Skip to content

Commit

Permalink
Refactor test fixture to track and ignore console errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tryb3l committed Oct 27, 2024
1 parent 5854bec commit 53a1c2e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion e2e/tests/formlayouts.test.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 53a1c2e

Please sign in to comment.