mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
20 lines
471 B
TypeScript
20 lines
471 B
TypeScript
|
context('Application Layout', () => {
|
||
|
it('renders a proper layout', () => {
|
||
|
cy.$login()
|
||
|
;[
|
||
|
'#mainHeader',
|
||
|
'#searchForm',
|
||
|
'#userBadge',
|
||
|
'#mainHeader .about',
|
||
|
'#mainWrapper',
|
||
|
'#sidebar',
|
||
|
'#mainContent',
|
||
|
'#extra',
|
||
|
'#mainFooter',
|
||
|
'#mainFooter .player-controls',
|
||
|
'#mainFooter .middle-pane',
|
||
|
'#mainFooter .other-controls'
|
||
|
].forEach(selector => cy.get(selector).should('be.visible'))
|
||
|
})
|
||
|
})
|