From 5224c03beb728fec06e76a896974697cc4960f4c Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 17 Mar 2026 16:04:36 -0500 Subject: [PATCH] Fix test --- __e2e__/flows/curate-lists.yml | 6 ++++-- src/ageAssurance/debug.ts | 2 +- src/components/ProfileCard.tsx | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/__e2e__/flows/curate-lists.yml b/__e2e__/flows/curate-lists.yml index 16bad198b9..906199e979 100644 --- a/__e2e__/flows/curate-lists.yml +++ b/__e2e__/flows/curate-lists.yml @@ -91,7 +91,8 @@ appId: xyz.blueskyweb.app - tapOn: "Add user to list" - swipe: direction: DOWN -- assertVisible: "View Bob's profile" +- assertVisible: + id: "profileCard-bob.test-link" - tapOn: "Posts" - assertVisible: @@ -123,7 +124,8 @@ appId: xyz.blueskyweb.app - tapOn: "Good Ppl" - tapOn: "People" -- assertVisible: "View Bob's profile" +- assertVisible: + id: "profileCard-bob.test-link" - tapOn: point: "90%,43%" - tapOn: diff --git a/src/ageAssurance/debug.ts b/src/ageAssurance/debug.ts index 44bf74a7a2..257eeff93d 100644 --- a/src/ageAssurance/debug.ts +++ b/src/ageAssurance/debug.ts @@ -57,7 +57,7 @@ export const otherRequiredData: OtherRequiredData = { birthdate: new Date(2000, 1, 1).toISOString(), } -const serverStateEnabled = false +const serverStateEnabled = false || IS_E2E export const serverState: AppBskyAgeassuranceGetState.OutputSchema | undefined = serverStateEnabled ? { diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx index 15f288089f..8c82e774c4 100644 --- a/src/components/ProfileCard.tsx +++ b/src/components/ProfileCard.tsx @@ -145,6 +145,7 @@ export function Link({ return (