From 5247b6061b0f99773785c376c0161fcb2f5cf19c Mon Sep 17 00:00:00 2001 From: Livio Bieri Date: Thu, 21 Sep 2023 15:47:39 +0200 Subject: [PATCH 1/4] chore: navigation tests (desktop) --- .../components/header/CoursePreviewBar.vue | 4 +- .../components/header/MainNavigationBar.vue | 4 + cypress/e2e/navigation.cy.js | 78 +++++++++++++++++++ cypress/e2e/preview.cy.js | 23 ------ 4 files changed, 85 insertions(+), 24 deletions(-) create mode 100644 cypress/e2e/navigation.cy.js delete mode 100644 cypress/e2e/preview.cy.js diff --git a/client/src/components/header/CoursePreviewBar.vue b/client/src/components/header/CoursePreviewBar.vue index b12ef2fd..f0d92383 100644 --- a/client/src/components/header/CoursePreviewBar.vue +++ b/client/src/components/header/CoursePreviewBar.vue @@ -23,6 +23,7 @@ const { t } = useTranslation();
.preview-nav-item { - @apply inline-flex items-center border-b-4 border-transparent px-1 pt-1 text-black hover:text-gray-800; + @apply inline-flex items-center border-b-4 border-transparent px-1 pt-1 text-black hover:text-gray-900 focus:text-black; } .preview-nav-item--active { diff --git a/client/src/components/header/MainNavigationBar.vue b/client/src/components/header/MainNavigationBar.vue index 8e03c8b1..b44191c8 100644 --- a/client/src/components/header/MainNavigationBar.vue +++ b/client/src/components/header/MainNavigationBar.vue @@ -109,6 +109,7 @@ onMounted(() => {