MCPcopy Create free account

hub / github.com/cypress-io/cypress / functions

Functions10,924 in github.com/cypress-io/cypress

↓ 2 callersFunctionthenFn
(subject, userOptions, fn)
packages/driver/src/cy/commands/connectors.ts:49
↓ 2 callersFunctionthrowAndLogErr
(err)
packages/driver/src/cy/commands/asserting.ts:107
↓ 2 callersFunctionthrowPrivateCommandInterface
(method)
packages/driver/src/cypress.ts:75
↓ 2 callersFunctiontick
()
cli/lib/tasks/unzip.ts:78
↓ 2 callersMethodto
()
packages/socket/lib/node/cdp-socket.ts:209
↓ 2 callersFunctiontoBridgeEntries
(clientCertificates: { url: string }[])
packages/server/lib/mtls/index.ts:91
↓ 2 callersFunctiontoFulfilledHeaders
* Middleware headers describe the body the pipeline produced — including any * re-encoding by CompressBody — so keep their content-encoding and only
packages/server/lib/browsers/cdp-protocol/cdp-fetch-codec.ts:128
↓ 2 callersFunctiontoHex
(words, wordSize)
packages/server/lib/privileged-commands/privileged-channel.js:161
↓ 2 callersFunctiontoIdentityResponse
(response: HttpResponse)
packages/proxy/lib/adapters/synthetic-proxy-codec.ts:59
↓ 2 callersFunctiontoMilliseconds
(duration: unknown)
packages/driver/src/cy/commands/actions/scroll.ts:35
↓ 2 callersMethodtoPrimaryPromise
* Promisified event sent to the primary communicator that expects the same event reflected back with the response. * @param {string} event - the na
packages/driver/src/cross-origin/communicator.ts:355
↓ 2 callersFunctiontoResponseBody
(body?: string | Buffer)
packages/server/lib/browsers/cdp-protocol/cdp-fetch-codec.ts:63
↓ 2 callersMethodtoggleAutoScrollingUserPref
* Toggles the auto-scrolling user preference to true|false. This method should only be called from the * preferences menu itself.
packages/reporter/src/lib/app-state.ts:103
↓ 2 callersMethodtoggleCodeEditorLineWrap
()
packages/reporter/src/lib/app-state.ts:147
↓ 2 callersMethodtoggleSelectorHighlight
(isShowingHighlight: boolean)
packages/app/src/runner/aut-iframe.ts:584
↓ 2 callersMethodtoggleSpecList
()
packages/reporter/src/lib/app-state.ts:107
↓ 2 callersFunctiontransformRequires
(buildResourcePath)
scripts/binary/util/transform-requires.js:35
↓ 2 callersFunctiontransformSpec
({ projectRoot, absolute, testingType, commonRoot, platform, sep, }: TransformSpec)
packages/data-context/src/sources/ProjectDataSource.ts:74
↓ 2 callersFunctiontranslateEgressPolicyToLaunchOpts
( hosts?: { [host: string]: string } | null, mtlsOrigins: { hostname: string, port: number }[] = [], )
packages/server/lib/util/egress-policy.ts:18
↓ 2 callersMethodtrigger
(log, event: 'command:log:added' | 'command:log:changed')
packages/driver/src/cypress/log.ts:896
↓ 2 callersFunctiontryConnect
(iteration = 0)
packages/network/lib/connect.ts:101
↓ 2 callersFunctiontryReadFile
* Tries to read the given file and returns it's contents if it succeeds. * @category utils
tooling/v8-snapshot/src/utils.ts:87
↓ 2 callersMethodtryResolve
* Given the `moduleUri` it attempts to resolve the full path to the module. * The idea here is to only fall back to Node.js resolution which requir
packages/packherd-require/src/loader.ts:458
↓ 2 callersMethodtypeSimulatedKey
(el: HTMLElement, key: KeyDetails, options)
packages/driver/src/cy/keyboard.ts:1224
↓ 2 callersFunctiontypescript
(projectRoot)
packages/server/lib/util/resolve.ts:10
↓ 2 callersFunctionunbracket
* `URL.hostname` keeps the brackets around an IPv6 literal, but `net.isIP` and `net.connect` * both want it bare. The bracketed form stays in the URL
packages/server/lib/mtls/upstream-connection.ts:84
↓ 2 callersMethoduninstall
()
packages/server/lib/util/net_profiler.ts:203
↓ 2 callersFunctionunknownPlatformErr
()
packages/electron/src/paths.ts:46
↓ 2 callersMethodunpackFetchableNodeId
(id: string)
packages/data-context/src/sources/RemoteRequestDataSource.ts:207
↓ 2 callersMethodunpipeAll
()
packages/server/lib/util/stream_buffer.ts:120
↓ 2 callersMethodunset
(key)
packages/driver/src/cypress/log.ts:525
↓ 2 callersMethodunwrappedSecretKey
()
packages/server/test/unit/cloud/api/cloud_request_encryption.spec.ts:19
↓ 2 callersFunctionunzipArchive
(zipFilePath: string, installDir: string)
cli/lib/tasks/install.ts:355
↓ 2 callersFunctionupdateFunc
( i )
system-tests/projects/e2e/static/jquery.js:3743
↓ 2 callersMethodupdateMainFrameContext
()
packages/server/lib/browsers/webkit-cdp-bridge.ts:64
↓ 2 callersFunctionupdateRequest
(req)
packages/driver/src/cy/net-stubbing/events/before-request.ts:286
↓ 2 callersMethodupdateServiceWorkerRegistrations
(data: Protocol.ServiceWorker.WorkerRegistrationUpdatedEvent)
packages/proxy/lib/http/index.ts:644
↓ 2 callersMethodupdateServiceWorkerVersions
(data: Protocol.ServiceWorker.WorkerVersionUpdatedEvent)
packages/proxy/lib/http/index.ts:648
↓ 2 callersMethodupdateSessionId
(sessionId: string)
packages/types/src/studio/studio-server-types.ts:187
↓ 2 callersFunctionupdateWithPluginValues
(cfg: FullConfig, modifiedConfig: any, testingType: TestingType)
packages/config/src/project/index.ts:46
↓ 2 callersMethodupload
()
packages/server/lib/cloud/artifacts/artifact.ts:58
↓ 2 callersMethoduploadCaptureArtifact
(artifact: CaptureArtifact)
packages/types/src/protocol.ts:136
↓ 2 callersFunctionurl
()
packages/driver/src/cy/net-stubbing/events/before-request.ts:180
↓ 2 callersMethodurlChanged
(input: any)
packages/types/src/protocol.ts:26
↓ 2 callersFunctionurlMatchesPolicy
({ policy, frameUrl, topUrl }: { policy: Policy frameUrl: string topUrl: string })
packages/network-tools/lib/cors.ts:133
↓ 2 callersFunctionurlMatchesPolicyProps
({ policy, frameUrl, topProps }: { policy: Policy frameUrl: string topProps: ParsedHostWithProtocolAndHo
packages/network-tools/lib/cors.ts:94
↓ 2 callersMethoduseMorgan
()
packages/server/lib/server-base.ts:634
↓ 2 callersFunctionuseSubscription
(...args)
packages/app/src/graphql.ts:6
↓ 2 callersFunctionuserFriendlySpawn
(spawn: ReturnType<typeof createSpawnFunction>, linuxWithDisplayEnv?: any)
cli/lib/exec/spawn.ts:505
↓ 2 callersFunctionvalidate
( func: (arg: unknown) => boolean, arg: unknown, errorMessage: string, )
packages/server/lib/plugins/child/validate_event.ts:15
↓ 2 callersFunctionvalidateCypressSupport
(validator: BrowserValidator | undefined, browser: FoundBrowser, platform: NodeJS.Platform)
packages/launcher/lib/detect.ts:38
↓ 2 callersFunctionvalidateEvent
( event: string, handler: unknown, config?: Cypress.PluginConfigOptions, errConstructorFn?: () => void
packages/server/lib/plugins/child/validate_event.ts:49
↓ 2 callersFunctionvalidateNoBreakingConfig
(cfg: any, onWarning: ErrorHandler, onErr: ErrorHandler, testingType: TestingType)
packages/config/src/browser.ts:194
↓ 2 callersFunctionvalidateNumScreenshots
(numScreenshots: number, automationOptions: ScreenshotAutomationOptions)
packages/driver/src/cy/commands/screenshot.ts:152
↓ 2 callersFunctionvalidatePrTitle
({ github, prTitle, restParameters })
scripts/github-actions/semantic-pull-request/validate-pr-title.js:35
↓ 2 callersFunctionvalidateSession
(existingSession, step: keyof typeof SESSION_STEPS)
packages/driver/src/cy/commands/sessions/index.ts:236
↓ 2 callersFunctionvalidateThirdPartyModule
(m: Cypress.ThirdPartyComponentFrameworkDefinition)
packages/scaffold-config/src/ct-detect-third-party.ts:228
↓ 2 callersFunctionverify
(options: unknown, overrides = {})
packages/server/test/unit/privileged-commands/privileged-commands-manager.spec.ts:116
↓ 2 callersFunctionverifyAssertions
()
packages/driver/src/cy/commands/actions/type.ts:552
↓ 2 callersFunctionverifyAssertions
()
packages/driver/src/cy/commands/actions/scroll.ts:157
↓ 2 callersFunctionverifyAssertions
()
packages/driver/src/cy/commands/actions/focus.ts:102
↓ 2 callersFunctionverifyBundleOnDisk
(finalDir: string)
packages/server/lib/cloud/bundles/verify_bundle_on_disk.ts:25
↓ 2 callersFunctionverifyMochaResults
({ expectedResultCount })
scripts/verify-mocha-results.js:65
↓ 2 callersFunctionverifyPassedAndFailedAreSame
(expectedFailures)
system-tests/test/error_ui_spec.ts:4
↓ 2 callersFunctionverifySignature
(body: BinaryLike, signature: string, publicKey?: crypto.KeyObject)
packages/server/lib/cloud/encryption.ts:51
↓ 2 callersFunctionverifyTestRunnerTimeoutMs
()
cli/lib/tasks/verify.ts:17
↓ 2 callersMethodversionData
* Returns most recent and current version of Cypress * { * current: { * id: '8.7.0', * version: '8.7.0', * released: '202
packages/data-context/src/sources/VersionsDataSource.ts:64
↓ 2 callersMethodviewportChanged
(input: any)
packages/types/src/protocol.ts:25
↓ 2 callersFunctionwait
()
packages/server/lib/modes/run.ts:542
↓ 2 callersFunctionwaitForReadyMessage
( outPath: string, errPath: string, child: ChildProcess, onStderr: (chunk: Buffer) => void = (chunk) =
cli/lib/exec/detached.ts:192
↓ 2 callersFunctionwaitForRoute
(alias: string, state: StateFunc, specifier: 'request' | 'response' | string)
packages/driver/src/cy/net-stubbing/wait-for-route.ts:10
↓ 2 callersFunctionwalkFiles
(root: string, currentRel: string = '')
packages/server/lib/cloud/bundles/walk_files.ts:5
↓ 2 callersMethodwarnMixingPromisesAndCommands
()
packages/driver/src/cypress/cy.ts:1135
↓ 2 callersMethodwatchFiles
(paths: string[])
packages/data-context/src/data/ProjectConfigManager.ts:449
↓ 2 callersMethodwatchTestFileByPath
(config, specConfig: FoundSpec)
packages/server/lib/socket-e2e.ts:71
↓ 2 callersFunctionwhich
(event)
packages/driver/cypress/fixtures/jquery-3.2.1.js:5483
↓ 2 callersFunctionwildcardBreadth
* How many hosts a pattern can match: fewer is more specific. A pattern with no wildcard * matches exactly one host, and `*` matches everything.
packages/server/lib/mtls/bridge-plan.ts:139
↓ 2 callersFunctionwithCurrentOrigin
(origins: string[])
packages/driver/src/cy/commands/sessions/origins.ts:27
↓ 2 callersFunctionwithheld
(length: number)
packages/driver/src/cypress/log.ts:49
↓ 2 callersFunctionwrap
(obj)
packages/driver/src/dom/jquery.ts:5
↓ 2 callersFunctionwrap
(ctx)
packages/driver/src/cypress/assertions/assert.ts:38
↓ 2 callersFunctionwrap
(ctx, type, agent, obj, method, count?)
packages/driver/src/cy/commands/agents.ts:155
↓ 2 callersFunctionwrapAll
(runnable)
packages/driver/src/cypress/runner.ts:190
↓ 2 callersMethodwrapConsoleProps
()
packages/driver/src/cypress/log.ts:817
↓ 2 callersFunctionwriteOutput
(outputPath, results)
packages/server/lib/modes/run.ts:145
↓ 2 callersFunctionwriteUrqlIntrospection
(schema: GraphQLSchema)
packages/data-context/scripts/urqlIntrospection.ts:15
↓ 2 callersFunctionwriteVideoFrame
(data)
packages/server/lib/video_capture.ts:166
↓ 1 callersMethod#atob
(encoded: string)
packages/data-context/src/sources/RemoteRequestDataSource.ts:219
↓ 1 callersMethod#base64Decode
(str: string)
packages/data-context/src/sources/GraphQLDataSource.ts:108
↓ 1 callersMethod#btoa
(unencoded: string)
packages/data-context/src/sources/RemoteRequestDataSource.ts:223
↓ 1 callersMethod#calculateSelectedRun
(runs: RelevantRunInfo[], shas: string[], preserveSelectedRun: boolean)
packages/data-context/src/sources/RelevantRunsDataSource.ts:149
↓ 1 callersMethod#delegateNodeToCloud
* If we detect that the underlying type for a "node" field is a "Cloud" type, * then we want to issue it as a "cloudNode" query
packages/data-context/src/sources/GraphQLDataSource.ts:66
↓ 1 callersMethod#destroyWatcher
(watcher?: chokidar.FSWatcher)
packages/data-context/src/sources/GitDataSource.ts:191
↓ 1 callersMethod#ensureError
(val: any)
packages/data-context/src/sources/CloudDataSource.ts:354
↓ 1 callersMethod#executeRemote
(params: MaybeLoadRemoteFetchable)
packages/data-context/src/sources/RemoteRequestDataSource.ts:156
↓ 1 callersMethod#getDataFieldNodes
(info: GraphQLResolveInfo)
packages/data-context/src/sources/RemoteRequestDataSource.ts:392
↓ 1 callersMethod#getGitLogs
(absolutePaths: readonly string[])
packages/data-context/src/sources/GitDataSource.ts:366
↓ 1 callersMethod#getReferencedVariables
(selectionNodes: readonly SelectionNode[], outerVariableDefs: readonly VariableDefinitionNode[])
packages/data-context/src/sources/RemoteRequestDataSource.ts:375
↓ 1 callersMethod#getVersionMetadata
()
packages/data-context/src/sources/VersionsDataSource.ts:99
↓ 1 callersMethod#loadCurrentBranch
()
packages/data-context/src/sources/GitDataSource.ts:252
← previousnext →2,701–2,800 of 10,924, ranked by callers