From dd803bcc51ce47d6aa65fc52be345f57b5d94928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Tue, 21 May 2024 19:17:29 +0200 Subject: [PATCH] test: fix should display hello-world blog post --- cypress/e2e/pages/blog/[slug].cy.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/cypress/e2e/pages/blog/[slug].cy.ts b/cypress/e2e/pages/blog/[slug].cy.ts index 259b354..f0f21fb 100644 --- a/cypress/e2e/pages/blog/[slug].cy.ts +++ b/cypress/e2e/pages/blog/[slug].cy.ts @@ -3,7 +3,6 @@ describe("Page /blog/[slug]", () => { cy.visit("/blog/hello-world") cy.get("[data-cy=locale-flag-text]").should("not.exist") cy.get("main h1").should("have.text", "👋 Hello, world!") - cy.get(".prose a:visible").should("have.attr", "target", "_blank") }) it("should redirect to /404 if the blog post doesn't exist", () => {