MCPcopy Create free account

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

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

↓ 937 callersMethodthen
* Enables you to work with the subject yielded from the previous command. * * @see https://on.cypress.io/then
cli/types/cypress.d.ts:2502
↓ 926 callersMethodjoin
(from, ...rest)
packages/driver/src/cypress/location.ts:243
↓ 658 callersFunctiondebug
(bool = true, options: any = {})
packages/driver/src/cypress/cookies.ts:16
↓ 522 callersMethodpush
(response)
packages/server/lib/request.ts:780
↓ 513 callersFunctionrequire
(moduleName)
tooling/v8-snapshot/src/blueprint/custom-require.js:6
↓ 496 callersMethodresolve
(from, to)
packages/driver/src/cypress/location.ts:259
↓ 468 callersMethodlog
* Internal options for "cy.log" used in custom commands. * * @see https://on.cypress.io/cypress-log
cli/types/cypress.d.ts:602
↓ 438 callersMethodcontains
* Get the DOM element containing the text. * DOM elements can contain more than the desired text and still match. * Additionally, Cypress pr
cli/types/cypress.d.ts:1404
↓ 435 callersMethodget
(fullPath: string)
packages/packherd-require/src/types.ts:115
↓ 422 callersMethodeq
* Get A DOM element at a specific index in an array of elements. * * @see https://on.cypress.io/eq * @param {Number} index A number ind
cli/types/cypress.d.ts:1551
↓ 412 callersMethodclick
* Click a DOM element. * * @see https://on.cypress.io/click * @example * cy.get('button').click() // Click on button
cli/types/cypress.d.ts:1275
↓ 385 callersMethodforEach
(fn: (value: T) => void)
packages/proxy/lib/http/util/prerequests.ts:89
↓ 376 callersMethodget
(type: string, ...args: any[])
packages/data-context/src/util/config-file-updater.ts:13
↓ 373 callersMethodget
(attr: K)
cli/types/cypress.d.ts:6993
↓ 361 callersMethodvisit
* Visit the given url * * @param {string} url The URL to visit. If relative uses `baseUrl` * @param {VisitOptions} [options] Pass in an
cli/types/cypress.d.ts:2758
↓ 351 callersMethodon
(eventName: T, cb: (event: Event<T>[0]) => void)
packages/types/src/protocol.ts:16
↓ 333 callersMethodfind
Matches in document order. Throws on a selector the browser rejects.
packages/app/src/tap/types.ts:69
↓ 310 callersMethodfn
(...args: any[])
cli/types/cypress.d.ts:6950
↓ 274 callersMethodset
(nameOrHeaders: string | Record<string, CypressHeaderValue>, value?: CypressHeaderValue)
packages/proxy/lib/types.ts:52
↓ 261 callersMethodstub
* Replace a function, record its usage and control its behavior. * > Note: `.stub()` assumes you are already familiar with our guide: * [Stu
cli/types/cypress.d.ts:2404
↓ 260 callersMethodstringify
()
packages/driver/src/cypress/command.ts:142
↓ 256 callersMethodslice
(index: number)
packages/driver/src/util/queue.ts:36
↓ 245 callersMethodwrap
* Yield the element passed into `.wrap()`. * * @see https://on.cypress.io/wrap * @example ``` // wraps DOM element cy.get('
cli/types/cypress.d.ts:2824
↓ 235 callersMethodstate
()
packages/reporter/src/test/test-model.ts:121
↓ 232 callersMethodfilter
* Function used to filter the standard set of mocked browsers. Ignored if browsers option is provided. * Ex. * cy.findBrowsers({ * filter:
packages/frontend-shared/cypress/support/e2e.ts:79
↓ 229 callersMethodmount
* Install all vue plugins and globals then mount
packages/frontend-shared/cypress/support/mock-graphql/mountFragment.ts:247
↓ 210 callersMethodas
* Assign an alias for later use. Reference the alias later within a * [cy.get()](https://on.cypress.io/get) or * [cy.wait()](https://on.cypr
cli/types/cypress.d.ts:1080
↓ 207 callersFunctionsetTimeout
(..._args: unknown[])
packages/driver/cypress/e2e/commands/clock.cy.ts:381
↓ 198 callersMethodeach
* Iterate through an array like structure (arrays or objects with a length property). * * @see https://on.cypress.io/each
cli/types/cypress.d.ts:1527
↓ 184 callersMethodcall
(method: string, args?: unknown[])
cli/lib/tap/tap-connection.ts:45
↓ 175 callersMethodparse
(cookie: string)
packages/server/lib/automation/cookie/jar.ts:78
↓ 166 callersFunctiondefineConfig
(config: any)
cli/lib/cypress.ts:78
↓ 150 callersMethodemit
(event: string | symbol, ...args: any[])
packages/reporter/src/lib/events.ts:28
↓ 150 callersMethodonce
(event: string | symbol, listener: (...args: any[]) => void)
cli/types/cypress-eventemitter.d.ts:15
↓ 148 callersMethodsetup
(config)
packages/app/src/runner/event-manager.ts:408
↓ 144 callersMethodconfig
* Returns all configuration objects. * @see https://on.cypress.io/config * @example ``` Cypress.config() // {defaultCommandTimeo
cli/types/cypress.d.ts:506
↓ 143 callersMethodmatch
(hostname: string)
packages/server/lib/mtls/bridge-plan.ts:35
↓ 142 callersMethodhas
(flag: number)
tooling/v8-snapshot/src/generator/snapshot-generator-flags.ts:28
↓ 141 callersMethodspy
* Returns a new spy function. * > Note: `.spy()` assumes you are already familiar with our guide: [Stubs, Spies, and Clocks](https://on.cypress.i
cli/types/cypress.d.ts:2370
↓ 140 callersMethodend
()
packages/network-interception/lib/policies/types.ts:15
↓ 139 callersMethodnow
* Invoke a command synchronously, without using the command queue. * * @see https://on.cypress.io/api/custom-queries
cli/types/cypress.d.ts:1906
↓ 132 callersFunctiondone
(status, nativeStatusText, responses, headers)
packages/driver/cypress/fixtures/jquery-3.2.1.js:9154
↓ 131 callersMethodwindow
* Get the window object of the page that is currently active. * * @see https://on.cypress.io/window * @example ``` cy.visit('ht
cli/types/cypress.d.ts:2786
↓ 127 callersMethodtype
* Type into a DOM element. * * @see https://on.cypress.io/type * @example * cy.get('input').type('Hello, World') * // t
cli/types/cypress.d.ts:2678
↓ 125 callersMethodapply
* The plugin's entrypoint, called once by webpack when the compiler is initialized.
npm/webpack-dev-server/src/CypressCTWebpackPlugin.ts:133
↓ 122 callersMethodadd
(origFullPath: string, convertedContent: string)
packages/packherd-require/src/types.ts:117
↓ 119 callersMethodcreate
()
cli/types/cypress.d.ts:6860
↓ 119 callersMethodinvoke
* Invoke a function on the previously yielded subject. * * @see https://on.cypress.io/invoke
cli/types/cypress.d.ts:1734
↓ 116 callersMethodpick
(...args)
packages/driver/src/cypress/log.ts:625
↓ 115 callersMethoddefaults
(options: ElementSelectorDefaultsOptions)
packages/driver/src/cypress/element_selector.ts:32
↓ 115 callersMethoderror
(error: Error)
cli/types/cypress.d.ts:6991
↓ 115 callersMethodon
(event: 'rerun', listener: () => void)
packages/server/lib/plugins/preprocessor.ts:20
↓ 115 callersMethodreadFile
* Read a file and yield its contents. * * @see https://on.cypress.io/readfile
cli/types/cypress.d.ts:2139
↓ 108 callersFunctionreject
(err)
packages/driver/src/cy/commands/navigation.ts:387
↓ 106 callersMethodentries
()
packages/server/lib/browsers/cdp-protocol/cdp-command-queue.ts:20
↓ 104 callersMethodits
* Get a property's value on the previously yielded subject. * * @see https://on.cypress.io/its * @example * // Get the 'width'
cli/types/cypress.d.ts:1770
↓ 103 callersMethodfilter
* Get the DOM elements that match a specific selector. Opposite of `.not()` * * @see https://on.cypress.io/filter
cli/types/cypress.d.ts:1558
↓ 103 callersMethodpercySnapshot
* Custom command to take a percy snapshot of the current DOM * @example cy.percySnapshot()
packages/reporter/index.d.ts:18
↓ 102 callersMethodsend
(command: T, params?: Command<T>['paramsType'][0])
packages/types/src/protocol.ts:15
↓ 101 callersMethodexec
(command: string, args?: Record<string, string>, options?: Record<string, string>)
packages/app/src/tap/contract.ts:63
↓ 101 callersMethodremove
()
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:93
↓ 101 callersMethodwait
* Wait for a number of milliseconds. * You almost never need to wait for an arbitrary period of time. * There are always better ways to expr
cli/types/cypress.d.ts:2771
↓ 99 callersFunctiondebug
(namespace)
packages/data-context/test/unit/data/ProjectConfigIpc-real-child-process.spec.ts:14
↓ 95 callersMethodwithin
* Scopes all subsequent cy commands to within this element. * Useful when working within a particular group of elements such as a `<form>`.
cli/types/cypress.d.ts:2803
↓ 92 callersMethodreject
* Rejects every enqueued command's deferred and empties the queue. Used when * the connection reaches a terminal state, since enqueued commands are
packages/server/lib/browsers/cdp-protocol/cdp-command-queue.ts:59
↓ 92 callersFunctionstate
(key: string)
packages/driver/test/unit/cypress/log.spec.ts:494
↓ 91 callersMethodupdate
(props: UpdatableTestProps, cb: UpdateTestCallback)
packages/reporter/src/test/test-model.ts:186
↓ 89 callersMethodscaffoldProject
(project: string)
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:90
↓ 89 callersMethodtimeout
(ms: number, message?: string | Error)
packages/ts/typedefs/cypress-request-promise.d.ts:16
↓ 88 callersMethodskip
()
packages/driver/src/cypress/command.ts:29
↓ 86 callersFunctionresolve
(uri: string, opts?: GetModuleKeyOpts)
packages/packherd-require/src/require.ts:217
↓ 86 callersMethodvalue
* Assert that the value of the first element of the selection contains the given value, using `.val()`. * A number is compared against the value
cli/types/cy-chai.d.ts:35
↓ 82 callersMethodfirst
* Get the first DOM element within a set of DOM elements. * * @see https://on.cypress.io/first
cli/types/cypress.d.ts:1595
↓ 78 callersFunctionmount
(jsx: React.ReactNode, options: MountOptions = {}, rerenderKey?: string)
npm/react/src/mount.ts:47
↓ 78 callersFunctionstripIndent
(strings: TemplateStringsArray, ...args: any[])
packages/errors/src/stripIndent.ts:1
↓ 77 callersMethodclear
* Clear the value of an `input` or `textarea`. * An alias for `.type({selectall}{del})` * * @see https://on.cypress.io/clear
cli/types/cypress.d.ts:1129
↓ 76 callersMethodwriteFile
* Write to a file with the specified contents. * * @see https://on.cypress.io/writefile ``` cy.writeFile('path/to/message.txt', 'Hel
cli/types/cypress.d.ts:2859
↓ 75 callersFunction$
(selector: string)
packages/driver/test/unit/dom/accessibility/roles.spec.ts:21
↓ 75 callersMethod$$
* jQuery library bound to the AUT * * @see https://on.cypress.io/$ * @example * cy.$$('p')
cli/types/cypress.d.ts:2893
↓ 72 callersMethodfind
* Get the descendent DOM elements of a specific selector. * * @see https://on.cypress.io/find * @example * cy.get('.article').f
cli/types/cypress.d.ts:1579
↓ 70 callersMethodorigin
* Enables running Cypress commands in a secondary origin. * @see https://on.cypress.io/origin * @example * cy.origin('example.com',
cli/types/cypress.d.ts:1934
↓ 70 callersMethodviewport
* Control the size and orientation of the screen for your application. * * @see https://on.cypress.io/viewport * @example * //
cli/types/cypress.d.ts:2732
↓ 69 callersMethoddestroy
()
packages/types/src/studio/studio-server-types.ts:82
↓ 68 callersMethodmountFragment
* Mount helper for a component with a GraphQL fragment
packages/frontend-shared/cypress/support/mock-graphql/mountFragment.ts:251
↓ 68 callersMethodprojectPath
(name)
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:95
↓ 68 callersFunctionresolve
(p: string)
packages/server/lib/util/spec_frame_scripts.ts:10
↓ 67 callersMethodadd
* Add a custom command * @see https://on.cypress.io/api/commands
cli/types/cypress.d.ts:957
↓ 66 callersMethodintercept
* Use `cy.intercept()` to stub and intercept HTTP requests and responses. * * @see https://on.cypress.io/intercept * @example
packages/network-interception/lib/types/external-types.ts:519
↓ 66 callersMethodnext
* Get the immediately following sibling of each DOM element within a set of DOM elements. * * @see https://on.cypress.io/next
cli/types/cypress.d.ts:1820
↓ 66 callersMethodopen
* Opens Cypress GUI. Resolves with void when the * GUI is closed. * @see https://on.cypress.io/module-api#cypress-open
cli/types/cypress-npm-api.d.ts:379
↓ 66 callersMethodstringify
(val: any)
packages/server/lib/cloud/protocol.ts:576
↓ 65 callersMethodreset
(options?: { resetBetweenSpecs?: boolean })
packages/network-interception/lib/runtime.ts:10
↓ 63 callersMethodemit
(event: 'rerun')
packages/server/lib/plugins/preprocessor.ts:22
↓ 63 callersMethodisBrowser
* Returns true if currently running the supplied browser name or matcher object. Also accepts an array of matchers. * @example isBrowser('chrome'
cli/types/cypress.d.ts:595
↓ 63 callersMethodremove
()
packages/data-context/src/actions/AppActions.ts:12
↓ 63 callersMethodreporter
* Yields the body of the reporter iframe (`#reporter-frame`) once * the reporter has mounted into it. The reporter renders into its own
packages/app/cypress/e2e/support/reporter.ts:16
↓ 62 callersFunctionbefore
()
system-tests/projects/e2e/cypress/e2e/cy_origin_error.cy.ts:26
↓ 62 callersMethoduse
(middleware: InterceptMiddleware)
packages/network-interception/lib/ports/http-interception.ts:63
↓ 61 callersMethodaction
(eventName, ...args)
packages/driver/src/cypress.ts:484
↓ 59 callersMethodclose
* Calls underlying remote interface client close
packages/server/lib/browsers/cdp-protocol/cri-client.ts:73
next →1–100 of 10,924, ranked by callers