Skip to content

Commit

Permalink
modify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Aug 23, 2024
1 parent c2932f9 commit 5b8d62f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cypress/e2e/spec.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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")
Expand Down

0 comments on commit 5b8d62f

Please sign in to comment.