mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
Code improvements (#1086)
* Extract code into hook * Refactor code to remove let * Reformat code * Extract version-info-modal into components * Use main block in landinglayout * Add fixedWidth and classname attribute to IconButton Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
029295dd3b
commit
107f0f6fa3
14 changed files with 192 additions and 142 deletions
|
@ -53,8 +53,7 @@ describe('Intro page', () => {
|
|||
.click()
|
||||
cy.get('[data-cy="version-modal"]')
|
||||
.should('be.visible')
|
||||
cy.get('[data-cy="version-modal"] [data-cy="close-version-modal-button"]')
|
||||
.contains('Close')
|
||||
cy.get('[data-cy="version-modal"] .modal-header .close')
|
||||
.click()
|
||||
cy.get('[data-cy="version-modal"]')
|
||||
.should('not.exist')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue