Просмотр исходного кода

cicd: integration tests against main config

jamesread 2 лет назад
Родитель
Сommit
020281c1e6

+ 1 - 0
.github/workflows/build-snapshot.yml

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

+ 3 - 1
integration-tests/cypress/e2e/general/defaultHomepageRender.cy.js

@@ -8,12 +8,14 @@ describe('Homepage rendering', () => {
   })
 
   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', () => {
     cy.get('#section-switcher').then($el => {
       expect(Cypress.dom.isHidden($el)).to.be.false
     })
   })
+  */
 });