MCPcopy Create free account

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

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

↓ 21 callersMethodstart
* Attaches the Fetch handlers and enables interception on this transport's * own session. Child sessions that attach later (service workers, * o
packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:228
↓ 20 callersFunctionerrMsg
(key: string, value: any, type: string)
packages/config/src/validation.ts:22
↓ 20 callersMethodgetSpan
(name: string)
packages/telemetry/src/telemetry/index.ts:39
↓ 20 callersFunctionnext
(err)
packages/driver/src/cypress/runner.ts:1728
↓ 20 callersMethodonError
(err: any)
packages/data-context/src/sources/GitDataSource.ts:63
↓ 20 callersMethodshouldWithTimeout
(cb: (subj: {}) => void, timeout?: number)
packages/driver/types/spec-types.d.ts:7
↓ 20 callersMethodtap
(args: string[])
system-tests/lib/tap-open.ts:149
↓ 19 callersMethodblur
* Blur a focused element. This element must currently be in focus. * If you want to ensure an element is focused before blurring, * try usin
cli/types/cypress.d.ts:941
↓ 19 callersFunctionfindCrossOriginLogs
(consolePropCommand, logMap, matchingOrigin)
packages/driver/cypress/support/utils.ts:82
↓ 19 callersMethodoff
(event: 'Runtime.bindingCalled', listener: (event: Protocol.Runtime.BindingCalledEvent) => void)
packages/socket/lib/node/cdp-socket.ts:17
↓ 19 callersMethodsetCookie
* Set a browser cookie. * * @see https://on.cypress.io/setcookie
cli/types/cypress.d.ts:2069
↓ 18 callersMethodend
()
cli/types/cypress.d.ts:6686
↓ 18 callersMethodfetch
(input: RequestInfo | URL, init?: RequestInit)
packages/data-context/src/sources/UtilDataSource.ts:17
↓ 18 callersMethodoverwrite
* Overwrite an existing Cypress command with a new implementation * @see https://on.cypress.io/api/commands#Overwrite-Existing-Commands
cli/types/cypress.d.ts:877
↓ 18 callersMethodpush
(queueKey: string, value: T)
packages/proxy/lib/http/util/prerequests.ts:55
↓ 18 callersMethodredirect
(url: string)
packages/proxy/lib/types.ts:60
↓ 18 callersMethodsubjectChain
(chainerId: string = this.state('chainerId'))
packages/driver/src/cypress/cy.ts:1253
↓ 17 callersMethodclearCookies
* Clear browser cookies for a domain. * * Cypress automatically clears all cookies _before_ each test to prevent * state from being sha
cli/types/cypress.d.ts:1005
↓ 17 callersMethodexecute
(event: PluginExecuteEvent, ids: PluginInvokeIds, args: any[] = [])
packages/server/lib/plugins/child/run_plugins.ts:149
↓ 17 callersMethodexpose
* Returns all exposed public configuration variables set with --expose in the CLI or in "expose" object in "cypress.config.{js,ts,mjs,cjs}" *
cli/types/cypress.d.ts:551
↓ 16 callersMethodaddQuery
* Add a custom query * @see https://on.cypress.io/api/custom-queries
cli/types/cypress.d.ts:889
↓ 16 callersMethodfindBrowsers
* Mocks the system browser retrieval to return the desired browsers
packages/frontend-shared/cypress/support/e2e.ts:189
↓ 16 callersMethodgetSubjectFromChain
(subjectChain: SubjectChain | null | undefined)
packages/driver/src/cypress/cy.ts:1263
↓ 16 callersFunctionheading
(title: string, itemCount?: number)
cli/lib/tap/render/format.ts:63
↓ 16 callersFunctionlogInternal
(name: string | Partial<Cypress.LogConfig>, cb: (log: Cypress.Log | undefined) => Cypress.Chainable<T>, opts:
packages/frontend-shared/cypress/support/utils.ts:1
↓ 16 callersFunctionomitNullish
(entry: T)
packages/app/src/tap/utils.ts:5
↓ 16 callersMethodwrite
()
tooling/electron-mksnapshot/src/metadata.ts:35
↓ 15 callersMethod_emit
()
packages/net-stubbing/lib/server/intercepted-request.ts:163
↓ 15 callersFunctionisProxyDisabled
()
packages/server/lib/util/is-proxy-disabled.ts:1
↓ 15 callersMethodpath
(fixture)
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:105
↓ 15 callersFunctionprint
(browsers: FoundBrowser[] = [])
packages/server/lib/modes/info.ts:76
↓ 15 callersFunctionsetCount
(value)
npm/vue/cypress/component/counter-vuex/counter-vuex.cy.js:22
↓ 14 callersMethodeval
(expression: string)
packages/driver/src/cypress.ts:62
↓ 14 callersMethodfocused
* Get the DOM element that is currently focused. * * @see https://on.cypress.io/focused * @example * // Get the element that is
cli/types/cypress.d.ts:1483
↓ 14 callersMethodformat
()
packages/ts/index.d.ts:96
↓ 14 callersFunctionlayout
(blocks: string[][])
cli/lib/tap/render/format.ts:152
↓ 14 callersFunctionplugin
(config: CypressConfigOptions)
npm/grep/src/plugin.ts:19
↓ 14 callersFunctionsnapshot
(...args)
system-tests/lib/system-tests.ts:861
↓ 14 callersMethodspread
* Expand an array into multiple arguments. * @see https://on.cypress.io/spread * @example * cy.getCookies().spread((cookie1, cookie2
cli/types/cypress.d.ts:2222
↓ 13 callersFunctioncreateApp
(port)
packages/driver/cypress/plugins/server.js:19
↓ 13 callersFunctiongetPathForPlatform
(posixPath?: string)
packages/app/src/paths.ts:8
↓ 13 callersMethodhtml
(html: string)
cli/types/cy-chai.d.ts:6
↓ 13 callersMethodinit
(cdpClient: CDPSocketBridge, namespace: string)
packages/socket/lib/node/cdp-socket.ts:104
↓ 13 callersFunctionisInput
(el)
packages/driver/src/dom/elements/elementHelpers.ts:27
↓ 13 callersMethodpromise
()
packages/ts/typedefs/cypress-request-promise.d.ts:14
↓ 13 callersMethodscaffold
()
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:96
↓ 13 callersMethodshadow
* Traverse into an element's shadow root. * * @example * cy.get('my-component') * .shadow() * .find('.my-button')
cli/types/cypress.d.ts:2081
↓ 12 callersMethodat
(index: number)
packages/driver/src/util/queue.ts:40
↓ 12 callersMethodcurrent
()
packages/network-tools/lib/remote-states.ts:133
↓ 12 callersFunctionfn
(socketId)
packages/server/lib/modes/run.ts:607
↓ 12 callersFunctiongetTagName
(el)
packages/driver/src/dom/elements/elementHelpers.ts:9
↓ 12 callersMethodgo
* Navigate back or forward to the previous or next URL in the browser's history. * * @see https://on.cypress.io/go
cli/types/cypress.d.ts:1546
↓ 12 callersMethodinvokeSync
* Abstracts invoking a synchronous method on the AppCaptureProtocol instance, so we can handle * errors in a uniform way
packages/server/lib/cloud/protocol.ts:536
↓ 12 callersFunctionon
()
packages/server/test/unit/socket_spec.ts:966
↓ 12 callersMethodoneOf
* Asserts that the target contains one of the values in the given list. * Available when `.oneOf` is chained with `.contain` or `.include`.
cli/types/cy-chai.d.ts:19
↓ 12 callersMethodparents
* Get the parent DOM elements of a set of DOM elements. * * @see https://on.cypress.io/parents
cli/types/cypress.d.ts:1781
↓ 12 callersMethodpause
* Stop cy commands from running and allow interaction with the application under test. You can then "resume" running all commands or choose to step th
cli/types/cypress.d.ts:1820
↓ 12 callersMethodqueue
(str: string | null)
packages/ts/index.d.ts:54
↓ 12 callersMethodsetup
({ script, studioPath, studioHash, cloudApi, manifest, getProjectOptions, debugData }: SetupOptions)
packages/server/lib/cloud/studio/studio.ts:31
↓ 12 callersMethodstatus
(statusCode: number)
packages/proxy/lib/types.ts:59
↓ 12 callersFunctionthrowTapError
(code: RaisableTapErrorCode, message?: string, cause?: unknown)
cli/lib/tap/tap-connection.ts:36
↓ 12 callersMethodtoPrimary
* Events to be sent to the primary communicator instance. * @param {string} event - the name of the event to be sent. * @param {Cypress.ObjectLi
packages/driver/src/cross-origin/communicator.ts:321
↓ 12 callersMethodtransform
(body: any, response: request.Response, resolveWithFullResponse?: boolean)
packages/ts/typedefs/cypress-request-promise.d.ts:21
↓ 11 callersFunctionInjectable
()
system-tests/projects/ts-proj-7/cypress/e2e/decorators.cy.ts:5
↓ 11 callersMethodcheck
* Check checkbox(es) or radio(s). This element must be an `<input>` with type `checkbox` or `radio`. * * @see https://on.cypress.io/check
cli/types/cypress.d.ts:953
↓ 11 callersMethodclose
()
packages/data-context/src/sources/BrowserDataSource.ts:35
↓ 11 callersFunctionconcatStream
(opts: Callback | ConcatOpts, cb?: Callback)
packages/network/lib/concat-stream.ts:12
↓ 11 callersMethodcontinue
()
packages/network-interception/lib/policies/types.ts:14
↓ 11 callersFunctioncreateEventManager
()
packages/app/cypress/component/support/ctSupport.ts:24
↓ 11 callersMethodget
(attr)
packages/driver/src/cypress/log.ts:501
↓ 11 callersMethodgetCypress
()
packages/app/src/runner/event-manager.ts:88
↓ 11 callersFunctiongetEventManager
()
packages/app/src/runner/index.ts:69
↓ 11 callersMethodgetFullInitialConfig
(options: Partial<AllModeOptions> = this.options.ctx.modeOptions, withBrowsers = true)
packages/data-context/src/data/ProjectConfigManager.ts:593
↓ 11 callersMethodisDocument
* Throws an error if `subject` is not a `document`.
cli/types/cypress.d.ts:154
↓ 11 callersMethodon
(event: string | symbol, listener: (...args: any[]) => void)
cli/types/cypress-eventemitter.d.ts:14
↓ 11 callersMethodremoveProject
(name)
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:101
↓ 11 callersMethodselect
* Select an `<option>` with specific text, value, or index within a `<select>`. * * @see https://on.cypress.io/select
cli/types/cypress.d.ts:2048
↓ 11 callersMethodselectFile
* Select a file with the given <input> element, or drag and drop a file over any DOM subject. * * @param {FileReference} files - The file(s)
cli/types/cypress.d.ts:2062
↓ 11 callersFunctionsetSelectionRange
(el, start, end)
packages/driver/src/dom/selection.ts:150
↓ 11 callersMethodstatus
()
system-tests/lib/tap-open.ts:150
↓ 11 callersMethodsubmit
* Submit a form. * * @see https://on.cypress.io/submit
cli/types/cypress.d.ts:2212
↓ 11 callersMethodtoJSON
()
cli/types/cypress.d.ts:6561
↓ 10 callersFunctionafter
()
packages/driver/cypress/fixtures/jquery-3.2.1.js:5930
↓ 10 callersFunctionassert
* Support testing using an element * @param {Function} fn Passed the created element and returns a boolean result
system-tests/projects/e2e/static/jquery.js:926
↓ 10 callersFunctionautomate
()
packages/driver/src/cy/commands/cookies.ts:121
↓ 10 callersMethodclearCookie
* Clear a specific browser cookie for a domain. * * Cypress automatically clears all cookies _before_ each test to prevent * state from
cli/types/cypress.d.ts:993
↓ 10 callersMethodconnect
(req: IncomingMessage, browserSocket: net.Socket, head: Buffer)
packages/https-proxy/lib/server.ts:53
↓ 10 callersMethodconnectToBrowser
(cdpClient: CDPClient)
packages/types/src/protocol.ts:137
↓ 10 callersMethodcookie
(name: string, value: string, options?: CookieOptions)
packages/proxy/lib/types.ts:62
↓ 10 callersMethoddetect
* Returns a {@link Resource} populated with attributes from the * circle ci environment variable. * * @param config The resource detection co
packages/telemetry/src/detectors/circleCiDetectorSync.ts:15
↓ 10 callersMethoddisconnect
()
packages/server/lib/browsers/cdp-protocol/cdp-connection.ts:130
↓ 10 callersFunctionemptyState
(message: string)
cli/lib/tap/render/format.ts:79
↓ 10 callersFunctionexecute
(event, ...args)
packages/server/lib/plugins/index.ts:31
↓ 10 callersFunctionformatPath
(name: string, n: number | undefined, pathColor = 'reset')
packages/server/lib/util/print-run.ts:142
↓ 10 callersFunctiongray
(val: any)
packages/server/lib/util/print-run.ts:42
↓ 10 callersMethodinitialize
()
packages/types/src/studio/studio-server-types.ts:81
↓ 10 callersMethodinvalidate
(...args: Parameters<Cache['invalidate']>)
packages/data-context/src/sources/CloudDataSource.ts:335
↓ 10 callersFunctionlistener
(fn)
packages/driver/src/cypress/events.ts:81
↓ 10 callersMethodlisteners
(event: string | symbol)
cli/types/cypress-eventemitter.d.ts:21
↓ 10 callersMethodlogTraceError
(e: unknown)
packages/data-context/src/DataContext.ts:287
← previousnext →201–300 of 10,286, ranked by callers