Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions desktop/e2e/integration.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,13 @@ test.describe
await dialog.locator("button", { hasText: "docker" }).first().click()
await dialog.getByRole("button", { name: /^continue$/i }).click()

// Step 2 — Source: click Node.js template
await dialog.locator("button", { hasText: "Node.js" }).click()
// Step 2 — Source: click Node.js template. Scope to the active tab panel
// (Git) so the template button doesn't collide with the Image catalog's
// "Node.js 20" card, which is also present in the DOM.
await dialog
.getByRole("tabpanel")
.locator("button", { hasText: "Node.js" })
.click()
const sourceInput = dialog.locator('input[placeholder*="github"]')
await expect(sourceInput).toHaveValue(
"https://github.com/microsoft/vscode-remote-try-node",
Expand Down
Loading