feat(motd): use iframe renderer for motd

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-10-06 21:56:52 +02:00
parent 579919f142
commit ba96f07374
8 changed files with 47 additions and 120 deletions

View file

@ -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(() => {