hedgedoc/cypress/integration/helpDialog.spec.ts

22 lines
475 B
TypeScript
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2020 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
describe('Help Dialog', () => {
beforeEach(() => {
cy.visit('/n/test')
cy.get('.btn.active.btn-outline-secondary > i.fa-columns')
.should('exist')
})
it('ToDo-List', () => {
cy.get('.fa.fa-question-circle')
.click()
cy.get('input[type="checkbox"]')
.should('exist')
.should('not.be.checked')
})
})