mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
feat(test): add e2e tests app layout
This commit is contained in:
parent
dc180064be
commit
e46811a840
2 changed files with 20 additions and 1 deletions
19
cypress/integration/layout.spec.ts
Normal file
19
cypress/integration/layout.spec.ts
Normal file
|
@ -0,0 +1,19 @@
|
|||
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'))
|
||||
})
|
||||
})
|
|
@ -1 +1 @@
|
|||
Subproject commit d8a122ab08535b920616f098838a7139adb7e2e9
|
||||
Subproject commit 1ff0bb64bf9d9e68d8f5574168e8385e433a8159
|
Loading…
Reference in a new issue