diff --git a/app.html b/app.html new file mode 100644 index 000000000..e6d8e67de --- /dev/null +++ b/app.html @@ -0,0 +1,47 @@ + + + +
+ {{ HEAD }} + + + + + + {{ APP }} + + + + diff --git a/cypress/e2e/collectiondetailpage.cy.js b/cypress/e2e/collectiondetailpage.cy.js index 1939e2342..6db335e29 100644 --- a/cypress/e2e/collectiondetailpage.cy.js +++ b/cypress/e2e/collectiondetailpage.cy.js @@ -14,7 +14,7 @@ describe("Collection Detail page", () => { "contain", "TEST - Title of Collection - Halloween Costumes" ) - cy.get(".page-anchor").scrollIntoView().should('be.visible') + cy.get(".page-anchor-content > button").scrollIntoView().click({ force:true }) cy.percySnapshot({ widths: [768, 992, 1200] }) }) diff --git a/cypress/e2e/collectionlistpage.cy.js b/cypress/e2e/collectionlistpage.cy.js index bc77477f6..76e440e9d 100644 --- a/cypress/e2e/collectionlistpage.cy.js +++ b/cypress/e2e/collectionlistpage.cy.js @@ -4,7 +4,7 @@ describe("Collection Listing page", () => { // UCLA Library brand cy.get(".logo-ucla").should("be.visible") - cy.get(".page-anchor").scrollIntoView().should('be.visible') + cy.get(".page-anchor").scrollIntoView().click({ force:true }) cy.percySnapshot({ widths: [768, 992, 1200] }) }) }) diff --git a/cypress/e2e/helptopicpage.cy.js b/cypress/e2e/helptopicpage.cy.js index 6cbdf79b2..5369061e0 100644 --- a/cypress/e2e/helptopicpage.cy.js +++ b/cypress/e2e/helptopicpage.cy.js @@ -8,7 +8,7 @@ describe("Help Topic page", () => { "contain", "Printing Practices - Simple Card 3 Up - Rich Text - Pull Quote" ) - cy.get(".page-anchor").scrollIntoView().should('be.visible') + cy.get(".page-anchor").scrollIntoView().click({ force:true }) cy.percySnapshot({ widths: [768, 992, 1200] }) }) diff --git a/cypress/e2e/locationdetailpage.cy.js b/cypress/e2e/locationdetailpage.cy.js index 536475387..a277c8382 100644 --- a/cypress/e2e/locationdetailpage.cy.js +++ b/cypress/e2e/locationdetailpage.cy.js @@ -8,7 +8,7 @@ describe("Location Detail page", () => { "contain", "Louise M. Darling Biomedical Library" ) - cy.get(".page-anchor").scrollIntoView().should('be.visible') + cy.get(".page-anchor").scrollIntoView().click({ force:true }) cy.percySnapshot({ widths: [768, 992, 1200] }) }) diff --git a/cypress/e2e/policiesdetailpage.cy.js b/cypress/e2e/policiesdetailpage.cy.js index 1ade93dc9..009514062 100644 --- a/cypress/e2e/policiesdetailpage.cy.js +++ b/cypress/e2e/policiesdetailpage.cy.js @@ -2,7 +2,7 @@ describe("Policy Detail page", () => { it("Visits a Policy Detail Page", () => { cy.visit("about/policies/shhh") cy.get(".logo-ucla").should("be.visible") - cy.get(".page-anchor").scrollIntoView().should('be.visible') + cy.get(".page-anchor").scrollIntoView().click({ force:true }) cy.percySnapshot({ widths: [768, 992, 1200] }) }) diff --git a/cypress/e2e/policieslistpage.cy.js b/cypress/e2e/policieslistpage.cy.js index edd380c74..cd35623b0 100644 --- a/cypress/e2e/policieslistpage.cy.js +++ b/cypress/e2e/policieslistpage.cy.js @@ -7,7 +7,7 @@ describe("Policy List page", () => { "contain", "Policies" ) - cy.get(".page-anchor").scrollIntoView().should('be.visible') + cy.get(".page-anchor").scrollIntoView().click({ force:true }) cy.percySnapshot({ widths: [768, 992, 1200] }) }) }) diff --git a/cypress/e2e/programdetailpage.cy.js b/cypress/e2e/programdetailpage.cy.js index 795fb105b..58f2f4450 100644 --- a/cypress/e2e/programdetailpage.cy.js +++ b/cypress/e2e/programdetailpage.cy.js @@ -8,7 +8,7 @@ describe("Program Detail page", () => { "contain", "Digital Library Program" ) - cy.get(".page-anchor").scrollIntoView().should('be.visible') + cy.get(".page-anchor").scrollIntoView().click({ force:true }) cy.percySnapshot({ widths: [768, 992, 1200] }) }) diff --git a/cypress/e2e/service.cy.js b/cypress/e2e/service.cy.js index 461505f30..ea3c9c141 100644 --- a/cypress/e2e/service.cy.js +++ b/cypress/e2e/service.cy.js @@ -8,7 +8,7 @@ describe("Service page", () => { "contain", `Service with all flexible page block types` ) - cy.get(".page-anchor").scrollIntoView().should('be.visible') + cy.get(".page-anchor").scrollIntoView().click({ force:true }) cy.percySnapshot({ widths: [768, 992, 1200] }) })