-
{t('title')}
+
{t('title')}
@@ -20,7 +20,10 @@ function WhatNow() {
{t('paragraph')}
-
diff --git a/components/Paths/Paths.tsx b/components/Paths/Paths.tsx
index aeee0885..67e90268 100644
--- a/components/Paths/Paths.tsx
+++ b/components/Paths/Paths.tsx
@@ -42,12 +42,19 @@ const variants = {
export default function Paths() {
return (
-
+
-
+
{paths.map((path, index) => (
{
+ await page.goto(BASE_URL);
+
+ async function checkElementVisibility(elementTestId: string) {
+ const element = page.getByTestId(elementTestId);
+ element.scrollIntoViewIfNeeded();
+ const isVisible = await element.isVisible();
+ expect(isVisible).toBeTruthy();
+ }
+
+ await checkElementVisibility('homePage-title');
+ await checkElementVisibility('homePage-discordLink');
+
+ await checkElementVisibility('linusTorvaldsQuote');
+
+ await checkElementVisibility('beOurFirendsTitle');
+ await checkElementVisibility('beOurFirendsItemContainer');
+ await checkElementVisibility('beOurFirendsItem0');
+ await checkElementVisibility('beOurFirendsItem1');
+ await checkElementVisibility('beOurFirendsItem2');
+ await checkElementVisibility('beOurFirendsItem3');
+ await checkElementVisibility('beOurFirendsItem4');
+ await checkElementVisibility('beOurFirendsItem5');
+
+ await checkElementVisibility('pathsTitle');
+ await checkElementVisibility('pathsTitleContainer');
+
+ await checkElementVisibility('pathsTitleItem0');
+ await checkElementVisibility('pathsTitleItem1');
+ await checkElementVisibility('pathsTitleItem2');
+
+ await checkElementVisibility('whatNowTitle');
+ await checkElementVisibility('whatNowButton');
+});