diff --git a/cypress/e2e/seo.cy.js b/cypress/e2e/seo.cy.js index 6dde00b..851a511 100644 --- a/cypress/e2e/seo.cy.js +++ b/cypress/e2e/seo.cy.js @@ -122,7 +122,7 @@ describe("Basic Tags Without URL", () => { cy.get('head meta[property="og:url"]').should( "have.attr", "content", - "http://localhost:4321/ogBasicTagsWithoutUrl/" + "http://localhost:4321/ogBasicTagsWithoutUrl" ); }); }); @@ -384,6 +384,7 @@ describe("Extended link tags", () => { cy.get('head link[rel="icon"]').should("have.attr", "href", "/favicon.ico"); cy.get('head link[rel="icon"]').should("have.attr", "rel", "icon"); cy.get('head link[rel="icon"]').should("have.attr", "type", "image/svg+xml"); + cy.get('head link[rel="icon"]').should("have.attr", "sizes", "60x60"); }); }); diff --git a/src/pages/extendedLinkTags.astro b/src/pages/extendedLinkTags.astro index b3f4534..bde81f7 100644 --- a/src/pages/extendedLinkTags.astro +++ b/src/pages/extendedLinkTags.astro @@ -10,7 +10,7 @@ import SEO from "../SEO.astro"; title="Francis York Morgan" description="Agent" canonical="Zach" - extend={{ link: [{ rel: "icon", href: "/favicon.ico", type:"image/svg+xml" }] }} + extend={{ link: [{ rel: "icon", href: "/favicon.ico", type:"image/svg+xml", sizes: "60x60" }] }} /> Test