diff --git a/tests/magnitude/03-auth.mag.ts b/tests/magnitude/03-auth.mag.ts index f20b6d6..0027dd7 100644 --- a/tests/magnitude/03-auth.mag.ts +++ b/tests/magnitude/03-auth.mag.ts @@ -33,7 +33,7 @@ test('[Happy Path] User initiates OAuth flow', async (agent) => { // See: https://atproto.com/specs/oauth#localhost-client-development }); -test('[Happy Path] User completes full login flow and sees their handle', async (agent) => { +test('[Happy Path] User completes full login flow and accesses chat', async (agent) => { await agent.act('Navigate to /login'); await agent.act(`Type "${TEST_HANDLE}" into the "Your Handle" input field`); await agent.act('Click the "Log in with Bluesky" button'); @@ -48,7 +48,6 @@ test('[Happy Path] User completes full login flow and sees their handle', async await agent.act('Click the submit/authorize button'); // After successful OAuth, we should be redirected back to /chat - // and see our Bluesky handle displayed on the page - await agent.check(`The text "${TEST_HANDLE}" is visible on the screen`); await agent.check('The page URL contains "/chat"'); + await agent.check('The text "Ponderants Interview" is visible on the screen'); });