diff --git a/e2e/about-how-modal.spec.ts-snapshots/should-display-about-how-modal-1-Google-Chrome-linux.png b/e2e/about-how-modal.spec.ts-snapshots/should-display-about-how-modal-1-Google-Chrome-linux.png deleted file mode 100644 index a622f14183..0000000000 Binary files a/e2e/about-how-modal.spec.ts-snapshots/should-display-about-how-modal-1-Google-Chrome-linux.png and /dev/null differ diff --git a/e2e/about-how-modal.spec.ts b/e2e/about-why-oisy-modal.spec.ts similarity index 62% rename from e2e/about-how-modal.spec.ts rename to e2e/about-why-oisy-modal.spec.ts index 4811df0fb7..8c3c725f52 100644 --- a/e2e/about-how-modal.spec.ts +++ b/e2e/about-why-oisy-modal.spec.ts @@ -1,20 +1,20 @@ import { test } from '@playwright/test'; import { - ABOUT_HOW_MODAL, - ABOUT_HOW_MODAL_OPEN_BUTTON + ABOUT_WHY_OISY_BUTTON, + ABOUT_WHY_OISY_MODAL } from '../src/frontend/src/lib/constants/test-ids.constants'; import { MODALS_VIEWPORT_WIDTH } from './utils/constants/e2e.constants'; import { HomepageLoggedOut } from './utils/pages/homepage.page'; -const ABOUT_HOW_MODAL_VIEWPORT_HEIGHT = 1600; +const ABOUT_WHY_OISY_MODAL_VIEWPORT_HEIGHT = 1600; -test('should display about-how modal', async ({ page, isMobile }) => { +test('should display about-why-oisy modal', async ({ page, isMobile }) => { const homepageLoggedOut = new HomepageLoggedOut({ page, viewportSize: !isMobile ? { width: MODALS_VIEWPORT_WIDTH, - height: ABOUT_HOW_MODAL_VIEWPORT_HEIGHT + height: ABOUT_WHY_OISY_MODAL_VIEWPORT_HEIGHT } : undefined }); @@ -22,7 +22,7 @@ test('should display about-how modal', async ({ page, isMobile }) => { await homepageLoggedOut.waitForReady(); await homepageLoggedOut.testModalSnapshot({ - modalOpenButtonTestId: ABOUT_HOW_MODAL_OPEN_BUTTON, - modalTestId: ABOUT_HOW_MODAL + modalOpenButtonTestId: ABOUT_WHY_OISY_BUTTON, + modalTestId: ABOUT_WHY_OISY_MODAL }); }); diff --git a/e2e/about-why-oisy-modal.spec.ts-snapshots/should-display-about-why-oisy-modal-1-Google-Chrome-linux.png b/e2e/about-why-oisy-modal.spec.ts-snapshots/should-display-about-why-oisy-modal-1-Google-Chrome-linux.png new file mode 100644 index 0000000000..ddd56fc923 Binary files /dev/null and b/e2e/about-why-oisy-modal.spec.ts-snapshots/should-display-about-why-oisy-modal-1-Google-Chrome-linux.png differ diff --git a/e2e/homepage.spec.ts-snapshots/should-display-homepage-in-logged-out-state-1-Google-Chrome-linux.png b/e2e/homepage.spec.ts-snapshots/should-display-homepage-in-logged-out-state-1-Google-Chrome-linux.png index 54d7916d71..85d745996e 100644 Binary files a/e2e/homepage.spec.ts-snapshots/should-display-homepage-in-logged-out-state-1-Google-Chrome-linux.png and b/e2e/homepage.spec.ts-snapshots/should-display-homepage-in-logged-out-state-1-Google-Chrome-linux.png differ diff --git a/src/frontend/src/lib/components/core/Menu.svelte b/src/frontend/src/lib/components/core/Menu.svelte index 96469b5f29..10166fd24c 100644 --- a/src/frontend/src/lib/components/core/Menu.svelte +++ b/src/frontend/src/lib/components/core/Menu.svelte @@ -4,7 +4,7 @@ import { page } from '$app/stores'; import MenuWallet from '$lib/components/core/MenuWallet.svelte'; import SignOut from '$lib/components/core/SignOut.svelte'; - import AboutHow from '$lib/components/hero/about/AboutHow.svelte'; + import AboutWhyOisy from '$lib/components/hero/about/AboutWhyOisy.svelte'; import IconGitHub from '$lib/components/icons/IconGitHub.svelte'; import IconlySettings from '$lib/components/icons/iconly/IconlySettings.svelte'; import IconlyUfo from '$lib/components/icons/iconly/IconlyUfo.svelte'; @@ -75,7 +75,7 @@
+