cicd: integration test for hidden footer
This commit is contained in:
parent
496cb400d0
commit
f9b6d60ca8
|
|
@ -0,0 +1,12 @@
|
||||||
|
#
|
||||||
|
# Integration Test Config: General
|
||||||
|
#
|
||||||
|
|
||||||
|
showFooter: false
|
||||||
|
checkForUpdates: false
|
||||||
|
|
||||||
|
# Actions (buttons) to show up on the WebUI:
|
||||||
|
actions:
|
||||||
|
- title: Ping example.com
|
||||||
|
shell: ping example.com -c 1
|
||||||
|
icon: ping
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
describe('Hidden Footer', () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
cy.visit("/")
|
||||||
|
cy.wait(500)
|
||||||
|
});
|
||||||
|
|
||||||
|
it('Footer is hidden', () => {
|
||||||
|
cy.get('footer').then($el => {
|
||||||
|
expect(Cypress.dom.isHidden($el)).to.be.true
|
||||||
|
})
|
||||||
|
})
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue