feat: migrate workspace to shadcn sidebar and chat components

This commit is contained in:
2026-09-28 17:29:08 +09:00
parent 2346848839
commit 96e545401e
61 changed files with 6727 additions and 1146 deletions
+3
View File
@@ -1,9 +1,11 @@
import { expect, test } from '../fixtures'
import { showDeckManagement } from '../workspace'
test('opens account management after hydration without inheriting real OAuth configuration', async ({
page,
}) => {
await page.goto('/')
await showDeckManagement(page)
const manage = page.getByRole('button', { name: '接続アカウントを管理' })
await expect(manage).toBeEnabled()
await manage.click()
@@ -28,6 +30,7 @@ test('rejects an unbound OAuth callback without contacting an instance', async (
await expect(page.getByRole('alert')).toContainText(
'Mastodonの認可を完了できませんでした。',
)
await showDeckManagement(page)
await expect(
page.getByRole('button', { name: '接続アカウントを管理' }),
).toBeEnabled()