@capagents/forgeqe 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/suite/run.ts CHANGED
@@ -6,7 +6,7 @@ import { costOf } from "../cases/types.ts"
6
6
  import { addUsage, NO_USAGE } from "../usage.ts"
7
7
  import type { AgentEvent, CodeResult, ReplayMode, RunResult } from "../types.ts"
8
8
  import { codeSkipReason, runCodeAgent } from "../code/index.ts"
9
- import type { AppConfig } from "../config.ts"
9
+ import type { AppConfig, BrowserProvider } from "../config.ts"
10
10
  import { fileBugs } from "../cases/bugs.ts"
11
11
  import { classifyFailure, FAILURE_LABEL } from "../cases/failure.ts"
12
12
  import { associateAdoAutomation, readMappings } from "../code/traceability.ts"
@@ -43,6 +43,7 @@ export type SuiteOptions = {
43
43
  cases: TestCase[]
44
44
  /** Repo for the coding agent; unset: browser runs only. */
45
45
  repo?: string
46
+ browserProvider?: BrowserProvider
46
47
  parallel?: number
47
48
  outDir?: string
48
49
  writeBack?: boolean
@@ -104,6 +105,7 @@ export async function runSuite(opts: SuiteOptions): Promise<SuiteResult> {
104
105
  const { result } = await execute({
105
106
  config,
106
107
  goal: goalFor(tc),
108
+ browserProvider: opts.browserProvider,
107
109
  url: tc.startUrl || opts.url,
108
110
  headed: opts.headed,
109
111
  maxSteps: opts.maxSteps,
@@ -0,0 +1,14 @@
1
+ provider: testmu
2
+ remote:
3
+ browser: pw-chromium
4
+ browser_version: latest
5
+ platform: Windows 11
6
+ username_env: LT_USERNAME
7
+ access_key_env: LT_ACCESS_KEY
8
+ project: ForgeQE
9
+ build: nightly
10
+ name: checkout smoke
11
+ local: false
12
+ extra:
13
+ "lt:options":
14
+ console: true