MCPcopy Create free account

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

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

↓ 8 callersMethodtoLaunchpad
* Broadcasts a signal to the "launchpad" (Electron GUI) via Socket.io, * typically used to trigger a re-query of data on the frontend
packages/data-context/src/actions/DataEmitterActions.ts:184
↓ 8 callersFunctiontoPosix
(file: string, sep: string = path.sep)
packages/data-context/src/util/file.ts:3
↓ 8 callersMethodtoSpecBridge
* Sends an event to a specific spec bridge. * @param origin - the origin of the spec bridge to send the event to. * @param event - the name of t
packages/driver/src/cross-origin/communicator.ts:159
↓ 8 callersFunctionwriteFile
(projectRoot: string, options: { fileName: string, contents: string, encoding?: BufferEncoding, flag?: string
packages/server/lib/files.ts:51
↓ 7 callersFunctionaskMissingOptions
(properties = [])
scripts/binary/index.js:54
↓ 7 callersFunctionbuildTapSchema
(cypressVersion: string)
packages/cypress-sessions/lib/tap-contract.ts:234
↓ 7 callersMethodcleanupIpc
()
packages/data-context/src/data/ProjectConfigIpc.ts:496
↓ 7 callersMethodclearCurrentProject
()
packages/data-context/src/actions/ProjectActions.ts:119
↓ 7 callersMethodclearLoadError
* Withdraws the record of a load error once whatever caused it is resolved, so `cypress tap * status` does not keep reporting it. Given `kinds`, on
packages/data-context/src/DataContext.ts:369
↓ 7 callersFunctioncookieMatches
(cookie: CyCookie | playwright.Cookie, filter?: CyCookieFilter, options?: { strictDomain: boolean })
packages/server/lib/automation/cookie/util.ts:43
↓ 7 callersFunctioncreateCdpFetchCodec
()
packages/server/lib/browsers/cdp-protocol/cdp-fetch-codec.ts:288
↓ 7 callersMethodcreateMiddlewareContext
(req: CypressIncomingRequest, res: CypressOutgoingResponseLike, handleHttpRequestSpan?: Span)
packages/proxy/lib/http/index.ts:508
↓ 7 callersFunctioncreateRoutes
(props: DeepPartial<typeof routeHandlers> = {})
system-tests/lib/serverStub.ts:273
↓ 7 callersFunctiondefineNativeCommand
( name: N, handler: ( options: TapCliOptions, args: TapRawParams<ParamsOf<NativeByName<N>>>, c
cli/lib/tap/commands/definition.ts:19
↓ 7 callersFunctiondone
( status, nativeStatusText, responses, headers )
system-tests/projects/e2e/static/jquery.js:9013
↓ 7 callersFunctionexecFn
(overrides = {})
system-tests/lib/system-tests.ts:789
↓ 7 callersFunctionfire
(event: RunnerEvent, runnable, Cypress, ...args)
packages/driver/src/cypress/runner.ts:60
↓ 7 callersFunctionfired
(event: RunnerEvent, runnable)
packages/driver/src/cypress/runner.ts:76
↓ 7 callersFunctionfn
()
packages/driver/cypress/e2e/cypress/cy.cy.ts:490
↓ 7 callersFunctionfn
()
packages/server/test/unit/browsers/browsers.spec.ts:493
↓ 7 callersFunctionfn
()
system-tests/projects/e2e/cypress/e2e/screenshot_element_capture.cy.js:15
↓ 7 callersFunctiongetAll
(context, tag)
packages/driver/cypress/fixtures/jquery-3.2.1.js:4707
↓ 7 callersMethodgetAll
(...aliases: string[])
packages/driver/types/spec-types.d.ts:6
↓ 7 callersFunctiongetContainerEl
()
npm/mount-utils/src/index.ts:8
↓ 7 callersFunctiongetPathToDist
(folder: FoldersWithDist, ...args: string[])
packages/resolve-dist/lib/index.ts:14
↓ 7 callersFunctiongetRunnerConfigFromWindow
()
packages/app/src/runner/get-runner-config-from-window.ts:3
↓ 7 callersFunctiongetScreenshotDocsPath
(cmd)
packages/driver/src/cypress/error_messages.ts:81
↓ 7 callersFunctiongetSelectionBounds
(el)
packages/driver/src/dom/selection.ts:519
↓ 7 callersMethodgetStartTime
ISO start time of the run; null before the first test runs.
packages/app/src/tap/types.ts:30
↓ 7 callersFunctiongetTestById
(id)
packages/driver/src/cypress/runner.ts:1377
↓ 7 callersFunctionhandler
(method: 'get' | 'post', route: string)
packages/server/test/unit/routes.spec.ts:810
↓ 7 callersMethodisAttached
* Throws an error if `subject` is not a DOM element attached to the application under test.
cli/types/cypress.d.ts:172
↓ 7 callersMethodisCy
* Checks if a variable is a valid instance of `cy` or a `cy` chainable. * * @see https://on.cypress.io/iscy * @example * Cypres
cli/types/cypress.d.ts:583
↓ 7 callersMethodisHttpError
(error: Error & { kind?: any, originalResponse?: Response })
packages/server/lib/cloud/network/http_error.ts:18
↓ 7 callersMethodisScrollable
* Throws an error if `subject` is a read-only form element.
cli/types/cypress.d.ts:192
↓ 7 callersMethodisType
* Throws an error if `subject` is not one of the passed in `type`s.
cli/types/cypress.d.ts:152
↓ 7 callersFunctionisUndefinedOrHTMLBodyDoc
($el: JQuery<HTMLElement>)
packages/driver/src/dom/elements/find.ts:212
↓ 7 callersMethodlaunchProject
(browser: FoundBrowser, spec: Cypress.Spec, options?: Partial<OpenProjectLaunchOpts>)
packages/data-context/src/actions/ProjectActions.ts:44
↓ 7 callersMethodlogin
* Definition for a custom command "login" that was added separately * using `Cypress.Commands.add('login', (username, password) => {...})`.
cli/types/tests/plugins-test.ts:26
↓ 7 callersFunctionnext
()
system-tests/projects/e2e/static/jquery.js:4293
↓ 7 callersFunctionnormalize
(runnable, tests, initialTests, getRunnableId, getHookId, setOnlyTestId, getOnlyTestId, getNewTestLineNumber,
packages/driver/src/cypress/runner.ts:733
↓ 7 callersMethodnormalize
(message: T, data: AutomationCommands[T]['dataType'], automate?)
packages/server/lib/automation/automation.ts:201
↓ 7 callersFunctiononMessage
({ data })
packages/driver/cypress/e2e/e2e/origin/message_source.cy.ts:42
↓ 7 callersFunctionpreprocessForSerialization
(valueToSanitize: { [key: string]: any })
packages/driver/src/util/serialization/index.ts:83
↓ 7 callersMethodrefreshLifecycle
()
packages/data-context/src/data/ProjectLifecycleManager.ts:486
↓ 7 callersMethodrelease
* Abandons a single armed capture whose flow lost its owner (e.g. reset() * raced the arm await), so the pump stops pushing into a stream nobody wi
packages/server/lib/browsers/cdp-protocol/cdp-body-capture.ts:153
↓ 7 callersMethodrequire
()
packages/driver/src/cypress.ts:963
↓ 7 callersFunctionsendPointerEvent
(el, evtOptions, evtName, bubbles = false, cancelable = false)
packages/driver/src/cy/mouse.ts:65
↓ 7 callersFunctionserializeForInlineScript
(value: unknown)
packages/network-tools/lib/serialize-for-inline-script.ts:1
↓ 7 callersMethodsetActiveBrowser
(browser: FoundBrowser)
packages/data-context/src/actions/BrowserActions.ts:26
↓ 7 callersMethodsetNetworkMode
* Prepares the server for the network path of the browser about to launch. * * The MITM direction is completed here: the https proxy is up and t
packages/server/lib/server-base.ts:532
↓ 7 callersMethodsetPreferences
(object: AllowedState)
packages/data-context/src/actions/LocalSettingsActions.ts:15
↓ 7 callersMethodsetSystemTime
* Change the time without invoking any timers. * * Default value with no argument or undefined is 0. * * This can be useful if you
cli/types/cypress.d.ts:6928
↓ 7 callersFunctionsetupStubbedServer
(routes)
system-tests/lib/serverStub.ts:490
↓ 7 callersMethodsiblings
* Get sibling DOM elements. * * @see https://on.cypress.io/siblings * @example * cy.get('td').siblings('a') // Yield all link s
cli/types/cypress.d.ts:2340
↓ 7 callersFunctionspawned
( prefix: AllSpawnableApps, command: string, opts: SpawnedOptions = {}, )
scripts/gulp/utils/childProcessUtils.ts:89
↓ 7 callersMethodtoAllSpecBridges
* Sends an event to all spec bridge communicator instances. * @param {string} event - the name of the event to be sent. * @param {any} data - an
packages/driver/src/cross-origin/communicator.ts:133
↓ 7 callersMethodtransaction
()
packages/server/lib/util/file.ts:49
↓ 7 callersFunctionuniqueRoute
(route)
packages/driver/cypress/e2e/commands/net_stubbing/helpers.ts:14
↓ 7 callersMethodwaitUntil
(f: Promise<unknown>)
packages/driver/cypress/e2e/e2e/service-worker.cy.ts:8
↓ 7 callersFunctionwithTapConnection
( session: ReadySessionState, fn: (connection: TapConnection) => Promise<T>, timeoutMs?: number, )
cli/lib/tap/tap-connection.ts:248
↓ 6 callersFunctionInjectable
()
system-tests/projects/ts-proj-7/cypress/e2e/decorators.cy.ts:5
↓ 6 callersMethod__reset
()
packages/reporter/src/lib/scroller.ts:147
↓ 6 callersMethod_withTest
(id: string, cb: ((test: TestModel) => void))
packages/reporter/src/runnables/runnables-store.ts:239
↓ 6 callersFunctionautoBindDebug
(obj: T)
packages/data-context/src/util/autoBindDebug.ts:14
↓ 6 callersFunctioncallsWith
(mock: Mock, ...expected: unknown[])
packages/server/test/unit/browsers/browser-cri-client.spec.ts:49
↓ 6 callersFunctionclickCommandLog
(sel, type?)
packages/driver/cypress/support/utils.ts:35
↓ 6 callersMethodcommand
(name: string, ...args: any[])
packages/driver/types/internal-types.d.ts:79
↓ 6 callersMethodconnectCyPromptToBrowser
(options)
packages/server/lib/open_project.ts:331
↓ 6 callersMethodconsoleProps
Return an object that will be printed in the dev tools console
cli/types/cypress.d.ts:7020
↓ 6 callersMethodcreateCdpFetchNetworkRuntime
( client: Pick<ICriClient, 'send' | 'on' | 'off'>, isAUTFrame?: (frameId: string) => Promise<boolean>,
packages/server/lib/server-base.ts:711
↓ 6 callersFunctioncreateCommonRoutes
({ config, getNetworkProxy, isBrowserNetworkMode, testingType, getSpec, remoteStates, socketAllo
packages/server/lib/routes.ts:50
↓ 6 callersMethodcreateLegacyProxyPipeline
(codec: TransportCodecPort<any, any>)
packages/proxy/lib/http/index.ts:414
↓ 6 callersFunctioncreateSyntheticProxyCodec
( options: SyntheticProxyCodecOptions, )
packages/proxy/lib/adapters/synthetic-proxy-codec.ts:118
↓ 6 callersFunctiondefaultTimeout
()
packages/server/lib/cloud/api/index.ts:60
↓ 6 callersMethoddestroy
* Destroy the request and respond with a network error.
packages/network-interception/lib/types/external-types.ts:177
↓ 6 callersFunctiondigestBody
(body: Buffer)
packages/server/lib/browsers/cdp-protocol/body-digest.ts:8
↓ 6 callersFunctiondir
(elem, dir, until)
packages/driver/cypress/fixtures/jquery-3.2.1.js:2806
↓ 6 callersMethoddispose
* Releases long-lived timers owned by this proxy. Used when replacing the * CDP Fetch NetworkProxy so prior PreRequests sweep intervals do not leak
packages/proxy/lib/network-proxy.ts:92
↓ 6 callersMethodduration
()
packages/reporter/src/header/stats-store.ts:39
↓ 6 callersFunctioneach
(fn)
packages/server/lib/util/obj_utils.ts:40
↓ 6 callersMethodencodeResponse
(response: HttpResponse)
packages/network-interception/lib/ports/http-interception.ts:46
↓ 6 callersMethodendActiveSpanAndChildren
(span?: Span | undefined)
packages/telemetry/src/telemetry/index.ts:65
↓ 6 callersFunctionerrByPath
(msgPath, args?)
packages/driver/src/cypress/error_utils.ts:438
↓ 6 callersFunctioneventManager
()
packages/app/src/tap/tap-manager-data-source.ts:11
↓ 6 callersFunctionexecAsync
( command: string, options: ExecAsyncOptions = {}, )
scripts/gulp/utils/childProcessUtils.ts:168
↓ 6 callersMethodexecuteRemoteGraphQL
* Executes the query against a remote schema. Keeps an urql client for the normalized caching, * so we can respond quickly on first-load if we have
packages/data-context/src/sources/CloudDataSource.ts:277
↓ 6 callersMethodfindActiveSpan
(fn: findActiveSpanOptions)
packages/telemetry/src/telemetry/index.ts:64
↓ 6 callersMethodgenerateServerCertificateKeys
(hostsArg: string)
packages/https-proxy/lib/ca.ts:209
↓ 6 callersMethodget
(attr)
packages/driver/src/cypress/command.ts:113
↓ 6 callersMethodgetActiveModifiers
()
packages/driver/src/cy/keyboard.ts:1103
↓ 6 callersFunctiongetAngularJsonValue
(tree: Tree)
npm/cypress-schematic/src/schematics/utils/index.ts:103
↓ 6 callersMethodgetAutIframe
* Get the AUT <iframe>. Useful for Cypress in Cypress tests.
packages/frontend-shared/cypress/support/e2e.ts:194
↓ 6 callersFunctiongetCwd
(...args: string[])
packages/server/lib/cwd.ts:3
↓ 6 callersFunctiongetPathToResources
(...paths: string[])
packages/electron/src/paths.ts:60
↓ 6 callersMethodgetPrimary
()
packages/network-tools/lib/remote-states.ts:113
↓ 6 callersMethodgetPrivilegedChannel
(options: { isSpecBridge: boolean url: string scripts: { relativeUrl: string }[] browserFamily
packages/server/lib/privileged-commands/privileged-commands-manager.ts:50
↓ 6 callersMethodgetResources
()
packages/telemetry/src/telemetry/index.ts:67
↓ 6 callersMethodgetUser
()
packages/data-context/src/actions/AuthActions.ts:6
↓ 6 callersFunctiongetWidth
(table: Table, index: number)
packages/server/lib/util/print-run.ts:57
← previousnext →401–500 of 10,953, ranked by callers