From 22dc7db6119b061efe8ed4a856a8e7809876b8e6 Mon Sep 17 00:00:00 2001 From: Phil Renaud Date: Fri, 1 Nov 2024 21:57:10 -0400 Subject: [PATCH] unit test condition moved to stubbable acceptance test --- ui/app/styles/core/navbar.scss | 2 +- .../templates/components/region-switcher.hbs | 2 +- ui/tests/acceptance/regions-test.js | 6 +++-- ui/tests/pages/layout.js | 5 ++++ .../unit/components/region-switcher-test.js | 25 ------------------- 5 files changed, 11 insertions(+), 29 deletions(-) delete mode 100644 ui/tests/unit/components/region-switcher-test.js diff --git a/ui/app/styles/core/navbar.scss b/ui/app/styles/core/navbar.scss index cff29ac5b37..a26dee23ef4 100644 --- a/ui/app/styles/core/navbar.scss +++ b/ui/app/styles/core/navbar.scss @@ -142,7 +142,7 @@ $secondaryNavbarHeight: 4.5rem; display: flex; align-items: center; - &.is-region { + &.single-region { display: block; padding: 0; font-size: 1em; diff --git a/ui/app/templates/components/region-switcher.hbs b/ui/app/templates/components/region-switcher.hbs index 1d592cbdc8a..9d9817295b8 100644 --- a/ui/app/templates/components/region-switcher.hbs +++ b/ui/app/templates/components/region-switcher.hbs @@ -22,7 +22,7 @@ {{else if this.system.hasNonDefaultRegion}} -