cicd: integration tests against main config

This commit is contained in:
jamesread 2023-10-04 23:54:34 +01:00
parent 9dc81a6280
commit 020281c1e6
2 changed files with 4 additions and 1 deletions

View File

@ -52,6 +52,7 @@ jobs:
uses: cypress-io/github-action@v6 uses: cypress-io/github-action@v6
with: with:
working-directory: integration-tests working-directory: integration-tests
spec: cypress/e2e/general/*
- name: kill OliveTin after integration tests - name: kill OliveTin after integration tests
run: killall OliveTin run: killall OliveTin

View File

@ -8,12 +8,14 @@ describe('Homepage rendering', () => {
}) })
it('Default buttons are rendered', () => { it('Default buttons are rendered', () => {
cy.get("#root-group button").should('have.length', 6) cy.get("#root-group button").should('have.length', 8)
}) })
/*
it('Switcher navigation is visible', () => { it('Switcher navigation is visible', () => {
cy.get('#section-switcher').then($el => { cy.get('#section-switcher').then($el => {
expect(Cypress.dom.isHidden($el)).to.be.false expect(Cypress.dom.isHidden($el)).to.be.false
}) })
}) })
*/
}); });