From de1e417714706e13ea9a3dd7a1aef1735af64248 Mon Sep 17 00:00:00 2001 From: Jonas-Merlin Schumacher Date: Mon, 21 Aug 2023 14:53:26 +0200 Subject: [PATCH] test: some changes --- cypress/e2e/seo.cy.js | 4 ++-- src/pages/index.astro | 2 +- src/pages/ogImageTags.astro | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cypress/e2e/seo.cy.js b/cypress/e2e/seo.cy.js index be2cb2a..cec441b 100644 --- a/cypress/e2e/seo.cy.js +++ b/cypress/e2e/seo.cy.js @@ -37,7 +37,7 @@ describe("Basic Tags", () => { cy.get('head meta[property="og:title"]').should( "have.attr", "content", - "Tinker Tailor Soldier Spy" + "Tinker Tailor Soldier & Spy" ); cy.get('head meta[property="og:type"]').should( "have.attr", @@ -189,7 +189,7 @@ describe("Open Graph image tags", () => { cy.get('head meta[property="og:image:height"]').should( "have.attr", "content", - "0" + "1" ); }); diff --git a/src/pages/index.astro b/src/pages/index.astro index 55099ad..7c052e8 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -14,7 +14,7 @@ import SEO from "../SEO.astro"; charset="utf-8" openGraph={{ basic: { - title: "Tinker Tailor Soldier Spy", + title: "Tinker Tailor Soldier & Spy", type: "book", image: "https://user-images.githubusercontent.com/5182256/131216951-8f74f425-f775-463d-a11b-0e01ad9fce8d.png", diff --git a/src/pages/ogImageTags.astro b/src/pages/ogImageTags.astro index 9cc08c3..cee728d 100644 --- a/src/pages/ogImageTags.astro +++ b/src/pages/ogImageTags.astro @@ -31,7 +31,7 @@ import SEO from "../SEO.astro"; secureUrl: "open_graph_image_secure_url", type: "open_graph_image_mime_type", width: 500, - height: 0, + height: 1, alt: "open_graph_image_alt", }, }}