feat(ui): refresh dashboard and paper boat branding

This commit is contained in:
WangShen007 committed 2026-10-22 17:44:36 +08:00
1 parent 6cd904d460
commit b3a53a7f58
93 files changed
+11134 -7543

No files matched your search

+4 -3
View File
@@ -11,9 +11,10 @@ export class Dashboard {
async logout(): Promise<void> {
await step('Log out', async () => {
// The profile menu trigger is an avatar with no accessible name.
await this.page.locator('.profile-trigger').click()
await this.page.getByRole('button', { name: 'Logout' }).click()
// The account block lives at the foot of the sidebar; the menu it opens
// holds the sign-out action.
await this.page.locator('.sidebar .me').click()
await this.page.getByRole('button', { name: '退出登录' }).click()
await expect(this.page).toHaveURL(/\/login/)
})
}