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
↓ 19 callers
Method
read
(keyHash: string)
packages/e2e/src/cache/store.ts:36
↓ 19 callers
Method
record
* Records the leased browser for an attempt that records video, in place * of the engine's screencast of the page: the service's own recording of
packages/web/src/provider.ts:158
↓ 19 callers
Function
sleep
(ms: number, signal?: AbortSignal)
packages/e2e/src/internal/time.ts:28
↓ 19 callers
Method
toHaveValue
Waits for a form control's value, compared as it is.
packages/e2e/src/types.ts:779
↓ 18 callers
Method
press
Sends one key to exactly one node.
packages/e2e/src/types.ts:475
↓ 18 callers
Method
requirePage
()
packages/web/src/surface.ts:573
↓ 18 callers
Method
stop
* Stops what was started, in reverse. Every failure is reported through * `onFailure` and never skips the rest, so one failing stop cannot leave
packages/e2e/src/run/managed-process.ts:397
↓ 17 callers
Method
actionOperation
* The operation context of one targeted action; see MAX_TARGETED_ACTION_MS. * A replayed action carries the test origin: nothing reads the screen a
packages/e2e/src/agent/step-accounting.ts:198
↓ 17 callers
Function
collapseText
(text: string)
packages/e2e/src/internal/text.ts:24
↓ 17 callers
Method
guard
* Runs one tool body under loop policy: nothing executes once the step is * concluding, a runtime hard stop ends the loop, and every other failure
packages/e2e/src/agent/tool-loop.ts:118
↓ 17 callers
Function
installFakeLoopModel
(respond: LoopResponder)
packages/e2e/tests/helpers/fake-loop-model.ts:77
↓ 17 callers
Function
nodeIdFor
(observedText: string, pattern: RegExp)
packages/e2e/tests/helpers/fake-loop-model.ts:176
↓ 17 callers
Method
push
Redacts and returns what `chunk` completes; the rest waits for the next piece or `flush`.
packages/e2e/src/internal/redact.ts:689
↓ 17 callers
Function
raceAbort
(work: Promise<T> | (() => Promise<T>), signal: AbortSignal, label: string)
packages/e2e/src/engine/timing.ts:6
↓ 17 callers
Function
record
(method: string, operation: OperationContext)
packages/e2e/tests/helpers/fake-engine.ts:206
↓ 17 callers
Method
requireSession
Returns the active attempt, including its connection generation and references.
packages/web/src/surface.ts:530
↓ 17 callers
Method
text
Waits for the body and reads it as text; rejects with `ACTION_FAILED` when the body could not be read.
packages/web/src/browser.ts:105
↓ 17 callers
Method
write
(text: string)
packages/e2e/src/cli/wordmark.ts:187
↓ 16 callers
Function
asEngineError
( value: unknown, )
packages/e2e/src/internal/errors.ts:167
↓ 16 callers
Function
didYouMean
(word: string, candidates: readonly string[])
packages/e2e/src/internal/suggest.ts:41
↓ 16 callers
Function
format
(value: unknown)
packages/e2e/src/expect/values.ts:27
↓ 16 callers
Method
kill
Terminates without waiting for in-flight work to unwind.
packages/e2e/src/run/unit-runner.ts:30
↓ 16 callers
Method
print
Writes one permanent line without disturbing the live window.
packages/e2e/src/report/list.ts:356
↓ 16 callers
Method
toBeNull
Requires null.
packages/e2e/src/types.ts:840
↓ 16 callers
Function
toTextPattern
(match: TextMatch, options?: { exact?: boolean })
packages/e2e/src/internal/text.ts:39
↓ 15 callers
Method
check
Messages are thunks: formatting large values is paid only on failure.
packages/e2e/src/expect/values.ts:56
↓ 15 callers
Function
createFakeEngine
(behavior: FakeEngineBehavior = {})
packages/e2e/tests/helpers/fake-engine.ts:189
↓ 15 callers
Method
expired
(now: number = Date.now())
packages/e2e/src/internal/time.ts:17
↓ 15 callers
Method
guard
* The single entry of every operation: rethrows an error latched on an * unawaited path, refuses a cancelled operation, races `fn` against the *
packages/web/src/surface.ts:618
↓ 15 callers
Method
remaining
Remaining budget in ms, never negative.
packages/e2e/src/internal/time.ts:13
↓ 15 callers
Function
resolve
(raw: Partial<E2EConfig>, env: NodeJS.ProcessEnv = BASE_ENV)
packages/e2e/tests/unit/config.test.ts:17
↓ 14 callers
Function
bound
(text: string, maxChars: number)
packages/e2e/src/cache/trace.ts:40
↓ 14 callers
Method
click
Alias of tap.
packages/e2e/src/types.ts:457
↓ 14 callers
Method
count
Counts current matches without auto-waiting.
packages/e2e/src/types.ts:513
↓ 14 callers
Method
page
* One page of a scroll to a text: on the re-found list, else on the * viewport, which also takes over for good once the list cannot be * re-foun
packages/e2e/src/agent/action-dispatcher.ts:471
↓ 14 callers
Function
redact
(text: string)
packages/e2e/src/internal/redact.ts:88
↓ 14 callers
Method
swipe
Performs a viewport-level swipe: in a direction, or along a path from one point to another.
packages/e2e/src/types.ts:441
↓ 13 callers
Method
focus
Focuses exactly one node.
packages/e2e/src/types.ts:483
↓ 13 callers
Method
launch
(label: string, run: (launchSignal: AbortSignal) => Promise<T>)
packages/e2e/src/run/execute.ts:575
↓ 13 callers
Method
screenshot
Captures a redacted evidence screenshot.
packages/e2e/src/types.ts:560
↓ 13 callers
Function
terminalColumns
()
packages/e2e/src/report/format.ts:47
↓ 13 callers
Method
user
Resolves a named credential without exposing its password.
packages/e2e/src/config/secrets.ts:39
↓ 13 callers
Function
uuidv7
(now: number = Date.now())
packages/e2e/src/internal/ids.ts:120
↓ 12 callers
Function
captureDocument
( deps: CaptureDeps, host: DocumentHost, options: CaptureOptions, )
packages/web/src/observation.ts:96
↓ 12 callers
Method
deadline
Deadline for one action-family operation, capped by the running phase's deadline.
packages/e2e/src/locator/engine.ts:93
↓ 12 callers
Function
defineTool
(tool: Tool, annotations: ToolAnnotations)
packages/e2e/src/agent/tool.ts:31
↓ 12 callers
Function
describeExpression
(expression: LocatorExpression)
packages/e2e/src/locator/expression.ts:152
↓ 12 callers
Method
getByPlaceholder
Creates a lazy placeholder query.
packages/e2e/src/types.ts:431
↓ 12 callers
Function
judgment
(result: boolean | 'inconclusive', explanation: string)
packages/e2e/tests/helpers/fake-model.ts:219
↓ 12 callers
Function
surfaceOf
(engine: EngineHandle)
packages/web/src/engine.ts:48
↓ 11 callers
Method
check
Checks exactly one node.
packages/e2e/src/types.ts:477
↓ 11 callers
Function
code
(text: string, max = MAX_CELL_CHARS)
packages/e2e/src/report/markdown-text.ts:76
↓ 11 callers
Function
connectionAbort
(signal: AbortSignal, label: string)
packages/web/src/operation-budget.ts:10
↓ 11 callers
Function
createEngineSession
(options: EngineSessionOptions)
packages/e2e/src/engine/session.ts:131
↓ 11 callers
Function
emit
(outbound: WorkerToMain)
packages/e2e/src/run/worker/entry.ts:238
↓ 11 callers
Method
get
(host: unknown)
packages/e2e/src/internal/realm-slot.ts:9
↓ 11 callers
Function
installFakeModel
( responder: FakeResponder, options: { modelId?: string; reasoning?: string } = {}, )
packages/e2e/tests/helpers/fake-model.ts:99
↓ 11 callers
Function
isAgentError
(value: unknown)
packages/e2e/src/agent/error.ts:148
↓ 11 callers
Function
isSecret
(value: unknown)
packages/e2e/src/secrets.ts:117
↓ 11 callers
Method
open
`session.open`: the app is open at `url`.
packages/e2e/tests/helpers/scripted-scene.ts:67
↓ 11 callers
Function
plural
(count: number, noun: string)
packages/e2e/src/report/markdown-text.ts:99
↓ 11 callers
Method
remainingMs
()
packages/e2e/src/agent/replay.ts:70
↓ 11 callers
Method
toHaveURL
Waits for the current URL to match; `ignoreCase` compares a string case-insensitively and adds the `i` flag to a RegExp, `false` removes it.
packages/web/src/browser.ts:159
↓ 11 callers
Method
url
Returns the current URL.
packages/web/src/browser.ts:205
↓ 11 callers
Method
waitFor
Polls a natural-language condition until true or timed out.
packages/e2e/src/types.ts:240
↓ 11 callers
Function
withTimeout
( promise: Promise<T>, timeoutMs: number, onTimeout: () => Error, )
packages/e2e/src/internal/time.ts:107
↓ 10 callers
Method
addInitScript
* Adds a script every document runs before the page's own, from the next * navigation on: JavaScript source, a `{ path }` relative to the project
packages/web/src/browser.ts:226
↓ 10 callers
Method
attachArtifact
Registers a file the current step produced under the attempt artifact directory.
packages/e2e/src/engine/index.ts:227
↓ 10 callers
Function
buildTraceEntry
(payload: ActionTrace)
packages/e2e/src/cache/trace.ts:419
↓ 10 callers
Function
collectModule
( load: () => Promise<unknown>, moduleFile?: string, redactTitle: (title: string) => string = (title) =>
packages/e2e/src/collect/registry.ts:464
↓ 10 callers
Method
completed
Steps whose execution has finished, e.g. as prior-step prompt context.
packages/e2e/src/run/steps.ts:550
↓ 10 callers
Method
context
Builds the executor-facing context.
packages/e2e/src/agent/act.ts:258
↓ 10 callers
Method
ensurePage
Creates the active page through the attempt's sole binding owner.
packages/web/src/surface.ts:601
↓ 10 callers
Method
handle
(message: MainToWorker)
packages/e2e/src/run/worker/session.ts:161
↓ 10 callers
Method
perform
* One action on the node for a verb that takes only a timeout. Any other * option key (Playwright's `trial`, `force`, `noWaitAfter`) throws before
packages/e2e/src/locator/screen.ts:321
↓ 10 callers
Function
readTraceEntry
(document: unknown)
packages/e2e/src/cache/trace.ts:428
↓ 10 callers
Function
resolveExpression
( expression: LocatorExpression, nodes: readonly SemanticNode[], options: ResolveExpressionOptions = {},
packages/e2e/src/engine/resolve.ts:46
↓ 10 callers
Method
run
Runs one body inside the step, after every body submitted before it; what it records attributes to the step.
packages/e2e/src/agent/interactive-step.ts:34
↓ 10 callers
Method
run
()
packages/e2e/src/run/extended-fixtures.ts:10
↓ 10 callers
Function
runProjectWithConfigFile
( files: Readonly<Record<string, string>>, options: RunProjectOptions & { configSource: string }, )
packages/e2e/tests/helpers/run-project.ts:153
↓ 10 callers
Function
sanitizeText
(text: string)
packages/e2e/src/internal/errors.ts:443
↓ 10 callers
Method
select
(target: ExecutorTarget, value: string)
packages/e2e/src/agent/executor.ts:177
↓ 10 callers
Function
sessionSecrecy
( session: TargetSession, secrets: ResolvedConfig['allSecrets'], )
packages/e2e/src/run/secrecy.ts:153
↓ 10 callers
Method
textContent
Reads normalized text without retrying for a particular value.
packages/e2e/src/types.ts:495
↓ 10 callers
Method
type
* Types `text` into the focused field as a person typing would, through * the platform's keyboard path: a browser dispatches the key events of each
packages/e2e/src/engine/index.ts:122
↓ 10 callers
Function
visibleWidth
(text: string)
packages/e2e/src/report/format.ts:464
↓ 9 callers
Method
arrayContaining
Matches an array holding every element of `sample`, each compared with `toEqual` rules, in any order.
packages/e2e/src/types.ts:964
↓ 9 callers
Method
build
(expression: LocatorExpression)
packages/e2e/src/locator/screen.ts:156
↓ 9 callers
Function
defaultCredentialStore
(env: NodeJS.ProcessEnv = process.env)
packages/e2e/src/oauth/store.ts:27
↓ 9 callers
Function
describeResponse
(response: Response)
packages/e2e/src/oauth/errors.ts:27
↓ 9 callers
Function
describeValue
(value: unknown)
packages/e2e/src/config/validate.ts:27
↓ 9 callers
Function
engineFailure
(code: EngineErrorCode, message: string, retryable = false)
packages/e2e/tests/helpers/engine-runtime.ts:20
↓ 9 callers
Function
fail
(message: string)
packages/e2e/src/expect/values.ts:11
↓ 9 callers
Method
first
Selects the first current match.
packages/e2e/src/types.ts:527
↓ 9 callers
Function
formatTime
(ms: number)
packages/e2e/src/report/format.ts:57
↓ 9 callers
Method
get
(providerId: string)
packages/e2e/src/oauth/types.ts:78
↓ 9 callers
Method
init
* Once per worker, before the first step; boot devices here, not in a step * budget. The same handle can be booted again after `dispose`: a config-
packages/e2e/src/engine/index.ts:761
↓ 9 callers
Function
invalidState
(text: string)
packages/web/src/support.ts:193
↓ 9 callers
Function
loadAiSdk
()
packages/e2e/src/agent/ai-sdk.ts:56
↓ 9 callers
Method
note
* A loop event between turns (a reply without a tool call, an overflow * retry) is written onto the turn it followed, so the report and the * tr
packages/e2e/src/agent/tool-loop.ts:658
← previous
next →
101–200 of 5,049, ranked by callers