feat: add daily home and vitals dashboard prototypes
This commit is contained in:
@@ -3,7 +3,7 @@ import { expect, test } from '../fixtures'
|
||||
test('opens account management after hydration without inheriting real OAuth configuration', async ({
|
||||
page,
|
||||
}) => {
|
||||
await page.goto('/')
|
||||
await page.goto('/deck')
|
||||
await expect(
|
||||
page.getByRole('button', { name: '名前を変更', includeHidden: true }),
|
||||
).toBeEnabled()
|
||||
@@ -51,7 +51,7 @@ test('rejects an unbound OAuth callback without contacting an instance', async (
|
||||
page,
|
||||
}) => {
|
||||
await page.goto('/oauth/mastodon/callback?state=invalid&code=not-a-real-code')
|
||||
await expect(page).toHaveURL(/\/\?mastodon=failed$/)
|
||||
await expect(page).toHaveURL(/\/deck\?mastodon=failed$/)
|
||||
await expect(page.getByRole('alert')).toContainText(
|
||||
'Mastodonの認可を完了できませんでした。',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user