diff --git a/integration-tests/configs/config.hiddenFooter.yaml b/integration-tests/configs/config.hiddenFooter.yaml new file mode 100644 index 0000000..9565139 --- /dev/null +++ b/integration-tests/configs/config.hiddenFooter.yaml @@ -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 diff --git a/integration-tests/cypress/integration/hiddenFooter/hiddenFooter.spec.js b/integration-tests/cypress/integration/hiddenFooter/hiddenFooter.spec.js new file mode 100644 index 0000000..faf5f52 --- /dev/null +++ b/integration-tests/cypress/integration/hiddenFooter/hiddenFooter.spec.js @@ -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 + }) + }) +}); + +