Przeglądaj źródła

cicd: Fix broken unit test for hidden nav

jamesread 4 lat temu
rodzic
commit
acaf28e200

+ 1 - 1
integration-tests/cypress/integration/hiddenNav/hiddenNav.spec.js

@@ -9,7 +9,7 @@ describe('Hidden Nav', () => {
   })
 
   it('Switcher navigation is hidden', () => {
-    cy.get('#switcher').then($el => {
+    cy.get('#sectionSwitcher').then($el => {
       expect(Cypress.dom.isHidden($el)).to.be.true
     })
   })