(input: {
readonly target: TargetShape;
readonly browser: BrowserSurface;
readonly identity: Identity;
})
| 338 | }); |
| 339 | |
| 340 | const removeSourceThroughConsole = (input: { |
| 341 | readonly target: TargetShape; |
| 342 | readonly browser: BrowserSurface; |
| 343 | readonly identity: Identity; |
| 344 | }) => |
| 345 | input.browser.session(input.identity, async ({ page, step }) => { |
| 346 | await step("Remove the custom tools source", async () => { |
| 347 | await page.goto(new URL("/integrations/repo?tab=source", input.target.baseUrl).toString(), { |
| 348 | waitUntil: "networkidle", |
| 349 | }); |
| 350 | await page.getByRole("button", { name: "Remove" }).click(); |
| 351 | await page.getByRole("button", { name: "Remove source" }).click(); |
| 352 | await page.waitForURL(/\/integrations(?:\?|$)/, { timeout: 90_000 }); |
| 353 | }); |
| 354 | }); |
| 355 | |
| 356 | scenario( |
| 357 | "Custom tools · Git source syncs, invokes, refreshes, and removes", |
no test coverage detected