diff --git a/cypress/e2e/Navbar.cy.js b/cypress/e2e/Navbar.cy.js index 8b97ea30..0ecf7b41 100644 --- a/cypress/e2e/Navbar.cy.js +++ b/cypress/e2e/Navbar.cy.js @@ -65,7 +65,7 @@ describe("Navbar links", () => { let data = resourcesData[0].subMenu; cy.wrap(data).each((val,idx)=>{ cy.getTestData("nav-Resources Hub").trigger('mouseover'); - cy.wrap(val.ref).should("match", /.*drive.google.com*/); + cy.wrap(val.ref).should("match", /.*(drive\.google\.com|youtube\.com).*/); }); }); @@ -147,7 +147,7 @@ describe("Navbar links", () => { let data = resourcesData[0].subMenu; cy.wrap(data).each((val,idx)=>{ - cy.wrap(val.ref).should("match", /.*drive.google.com*/); + cy.wrap(val.ref).should("match", /.*(drive\.google\.com|youtube\.com).*/); }); });