From 1c8e37711028db9ef42923be97445a65f01826a4 Mon Sep 17 00:00:00 2001 From: Tammo Feldmann <31222040+Tammo-Feldmann@users.noreply.github.com> Date: Wed, 13 Dec 2023 12:18:44 -0800 Subject: [PATCH] Remove release banner --- playwright/e2e/header.spec.ts | 4 +++- src/components/header.js | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/playwright/e2e/header.spec.ts b/playwright/e2e/header.spec.ts index 4b4c666c..9d1b90bc 100644 --- a/playwright/e2e/header.spec.ts +++ b/playwright/e2e/header.spec.ts @@ -14,7 +14,9 @@ test.describe("Header", () => { test("renders correctly", async () => { // TODO re-enable this header test once temporary release banner is removed - // await expect(page.locator('header')).toHaveText(site.siteMetadata.headerType); + await expect(page.locator("header")).toHaveText( + site.siteMetadata.headerType + ) const nasaLogo = page.locator("[data-cy=nasa-logo]") await expect(nasaLogo).toHaveAttribute( diff --git a/src/components/header.js b/src/components/header.js index 881e8dbd..bb34d83c 100644 --- a/src/components/header.js +++ b/src/components/header.js @@ -7,7 +7,6 @@ import { colors, layout, breakpoints } from "../theme" import { CaseiLogoIcon } from "../icons" import { NEGATIVE } from "../utils/constants" import StickyBanner from "./sticky-banner" -import ReleaseBanner from "./release-banner" const Header = ({ shortname, children, mode }) => { const offsetCalculator = (scrollDirection, _, currentScroll) => { @@ -29,7 +28,6 @@ const Header = ({ shortname, children, mode }) => { rgba(68, 63, 63, 0.08) 0px 2px 6px 0px; `} > -