test(web): assert enabled Developer Tools returns to the main list
This commit is contained in:
1 parent
11589ed104
commit
b1a0c733ab
3 files changed
+6
-2
No files matched your search
@@ -44,6 +44,10 @@ it('opens bottom DevTools after the Developer Tools bundle is enabled on an alre
|
||||
|
||||
await toggle.click()
|
||||
await expect.poll(() => toggle.getAttribute('aria-checked'), { timeout: PLUGIN_TOGGLE_SETTLE_MS }).toBe('true')
|
||||
// Enabling a More-page bundle also pins it to the main list.
|
||||
await plugins.getByRole('button', { name: 'Back to plugins', exact: true }).click()
|
||||
await plugins.locator('[data-plugin-group="extensions"]').getByRole('switch', { name: 'Enable Developer Tools', exact: true }).waitFor()
|
||||
expect(await toggle.getAttribute('aria-checked')).toBe('true')
|
||||
await panel.waitFor({ state: 'attached', timeout: 20_000 }).catch((error: unknown) => {
|
||||
throw new Error(`Bottom panel did not mount; ${BOOTSTRAP_PATH} responses: ${JSON.stringify(bootstraps)}`, { cause: error })
|
||||
})
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
zh: 52384aee991ac542
|
||||
/deepseek-ai-dsh-experimental-inspector-profile/use-this-package:
|
||||
en: 73b5f15988a2c49d
|
||||
zh: 8a763251d5890f9a
|
||||
zh: 42d4f0c08d073d35
|
||||
/deepseek-ai-dsh-experimental-inspector-profile/understand-the-implementation:
|
||||
en: c9afee7b01eff431
|
||||
zh: c2d1209c14a42088
|
||||
|
||||
@@ -24,7 +24,7 @@ kind: "package-bundle"
|
||||
<a id="use-this-package"></a>
|
||||
## 使用本包
|
||||
|
||||
打开**插件**,点击**实验性插件**旁的**更多**,启用**开发者工具**,启用后它也会出现在主列表中。这会为当前 Web profile 选择 `@deepseek-ai/dsh-experimental-inspector-profile`。
|
||||
打开**插件**,点击**实验性插件**旁的**更多**并启用**开发者工具**;启用后它也会出现在主列表中。这会为当前 Web profile 选择 `@deepseek-ai/dsh-experimental-inspector-profile`。
|
||||
|
||||
从 Sidebar 的新建 tab 菜单或引导页打开**会话数据诊断**。[Session Inspector](../session-inspector/README.zh.md) 提供一个视图,可选择原始数据或对话分组展示形式,初始选中原始数据。
|
||||
|
||||
|
||||
Reference in new issue
Block a user