Skip to content

Commit 7fafb93

Browse files
morgmartclaude
andcommitted
test(onboarding): assert the greeted kickoff opener
The two first-run kickoff e2e tests still expected "Hi, I'm Fizz." — the ungreeted opener. 0487699 made Fizz greet the new user by name, so the live opener now reads "Hi @morty QA, I'm Fizz." and both assertions were stale against our own intentional copy change. Assert the greeted form including the name rather than relaxing to a name-agnostic substring: both tests already type "Morty QA" during onboarding, so this pins the greeting feature instead of passing whether or not the name renders. The ungreeted path is still covered by welcomeKickoff.test.mjs, which exercises the no-owner-name fallback. Co-Authored-By: Claude <[email protected]>
1 parent 07144e9 commit 7fafb93

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎desktop/tests/e2e/onboarding.spec.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,8 +1273,10 @@ test("first-run onboarding posts the live Fizz kickoff", async ({ page }) => {
12731273
await completeProfileOnboarding(page);
12741274

12751275
await expectPrivateWelcomeLanding(page);
1276+
// Greeted by the name typed above — the @mention pill also files the opener
1277+
// into the new user's Inbox mentions feed.
12761278
await expect(page.getByTestId("message-timeline")).toContainText(
1277-
"Hi, I'm Fizz. Welcome to Buzz.",
1279+
"Hi @Morty QA, I'm Fizz. Welcome to Buzz.",
12781280
);
12791281
await expect(page.getByTestId("message-timeline")).toContainText(
12801282
"Honey and Bumble, introduce yourselves",
@@ -1298,7 +1300,7 @@ test("first-run onboarding lands before Welcome team bootstrap completes", async
12981300
await expectPrivateWelcomeLanding(page);
12991301
await expect(page.getByTestId("app-loading-gate")).toHaveCount(0);
13001302
await expect(page.getByTestId("message-timeline")).toContainText(
1301-
"Hi, I'm Fizz. Welcome to Buzz.",
1303+
"Hi @Morty QA, I'm Fizz. Welcome to Buzz.",
13021304
);
13031305
await page.waitForTimeout(1_500);
13041306
expect(await commandCount(page, "create_managed_agent")).toBe(3);

0 commit comments

Comments
 (0)