Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tester-army/e2e
/ functions
Functions
5,049 in github.com/tester-army/e2e
⨍
Functions
5,049
◇
Types & classes
983
↓ 2 callers
Method
artifactPath
* Reserves one artifact path under the attempt directory: a per-attempt * counter keeps names unique, the label keeps them readable.
packages/web/src/surface.ts:913
↓ 2 callers
Function
asBoundedString
(value: unknown, min: number, max: number)
packages/e2e/src/agent/protocol.ts:182
↓ 2 callers
Function
asClosedRecord
Accepts a plain object whose keys are exactly within the allowed set.
packages/e2e/src/agent/protocol.ts:169
↓ 2 callers
Function
asTextPart
(text: string)
packages/e2e/src/agent/transcript-compaction.ts:46
↓ 2 callers
Method
ask
* Performs one model call, retrying invalid output while budget and deadline * remain. Exhaustion is MODEL_OUTPUT_INVALID, never a guessed success.
packages/e2e/src/agent/invocation.ts:328
↓ 2 callers
Function
askJudgment
(invocation: Invocation, instruction: string, observation: AgentObservation)
packages/e2e/src/agent/index.ts:136
↓ 2 callers
Function
assertAppId
(app: string)
packages/mobile/src/links.ts:67
↓ 2 callers
Function
assertInitScript
Throws what `fail` makes of the problem unless `script` is one init script.
packages/web/src/init-scripts.ts:84
↓ 2 callers
Function
assertPermissions
(label: string, permissions: unknown, code: 'INVALID_CONFIG' | 'INVALID_ARGUMENT')
packages/mobile/src/surface.ts:301
↓ 2 callers
Function
assertWellFormed
* Strict well-formedness check standing in for a parser (none is a dependency): * every code unit is an XML 1.0 character, tags nest and close by nam
packages/e2e/tests/unit/report-junit.test.ts:17
↓ 2 callers
Function
associatedLabels
(el: Element)
packages/web/src/in-page/read-semantics.ts:668
↓ 2 callers
Function
attachPersistent
( resolve: CdpEndpointResolver, budget: ConnectionBudget, previous?: PersistentIdentity, )
packages/web/src/cdp-recovery.ts:43
↓ 2 callers
Method
attachTurns
* Keeps a bounded record of the step's model turns on the step record, * whatever the run's debug setting: each turn's tool calls and what came
packages/e2e/src/agent/executor.ts:447
↓ 2 callers
Function
attempt
( input: { readonly status?: ReportAttempt['status']; readonly durationMs?: number; readonly err
packages/github/tests/unit/fixtures.ts:36
↓ 2 callers
Function
attempt
(attemptId: string, artifactsDir: string)
packages/web/tests/integration/lifecycle.test.ts:43
↓ 2 callers
Function
attempt
(credentials: Credentials)
packages/e2e/src/oauth/fetch.ts:121
↓ 2 callers
Function
attributeOf
(node: SemanticNode, name: string)
packages/e2e/src/locator/engine.ts:37
↓ 2 callers
Function
authorizeSecretFill
( host: SecretFillHost, runtime: AgentContext, secret: Secret, node: SemanticNode, )
packages/e2e/src/agent/secrets.ts:24
↓ 2 callers
Function
base64url
(bytes: Uint8Array | ArrayBuffer)
packages/e2e/src/oauth/pkce.ts:8
↓ 2 callers
Method
beforeAll
Registers a suite-instance setup hook.
packages/e2e/src/types.ts:742
↓ 2 callers
Method
begin
* Starts one segment on a page, a screencast at the page's viewport size. * A segment still recording (a page the app closed on its own) ends first
packages/web/src/video.ts:125
↓ 2 callers
Function
binaryNote
The existing devtools-compatible marker for omitted media.
packages/e2e/src/internal/ai-trace.ts:590
↓ 2 callers
Function
bindingsVariable
(targetName: string)
packages/mobile/src/bindings.ts:105
↓ 2 callers
Function
boot
(engine: EngineHandle, app: FixtureApp)
packages/web/tests/integration/lifecycle.test.ts:117
↓ 2 callers
Method
bootstrap
()
packages/e2e/src/run/in-process.ts:126
↓ 2 callers
Function
boundHref
* A redacted link target cut at `MAX_HREF_LENGTH` with a trailing `…`, so a * cut target never reads as whole; the cut never splits a surrogate pair.
packages/e2e/src/agent/observation.ts:482
↓ 2 callers
Function
boundToolOutput
(text: string, limits = { maxLines: MAX_TOOL_OUTPUT_LINES, maxBytes: MAX_TOOL_OUTPUT_BYTES })
packages/e2e/src/agent/tool-output.ts:35
↓ 2 callers
Function
boundedInt
( value: number | undefined, label: string, min: number, max: number, )
packages/e2e/src/config/validate.ts:39
↓ 2 callers
Function
boxOf
(locator: Locator)
apps/testbed/tests/helpers.ts:16
↓ 2 callers
Function
browserReturns
Simulates the browser returning to the callback server with the given query.
packages/e2e/tests/unit/oauth/openai.test.ts:27
↓ 2 callers
Function
browserType
(name: BrowserName)
packages/web/src/browser-connection.ts:84
↓ 2 callers
Function
budget
The per-action budget this run allows: the ratio of the measured read cost, never under the floor.
apps/testbed/tests/speed.e2e.ts:34
↓ 2 callers
Function
build
Runs a build command in `cwd`, streaming nothing unless it fails.
scripts/bench-ab.ts:97
↓ 2 callers
Function
buildCheckout
The root build plus the suite app's own `build` script, when it has one.
scripts/bench-ab.ts:107
↓ 2 callers
Function
buildPage
(page: number)
apps/web-benchmark/app/src/Examples/InfiniteScroll.tsx:20
↓ 2 callers
Function
buildReport
(options: BuildReportOptions)
packages/e2e/src/report/build.ts:696
↓ 2 callers
Function
buildTraceCacheKey
(parts: { readonly project: string; readonly testId: string; readonly target: CacheTargetIdentity; rea
packages/e2e/src/cache/identity.ts:168
↓ 2 callers
Function
byRole
(role: string)
packages/web/tests/integration/lifecycle.test.ts:47
↓ 2 callers
Function
byTestId
(value: string)
packages/web/tests/integration/closed-shadow-locators.test.ts:59
↓ 2 callers
Function
cacheTokenFields
( usage: SdkUsage | undefined, )
packages/e2e/src/agent/model/sdk.ts:190
↓ 2 callers
Function
cancel
()
packages/e2e/src/cli/init.ts:97
↓ 2 callers
Method
cancel
(poll: RunningPoll)
packages/e2e/src/expect/poll-scope.ts:79
↓ 2 callers
Function
cancelled
(text: string)
packages/mobile/src/support.ts:18
↓ 2 callers
Function
cancelled
()
packages/e2e/src/oauth/callback-server.ts:75
↓ 2 callers
Function
capture
One observation of the page through the same capture the engine uses.
packages/web/tests/integration/read-node-roles.test.ts:21
↓ 2 callers
Function
capture
()
packages/e2e/tests/unit/report-list.test.ts:14
↓ 2 callers
Method
capture
Captures the surface's persisted state.
packages/e2e/src/engine/index.ts:288
↓ 2 callers
Method
capture
One raw observation capture: retried at the engine, then redacted and bounded.
packages/e2e/src/agent/observation-feed.ts:370
↓ 2 callers
Function
captureEvidence
Captures redacted judgment evidence; best-effort, never fails the step.
packages/e2e/src/agent/index.ts:308
↓ 2 callers
Method
captureScreenshot
* One screenshot into a temp directory that is removed once `read` has * taken what it needs from the response or the file, even when the caller
packages/mobile/src/surface.ts:1439
↓ 2 callers
Method
captureSettled
* One capture settled as far as `mode` asks. A raw look reads the screen * as it is. A settled look consumes the pending change: it waits for the
packages/e2e/src/agent/observation-feed.ts:316
↓ 2 callers
Method
captureStart
* The write-side preconditions, captured before any action: the start path, * doubling as the replay decision's current path, and the baseline scre
packages/e2e/src/agent/step-cache.ts:381
↓ 2 callers
Function
captureTagged
(page: Page)
packages/web/tests/crosscheck/crosscheck.ts:135
↓ 2 callers
Function
carriedSecrecy
( secrecy: SessionSecrecy, secrets: ResolvedConfig['allSecrets'], )
packages/e2e/src/run/secrecy.ts:196
↓ 2 callers
Function
carryForward
(lastRun: Report1Document, current: Report1Document, collected: RerunCollection)
packages/e2e/src/run/last-run.ts:154
↓ 2 callers
Method
catalog
The session's catalog, or one tool's full contract.
packages/e2e/src/mcp/session.ts:175
↓ 2 callers
Method
catalogLines
(live: LiveSession)
packages/e2e/src/mcp/session.ts:398
↓ 2 callers
Function
centreOf
The centre of a rect in logical pixels.
packages/mobile/src/surface.ts:192
↓ 2 callers
Function
chainOf
(locator: PwLocator)
packages/web/tests/unit/locators.test.ts:49
↓ 2 callers
Function
changeShape
(observation: AgentObservation)
packages/e2e/src/agent/observation.ts:543
↓ 2 callers
Function
chatModel
(route: OpencodeConsoleRoute, fetch: FetchFunction, session: string)
packages/e2e/src/oauth/opencode-console.ts:88
↓ 2 callers
Function
chatter
Prints one line to stdout and one to stderr, then exits with `exitCode`.
packages/e2e/tests/unit/managed-process.test.ts:35
↓ 2 callers
Method
check
* Sets a checkbox, switch, or radio to `checked`. A control already in that * state is left alone, which is what tells this verb from a tap that fl
packages/e2e/src/agent/executor.ts:183
↓ 2 callers
Method
checkAction
* Refuses an action the session would refuse, before the locator is * resolved: an undeclared kind, or modifiers on an engine that does not * de
packages/e2e/src/locator/engine.ts:118
↓ 2 callers
Function
checkFailureStreak
( results: readonly GuardToolResult[], thresholds: LoopGuardThresholds = DEFAULT_LOOP_GUARD_THRESHOLDS, )
packages/e2e/src/agent/loop-guards.ts:215
↓ 2 callers
Function
checkLoopGuards
( calls: readonly GuardToolCall[], thresholds: LoopGuardThresholds = DEFAULT_LOOP_GUARD_THRESHOLDS, )
packages/e2e/src/agent/loop-guards.ts:79
↓ 2 callers
Method
checkPointerAction
Refuses a pointer action the session would refuse: an undeclared kind is `UNSUPPORTED_CAPABILITY`.
packages/e2e/src/locator/engine.ts:137
↓ 2 callers
Function
checkpoint
(stage: ReadStage)
packages/web/tests/unit/observation-capture.test.ts:23
↓ 2 callers
Function
childProcessSpawner
(options: ChildProcessSpawnOptions)
packages/e2e/src/run/worker/handle.ts:35
↓ 2 callers
Function
childrenNameOf
(el: Element, walk: NameWalk)
packages/web/src/in-page/read-semantics.ts:576
↓ 2 callers
Function
ciName
The first vendor whose marker is set; `unknown` when only `CI` is.
packages/e2e/src/telemetry/environment.ts:102
↓ 2 callers
Method
claimKey
* Claims one step's key. Not a pure derivation: each claim advances * the per-attempt occurrence index for its agent and signature, which is * w
packages/e2e/src/cache/context.ts:79
↓ 2 callers
Function
claimRerunDir
(root: string)
packages/e2e/src/run/artifacts.ts:253
↓ 2 callers
Method
cleanUp
()
apps/mobile-benchmark/modules/apple-pay-lab/ios/ApplePayLabModule.swift:104
↓ 2 callers
Function
cleanup
()
packages/web/tests/integration/init-scripts.test.ts:34
↓ 2 callers
Function
cleanup
()
packages/e2e/src/internal/time.ts:42
↓ 2 callers
Method
clearKeychain
* Resets the simulator's keychain, every app's, since simctl has no * per-app reset: what `app.clearState()` leaves behind (a session token, a *
packages/mobile/src/device.ts:104
↓ 2 callers
Method
clearKillTimer
()
packages/e2e/src/run/scheduler.ts:205
↓ 2 callers
Method
clearLocation
Turns simulated location off; on Android that is location services off, until the next `setLocation`.
packages/mobile/src/device.ts:45
↓ 2 callers
Function
cliSessionEvent
(command: string, flags: readonly string[], ended?: SessionEnd)
packages/e2e/src/telemetry/events.ts:86
↓ 2 callers
Method
clickWith
A double or secondary tap, with the keys `modifiers` holds for it.
packages/e2e/src/locator/screen.ts:369
↓ 2 callers
Function
clientFor
(env: DeviceRequest['env'])
packages/eas/src/provider.ts:133
↓ 2 callers
Method
close
()
packages/e2e/src/oauth/callback-server.ts:26
↓ 2 callers
Method
close
Closes one session, the only one when `session` is omitted, and returns what happened; a session already closing returns that close.
packages/e2e/src/mcp/session.ts:127
↓ 2 callers
Method
close
* Ends the scope when its phase has returned: every poll still running is * cancelled and its later rejection observed. Returns the error naming
packages/e2e/src/expect/poll-scope.ts:64
↓ 2 callers
Method
closeAll
Closes every session, for a server that is shutting down; undefined when none was open.
packages/e2e/src/mcp/session.ts:133
↓ 2 callers
Method
closeAttempt
* Runs `settle` (ending the step, saving a recording), then closes the * attempt and cancels whatever still runs in it, whether or not `settle`
packages/e2e/src/mcp/session.ts:159
↓ 2 callers
Method
closeSession
* Finalizes the recordings, then ends the attempt with a fresh cleanup * budget. The caller has classified the attempt by now: `record.status` *
packages/e2e/src/run/execute.ts:688
↓ 2 callers
Function
codeSpan
* A code span around text that may hold backticks: the delimiter is one * backtick longer than the longest run inside and, when longer than one, * p
packages/e2e/src/report/markdown-text.ts:68
↓ 2 callers
Function
codedMessage
(cause: unknown)
packages/e2e/src/internal/errors.ts:22
↓ 2 callers
Function
collectFiles
* Imports each discovered file once in the collection realm. A collection * error in a selected file, or in any file of a run nothing narrowed, throw
packages/e2e/src/collect/collect.ts:500
↓ 2 callers
Method
collectVideo
Collects this attempt's video independently of a failed connection.
packages/web/src/attempt-session.ts:365
↓ 2 callers
Method
collectedRunErrors
Run-level errors recorded so far, in order.
packages/e2e/src/run/execute.ts:231
↓ 2 callers
Function
combineExitCodes
(codes: readonly number[])
packages/e2e/src/internal/errors.ts:285
↓ 2 callers
Function
commandOf
The one web target's `app.command`, expanded, with the URL it is probed at.
packages/e2e/tests/unit/config.test.ts:37
↓ 2 callers
Function
commandPath
`run`, `cache ls`: the command path below the root, as the session event names it.
packages/e2e/src/cli/index.ts:300
↓ 2 callers
Method
commit
Publishes one element handle under its id in the generation being built.
packages/web/src/observation.ts:54
↓ 2 callers
Function
compactScreenshotHistory
( messages: ModelMessage[], options: CompactScreenshotHistoryOptions = {}, )
packages/e2e/src/agent/transcript-compaction.ts:202
↓ 2 callers
Function
compile
* One pattern over every non-empty value, longest value first. A value * matches character by character, each in any case and in any spelling a * se
packages/e2e/src/internal/redact.ts:65
↓ 2 callers
Function
compileEvaluation
(source: string, hasArgument: boolean)
packages/web/src/evaluation.ts:20
← previous
next →
1,001–1,100 of 5,049, ranked by callers