fix: update local greetings and stabilize account navigation

This commit is contained in:
2026-10-08 01:10:49 +09:00
parent 67afc7bf15
commit c66b427a23
15 changed files with 164 additions and 254 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ export class HomePage {
return this.page.getByRole("button", { name: `Record weight Recorded · ${weight} kg` });
}
greeting(name: string) {
return this.page.getByRole("heading", { name: `Good morning, ${name}` });
return this.page.getByRole("heading", { level: 1 }).filter({ hasText: `, ${name}` });
}
async goTo(search = "") {
await this.page.goto(`/${search}`);