feat(test): add e2e tests app layout

This commit is contained in:
Phan An 2020-12-30 19:56:41 +01:00
parent dc180064be
commit e46811a840
2 changed files with 20 additions and 1 deletions

View 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