fix(web): make the welcome notice scan-first
This commit is contained in:
@@ -48,7 +48,7 @@ describe.skipIf(MODE === 'record')('web e2e: first-run DeepSeek credential setup
|
||||
|
||||
it('stores a key write-only and observes configured state without restarting', async () => {
|
||||
onTestFailed(() => saveFailureShot(page, 'web-e2e-onboarding-deepseek-config'))
|
||||
const welcome = page.getByRole('dialog', { name: WELCOME_NOTICE_COPY.zh.paragraphs[0] })
|
||||
const welcome = page.getByRole('dialog', { name: WELCOME_NOTICE_COPY.zh.title })
|
||||
await welcome.waitFor({ timeout: 15_000 })
|
||||
const welcomeAria = await captureStableAria(page, '[role="dialog"]', scaffold.workspaceCwd)
|
||||
await compareOrRefreshGolden(WELCOME_EXPECTED, welcomeAria, MODE)
|
||||
@@ -132,7 +132,7 @@ describe.skipIf(MODE === 'record')('web e2e: first-run DeepSeek credential setup
|
||||
await page.reload({ waitUntil: 'load' })
|
||||
acknowledgeReloadConnectionLoss(tripwire, secondReloadWarnings)
|
||||
await page.waitForSelector('[class*="frame"]', { timeout: 15_000 })
|
||||
expect(await page.getByRole('dialog', { name: WELCOME_NOTICE_COPY.zh.paragraphs[0] }).count()).toBe(0)
|
||||
expect(await page.getByRole('dialog', { name: WELCOME_NOTICE_COPY.zh.title }).count()).toBe(0)
|
||||
expect(await page.getByRole('dialog', { name: '添加一个 API Key 开始使用' }).count()).toBe(0)
|
||||
|
||||
// A different stored copy version represents an intentional version bump:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
- dialog "感谢您愿意拨冗试用 DeepSeek Harness。":
|
||||
- heading "感谢您愿意拨冗试用 DeepSeek Harness。" [level=2]
|
||||
- paragraph: 目前的版本仍处于内部测试阶段,有些功能仍待完善,有些体验难免粗粝。
|
||||
- paragraph: “如切如磋,如琢如磨。” 产品的成长,离不开一次次真实的碰撞与坦诚的反馈。您在真实使用中暴露的问题,也可能促使我们重新审视,甚至推翻已有的设计。
|
||||
- paragraph: 我们尤其希望听见那些失败、困惑与不顺手的时刻——如果它未能帮到您,甚至反而为工作平添了麻烦,请在企业微信群中留言,将使用感受告诉我们。每一条反馈,都会帮助我们把它打磨得更好。
|
||||
- dialog "内测声明":
|
||||
- heading "内测声明" [level=2]
|
||||
- paragraph: 感谢您试用 DeepSeek Harness。目前仍处于内部测试阶段,部分功能与体验还在持续打磨。
|
||||
- strong: 我们最想听见:失败、困惑和不顺手
|
||||
- paragraph: 如果它没帮到您,甚至给工作添了麻烦,请在企业微信群告诉我们。
|
||||
- paragraph: 真实使用中的每一个问题,都可能促使我们重新审视,甚至推翻已有设计。
|
||||
- paragraph: “如切如磋,如琢如磨。”
|
||||
- button "继续"
|
||||
|
||||
Reference in New Issue
Block a user