Skip to content

Commit

Permalink
remove canny test dependent on canny service
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarDamkjaer committed Mar 21, 2023
1 parent b7e3615 commit 478b9b2
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions e2e_tests/integration/0.index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,6 @@ describe('Neo4j Browser', () => {
cy.connect('neo4j', password)
})

it('can show Canny badge in "Document" icon and correspond side bar drawer', () => {
cy.window().then(win => {
if (win.Canny && win.IsCannyLoaded && typeof win.Canny === 'function') {
// The Canny badge should appear when initially connected to the database
cy.get('[data-testid="navigationCannyDocuments"]', {
timeout: 5000
})
.children('div')
.should('have.class', 'Canny_BadgeContainer')
.children('div')
.should('have.class', 'Canny_Badge')

// Click the navigation button to open the sidebar to show Documents drawer, and the badge should be shown in the changelog button
cy.get('[data-testid="navigationDocuments"]').click()
cy.get('[data-testid="documentDrawerCanny"]')
.children('div')
.should('have.class', 'Canny_BadgeContainer')
}
})
})

it('can empty the db', () => {
cy.executeCommand(':clear')
const query = 'MATCH (n) DETACH DELETE n'
Expand Down

0 comments on commit 478b9b2

Please sign in to comment.