Skip to content

Commit

Permalink
fix: fixed conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
vickywane committed Mar 30, 2021
1 parent 2f13a9f commit deea843
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion cypress/integration/ambianic-tests/navbar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,25 @@ context('Check Navbar Items', () => {
assert.equal($result.children().children()[0].childElementCount, 5, 'Five links in the drawer')
})
})
})

it('Should be an about button', () => {
const t = cy.get('[data-cy=about]')
expect(t).to.exist
})

it('Should have a five links', () => {
cy.get('[data-cy=drawer]').then(($result) => {
assert.equal($result.children().children()[0].childElementCount,5,'Five links in the drawer')
})
})

it('Should have a clickable timeline icon', () => {
const icon = cy.get('[data-cy=timeline-icon]')

icon.should("be.visible")

icon.click()

cy.url().should('include', '/timeline')
})
})

0 comments on commit deea843

Please sign in to comment.