From 85f5c10bf0c184eb1d076400c55d6d4bc0e8d6dd Mon Sep 17 00:00:00 2001 From: Cesare Naldi Date: Thu, 4 Jul 2024 15:44:32 +0200 Subject: [PATCH] fix: links, tests --- e2e/mobile.spec.ts | 2 +- e2e/profiles.spec.ts | 6 ++++-- e2e/publications.spec.ts | 11 ++++++++++- src/components/navigation/index.tsx | 24 ++++++------------------ 4 files changed, 21 insertions(+), 22 deletions(-) diff --git a/e2e/mobile.spec.ts b/e2e/mobile.spec.ts index 1f6df8b..2e53d58 100644 --- a/e2e/mobile.spec.ts +++ b/e2e/mobile.spec.ts @@ -9,7 +9,7 @@ test.describe("Given a mobile browser", async () => { test("Then it should show in order mobile and web apps options", async ({ textPost }) => { await textPost.open(); - await expect(textPost.options).toHaveText(["Buttrfly", "Hey", "orb", "Soclly"]); + await expect(textPost.options).toHaveText(["Buttrfly", "Hey", "orb", "Pingpad", "Soclly"]); }); }); }); diff --git a/e2e/profiles.spec.ts b/e2e/profiles.spec.ts index ee50071..ae00756 100644 --- a/e2e/profiles.spec.ts +++ b/e2e/profiles.spec.ts @@ -14,6 +14,7 @@ test.describe("Given a Profile link", async () => { "Hey", "orb", "Orna", + "Pingpad", "Riff", "Soclly", "Tape", @@ -29,7 +30,7 @@ test.describe("Given a Profile link posted on a social media website/app", async expect(await lensProfile.extractOpenGraphProperties()).toMatchObject({ "og:title": `${lensProfile.handle} profile`, - "og:description": "onchain social", + "og:description": "An open social network.", "og:url": expect.stringContaining(`/u/${lensProfile.handle}`), "og:site_name": "Lens Share", "og:type": "profile", @@ -43,7 +44,7 @@ test.describe("Given a Profile link posted on a social media website/app", async "twitter:card": "summary_large_image", "twitter:site": "LensProtocol", "twitter:title": `${lensProfile.handle} profile`, - "twitter:description": "onchain social", + "twitter:description": "An open social network.", "twitter:image": expect.any(String), "twitter:image:type": "image/png", }); @@ -86,6 +87,7 @@ test.describe("Given a Profile link with `by` attribution param", async () => { "Buttrfly", "orb", "Orna", + "Pingpad", "Riff", "Soclly", "Tape", diff --git a/e2e/publications.spec.ts b/e2e/publications.spec.ts index 4611c30..50087fd 100644 --- a/e2e/publications.spec.ts +++ b/e2e/publications.spec.ts @@ -9,7 +9,14 @@ test.describe("Given a Publication link", async () => { test("Then it should show relevant app options", async ({ imagePost }) => { await imagePost.open(); - await expect(imagePost.options).toHaveText(["Buttrfly", "Hey", "orb", "Orna", "Soclly"]); + await expect(imagePost.options).toHaveText([ + "Buttrfly", + "Hey", + "orb", + "Orna", + "Pingpad", + "Soclly", + ]); }); }); }); @@ -116,6 +123,7 @@ test.describe("Given a Video Publication link", async () => { "Hey", "orb", "Orna", + "Pingpad", "Soclly", "Tape", ]); @@ -134,6 +142,7 @@ test.describe("Given a Publication link with `by` attribution param", async () = "Hey", "orb", "Orna", + "Pingpad", "Soclly", ]); }); diff --git a/src/components/navigation/index.tsx b/src/components/navigation/index.tsx index 8fe6e1b..0fb198d 100644 --- a/src/components/navigation/index.tsx +++ b/src/components/navigation/index.tsx @@ -28,33 +28,21 @@ export function Navigation() {
- Community - - Creators - - Devs - - Web3 + Docs
- - Claim handle + + Mint a Handle
- Community - - Creators - - Devs - - Web3 + Docs - - Claim handle + + Mint a Handle