cicd: integration test for hidden footer

This commit is contained in:
jamesread 2022-06-10 19:25:23 +01:00
parent 496cb400d0
commit f9b6d60ca8
2 changed files with 26 additions and 0 deletions

View File

@ -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

View File

@ -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
})
})
});