From 5b8d62fc276d54ed2d7f99b325109a6f87326535 Mon Sep 17 00:00:00 2001 From: Jon Eugster Date: Sat, 24 Aug 2024 01:59:24 +0200 Subject: [PATCH] modify tests --- cypress/e2e/spec.cy.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cypress/e2e/spec.cy.ts b/cypress/e2e/spec.cy.ts index 9945773..e788f6b 100644 --- a/cypress/e2e/spec.cy.ts +++ b/cypress/e2e/spec.cy.ts @@ -9,12 +9,18 @@ describe('Editor Test', () => { }) it('displays the infoview', () => { + cy.on('uncaught:exception', (err, runnable) => { + return false + }) cy.visit('http://localhost:5173/') cy.get('.squiggly-info') cy.iframe().contains('0 : Nat') }) it('changes themes', () => { + cy.on('uncaught:exception', (err, runnable) => { + return false + }) cy.visit('http://localhost:5173/') cy.get('[data-cy="theme-light"]').click() cy.contains('#check 0') @@ -31,6 +37,9 @@ describe('Editor Test', () => { }) it('inputs unicode', () => { + cy.on('uncaught:exception', (err, runnable) => { + return false + }) cy.visit('http://localhost:5173/') cy.get('[data-cy="leader-backslash"]').click() cy.contains('#check 0').click("left")