mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-31 07:08:40 -04:00
feat(motd): use iframe renderer for motd
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
579919f142
commit
ba96f07374
8 changed files with 47 additions and 120 deletions
|
@ -23,7 +23,7 @@ describe('Motd', () => {
|
|||
headers: { 'Last-Modified': MOCK_LAST_MODIFIED }
|
||||
})
|
||||
cy.visitHome()
|
||||
cy.getByCypressId('motd-modal').find('.markdown-body').should('contain.html', motdMockHtml)
|
||||
cy.getMotdBody().should('contain.html', motdMockHtml)
|
||||
cy.getByCypressId('motd-dismiss')
|
||||
.click()
|
||||
.then(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue