MCPcopy Create free account

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

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

↓ 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:168
↓ 8 callersFunctionwatch
(...args: unknown[])
packages/server/test/unit/cloud/studio/StudioLifecycleManager.spec.ts:70
↓ 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 callersMethodclearCurrentProject
()
packages/data-context/src/actions/ProjectActions.ts:114
↓ 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:255
↓ 7 callersFunctioncreateClient
()
packages/server/test/unit/browsers/cdp-body-capture.spec.ts:8
↓ 7 callersMethodcreateMiddlewareContext
(req: CypressIncomingRequest, res: CypressOutgoingResponseLike, handleHttpRequestSpan?: Span)
packages/proxy/lib/http/index.ts:509
↓ 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:833
↓ 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
()
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 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:1380
↓ 7 callersMethodhandle
( request: TRequest, next: TransportNext<TRequest, TResponse>, )
packages/network-interception/lib/ports/http-interception.ts:59
↓ 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:39
↓ 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 callersFunctionmerge
(...args)
packages/server/lib/request.ts:72
↓ 7 callersFunctionnormalize
(runnable, tests, initialTests, getRunnableId, getHookId, setOnlyTestId, getOnlyTestId, getNewTestLineNumber,
packages/driver/src/cypress/runner.ts:736
↓ 7 callersFunctionpreprocessForSerialization
(valueToSanitize: { [key: string]: any })
packages/driver/src/util/serialization/index.ts:83
↓ 7 callersMethodrefreshLifecycle
()
packages/data-context/src/data/ProjectLifecycleManager.ts:425
↓ 7 callersMethodrequire
()
packages/driver/src/cypress.ts:951
↓ 7 callersFunctionsend
(event, ...args)
packages/server/lib/plugins/util.ts:169
↓ 7 callersFunctionsendPointerEvent
(el, evtOptions, evtName, bubbles = false, cancelable = false)
packages/driver/src/cy/mouse.ts:65
↓ 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:513
↓ 7 callersMethodsetPreferences
(object: AllowedState)
packages/data-context/src/actions/LocalSettingsActions.ts:15
↓ 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:142
↓ 7 callersFunctiontoPosix
(file: string, sep: string = path.sep)
packages/data-context/src/util/file.ts:3
↓ 7 callersFunctionuniqueRoute
(route)
packages/driver/cypress/e2e/commands/net_stubbing/helpers.ts:14
↓ 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 callersFunctionbasename
(path: string)
packages/frontend-shared/cypress/support/mock-graphql/stubgql-Mutation.ts:7
↓ 6 callersFunctioncallsWith
(mock: Mock, ...expected: unknown[])
packages/server/test/unit/browsers/browser-cri-client.spec.ts:47
↓ 6 callersMethodcleanupIpc
()
packages/data-context/src/data/ProjectConfigIpc.ts:496
↓ 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:328
↓ 6 callersMethodconsoleProps
Return an object that will be printed in the dev tools console
cli/types/cypress.d.ts:7018
↓ 6 callersMethodcreateCdpFetchNetworkRuntime
( client: Pick<ICriClient, 'send' | 'on' | 'off'>, isAUTFrame?: (frameId: string) => Promise<boolean>,
packages/server/lib/server-base.ts:693
↓ 6 callersMethodcreateLegacyProxyPipeline
(codec: TransportCodecPort<any, any>)
packages/proxy/lib/http/index.ts:419
↓ 6 callersFunctioncreateRoutes
(props: DeepPartial<typeof routeHandlers> = {})
system-tests/lib/serverStub.ts:273
↓ 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 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:44
↓ 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 callersMethodfindActiveSpan
(fn: findActiveSpanOptions)
packages/telemetry/src/telemetry/index.ts:64
↓ 6 callersMethodfinish
()
cli/types/cypress.d.ts:6992
↓ 6 callersFunctionfn
()
packages/server/test/unit/browsers/browsers.spec.ts:493
↓ 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:1101
↓ 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 callersFunctiongetPathToDist
(folder: FoldersWithDist, ...args: string[])
packages/resolve-dist/lib/index.ts:14
↓ 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:51
↓ 6 callersMethodgetUser
()
packages/data-context/src/actions/AuthActions.ts:6
↓ 6 callersFunctiongetWidth
(table: Table, index: number)
packages/server/lib/util/print-run.ts:57
↓ 6 callersMethodhandleHttpRequest
(req: unknown, res: unknown)
packages/network-interception/lib/runtime.ts:8
↓ 6 callersMethodhash
* Get the current URL hash of the page that is currently active. * * @see https://on.cypress.io/hash
cli/types/cypress.d.ts:1727
↓ 6 callersFunctionindent
(depth: number)
cli/lib/tap/render/format.ts:86
↓ 6 callersFunctionindexNode
(node: T & { __typename: CloudTypesWithId })
packages/data-context/test/graphql/stubCloudTypes.ts:70
↓ 6 callersFunctioninstallCustomPercyCommand
({ before, elementOverrides }: { before?: () => void, elementOverrides?: CustomSnapshotOptions['elementOverrid
packages/frontend-shared/cypress/support/customPercyCommand.ts:216
↓ 6 callersMethodinvokeAsync
* Abstracts invoking a synchronous method on the AppCaptureProtocol instance, so we can handle * errors in a uniform way
packages/server/lib/cloud/protocol.ts:557
↓ 6 callersMethodisActive
()
packages/reporter/src/test/test-model.ts:144
↓ 6 callersFunctionisDependencyInstalled
(dependency: Cypress.CypressComponentDependency, projectPath: string)
packages/scaffold-config/src/frameworks.ts:48
↓ 6 callersFunctionisTextarea
(el)
packages/driver/src/dom/elements/elementHelpers.ts:47
← previousnext →401–500 of 10,924, ranked by callers