-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat(frontend)/Rename-route-for-License-Agre…
…ement
- Loading branch information
Showing
15 changed files
with
56 additions
and
48 deletions.
There are no files selected for viewing
Binary file removed
BIN
-239 KB
...odal.spec.ts-snapshots/should-display-about-how-modal-1-Google-Chrome-linux.png
Binary file not shown.
14 changes: 7 additions & 7 deletions
14
e2e/about-how-modal.spec.ts → e2e/about-why-oisy-modal.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
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 | ||
}); | ||
|
||
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 | ||
}); | ||
}); |
Binary file added
BIN
+270 KB
...spec.ts-snapshots/should-display-about-why-oisy-modal-1-Google-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-686 Bytes
(100%)
...snapshots/should-display-homepage-in-logged-out-state-1-Google-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 15 additions & 9 deletions
24
...omponents/hero/about/AboutHowModal.svelte → ...nents/hero/about/AboutWhyOisyModal.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<script lang="ts"> | ||
import AboutHow from '$lib/components/hero/about/AboutHow.svelte'; | ||
import AboutWhyOisy from '$lib/components/hero/about/AboutWhyOisy.svelte'; | ||
import ChangelogLink from '$lib/components/navigation/ChangelogLink.svelte'; | ||
</script> | ||
|
||
<div class="box-content flex w-full flex-col gap-5 py-3"> | ||
<AboutHow asMenuItem /> | ||
<AboutWhyOisy asMenuItem /> | ||
|
||
<ChangelogLink /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters