test(forge): open the Session panel in the extension scenario
The change requests list moved from the forge tab to the Session panel, so the scenario shows the panel before pressing the plugin's card button.
This commit is contained in:
1 parent
4f8c9e6380
commit
9adf460c1f
1 file changed
+1
-1
@@ -1929,7 +1929,7 @@ it.skipIf(MODE === 'record')('lets a plugin filter the changes by its lens, anno
|
||||
const session = scaffold.ctx.sessions.get(await settled)
|
||||
if (session === undefined) throw new Error('Session must stay loaded')
|
||||
scaffold.ctx.forgeSession.track(session, PULL)
|
||||
await page.locator('[data-forge-header]').click()
|
||||
await showSessionPanel(page)
|
||||
|
||||
// The card button the plugin adds opens the changes view with its lens chosen.
|
||||
await page.locator(`[data-forge-change="${PULL}"]`).getByRole('button', { name: '打开导出视图', exact: true }).click()
|
||||
|
||||
Reference in new issue
Block a user