MCPcopy Create free account

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

Functions9,434 in github.com/cypress-io/cypress

↓ 54 callersMethodlast
* Get the last DOM element within a set of DOM elements. * * @see https://on.cypress.io/last
cli/types/cypress.d.ts:1608
↓ 54 callersMethodstartSpan
(arg: startSpanOptions)
packages/telemetry/src/telemetry/index.ts:38
↓ 53 callersMethodpush
(message: T, data: AutomationCommands[T]['dataType'])
packages/server/lib/automation/automation.ts:200
↓ 51 callersMethodvisitApp
* Visits the Cypress app, for Cypress-in-Cypress testing
packages/frontend-shared/cypress/support/e2e.ts:175
↓ 50 callersMethodtask
* Run a task in Node via the plugins file. * * @see https://on.cypress.io/api/task
cli/types/cypress.d.ts:2234
↓ 49 callersMethodaddEventListener
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)
packages/proxy/lib/http/util/service-worker-injector.ts:14
↓ 49 callersFunctioncmd
(command, args = '')
packages/driver/src/cypress/error_messages.ts:51
↓ 49 callersFunctionresolve
(depth, deferred, handler, special)
packages/driver/cypress/fixtures/jquery-3.2.1.js:3563
↓ 48 callersFunctioncb
(resp)
packages/server/test/unit/socket_spec.ts:237
↓ 48 callersMethodclose
* Calls underlying remote interface client close
packages/server/lib/browsers/cri-client.ts:71
↓ 48 callersMethoddestroy
(error?: Error)
packages/ts/index.d.ts:41
↓ 48 callersMethodtrigger
* Trigger an event on a DOM element. * * @see https://on.cypress.io/trigger
cli/types/cypress.d.ts:2383
↓ 47 callersFunctionmount
(componentOptions: any, options: any = {})
npm/vue/src/index.ts:393
↓ 47 callersMethodstop
* Stop the Cypress App on the current machine while tests are running * @see https://on.cypress.io/cypress-stop * @example * Cypress
cli/types/cypress.d.ts:616
↓ 47 callersMethodtext
(text: string)
cli/types/cy-chai.d.ts:7
↓ 45 callersMethodurl
* Get the current URL of the page that is currently active. * * @alias cy.location('href') * @see https://on.cypress.io/url
cli/types/cypress.d.ts:2478
↓ 43 callersFunctionclearTimeout
()
packages/driver/src/cy/timeouts.ts:26
↓ 43 callersFunctionon
( elem, types, selector, data, fn, one )
system-tests/projects/e2e/static/jquery.js:4809
↓ 43 callersMethodspecsPageIsVisible
* Verifies the specs page is visible (list, no specs, or create spec page)
packages/frontend-shared/cypress/support/e2e.ts:179
↓ 42 callersMethodget
(fixture, encoding?: BufferEncoding)
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:105
↓ 42 callersMethodwrite
* Adds a chunk of string data to the internal buffer. * * @param chunk The string chunk to add to the buffer
packages/stderr-filtering/lib/LineDecoder.ts:25
↓ 41 callersMethodremoveAllListeners
(event?: string | symbol)
cli/types/cypress-eventemitter.d.ts:18
↓ 40 callersMethodaddAll
* Add one or more custom commands * @see https://on.cypress.io/api/commands
cli/types/cypress.d.ts:843
↓ 40 callersFunctionassertLogLength
(logs, expectedLength)
packages/driver/cypress/support/utils.ts:70
↓ 40 callersMethodchildren
* Get the children of each DOM element within a set of DOM elements. * * @see https://on.cypress.io/children
cli/types/cypress.d.ts:971
↓ 40 callersMethodclosest
* Get the first DOM element that matches the selector (whether it be itself or one of its ancestors). * * @see https://on.cypress.io/closest
cli/types/cypress.d.ts:1228
↓ 40 callersFunctionresolve
( depth, deferred, handler, special )
system-tests/projects/e2e/static/jquery.js:3494
↓ 39 callersMethodappendChild
(child)
packages/driver/cypress/e2e/commands/misc.cy.js:379
↓ 39 callersMethodfocus
* Focus on a DOM element. * * @see https://on.cypress.io/focus * @example * cy.get('input').first().focus() // Focus on the first
cli/types/cypress.d.ts:1463
↓ 39 callersMethodunshift
(value: Command<any>)
packages/server/lib/browsers/cdp-command-queue.ts:83
↓ 39 callersMethodwaitForSpecToFinish
* Adapter to wait for a spec to finish in a standard way. It * * 1. Waits for the stats to reset which signifies that the test page has
npm/vite-dev-server/cypress/support/commands.ts:14
↓ 37 callersFunctionfn
(express, errmsg)
packages/driver/src/cy/chai.ts:514
↓ 37 callersMethodstart
(props: TestProps)
packages/reporter/src/test/test-model.ts:174
↓ 36 callersMethodresolve
()
packages/data-context/test/unit/actions/CodegenActions.spec.ts:149
↓ 35 callersFunctiongetCtx
()
packages/data-context/src/index.ts:51
↓ 35 callersMethodstubMutationResolver
* mock a mutation resolver when needed to spy on it or modify the result * @param document * @param resolver
packages/frontend-shared/cypress/support/mock-graphql/mountFragment.ts:267
↓ 34 callersFunctioncallback
()
packages/driver/src/cy/commands/connectors.ts:344
↓ 34 callersFunctionfetch
(input: RequestInfo | URL, options: FetchOptions)
packages/server/lib/cloud/network/fetch.ts:47
↓ 33 callersMethodrun
* Execute a headless Cypress test run. * @see https://on.cypress.io/module-api#cypress-run * @example ``` const cypress = require(
cli/types/cypress-npm-api.d.ts:373
↓ 33 callersMethodsnapshot
(name?: string, options?: { at?: number, next: string })
cli/types/cypress.d.ts:6611
↓ 32 callersMethodenv
* Returns all environment variables set with CYPRESS_ prefix or in "env" object in "cypress.config.{js,ts,mjs,cjs}" * * @see https://on.cypr
cli/types/cypress.d.ts:517
↓ 32 callersFunctiongenerateMochaTestsForWin
(win, obj)
system-tests/project-fixtures/runner-specs/cypress/e2e/support/generate-mocha-tests.js:158
↓ 31 callersFunctionconfig
(key: string)
packages/driver/test/unit/cypress/log.spec.ts:99
↓ 31 callersMethodfail
(err, options: { async?: boolean } = {})
packages/driver/src/cypress/cy.ts:377
↓ 31 callersMethodreload
* Reload the page. * * @see https://on.cypress.io/reload * @example * cy.visit('http://localhost:3000/admin') * cy.relo
cli/types/cypress.d.ts:1925
↓ 31 callersMethodremoveListener
(event: string | symbol, listener: (...args: any[]) => void)
cli/types/cypress-eventemitter.d.ts:16
↓ 30 callersMethodisElement
* Throws an error if `subject` is not a DOM element.
cli/types/cypress.d.ts:149
↓ 30 callersMethodmerge
(log)
packages/driver/src/cypress/log.ts:564
↓ 30 callersMethodparent
* Get the parent DOM element of a set of DOM elements. * * @see https://on.cypress.io/parent
cli/types/cypress.d.ts:1758
↓ 30 callersMethodrequest
* Make an HTTP GET request. * * @see https://on.cypress.io/request * @example * cy.request('http://dev.local/seed')
cli/types/cypress.d.ts:1968
↓ 29 callersFunctiondebug
()
packages/proxy/test/unit/http/response-middleware.spec.ts:2003
↓ 29 callersMethodis
(str)
packages/driver/src/cypress/command.ts:109
↓ 29 callersMethodlisten
()
packages/https-proxy/lib/server.ts:334
↓ 29 callersMethodscrollIntoView
* Scroll an element into view. * * @see https://on.cypress.io/scrollintoview
cli/types/cypress.d.ts:2024
↓ 28 callersFunctionbefore
()
packages/reporter/cypress/support/e2e.ts:6
↓ 28 callersMethodclone
()
packages/driver/src/cypress/command.ts:157
↓ 28 callersMethodfixture
* Load a fixed set of data located in a file. * * @see https://on.cypress.io/fixture
cli/types/cypress.d.ts:1448
↓ 28 callersFunctionjQuery
(selector, context)
packages/driver/cypress/fixtures/jquery-3.2.1.js:94
↓ 28 callersMethodreply
* Control the response to this request. * If a function is passed, the request will be sent outgoing, and the function will be called * with
packages/network-interception/lib/types/external-types.ts:185
↓ 28 callersMethodshift
(queueKey: string)
packages/proxy/lib/http/util/prerequests.ts:60
↓ 27 callersMethoddocument
* Get the window.document of the page that is currently active. * * @see https://on.cypress.io/document * @example * cy.documen
cli/types/cypress.d.ts:1362
↓ 27 callersMethodensureDir
(type: 'e2e' | 'fixtures' | 'support')
packages/data-context/src/actions/WizardActions.ts:387
↓ 27 callersFunctionexec
* Executes a given project and optionally sanitizes and checks output. * @example ``` systemTests.setup() project = Fixtures.projec
system-tests/lib/system-tests.ts:1005
↓ 27 callersMethodscreenshot
* Take a screenshot of the application under test and the Cypress Command Log. * * @see https://on.cypress.io/screenshot * @example
cli/types/cypress.d.ts:2007
↓ 26 callersFunctioncreateTestDataContext
(mode: DataContextConfig['mode'] = 'run', modeOptions: Partial<RunModeOptions | OpenModeOptions> = {})
packages/data-context/test/unit/helper.ts:41
↓ 26 callersMethodisWindow
* Throws an error if `subject` is not a `window`.
cli/types/cypress.d.ts:159
↓ 26 callersFunctionjoin
(char: string, ...pieces: (string | undefined)[])
packages/server/lib/util/ci_provider.ts:9
↓ 26 callersMethodlocation
* Get the global `window.location` object of the page that is currently active. * * @see https://on.cypress.io/location * @example
cli/types/cypress.d.ts:1617
↓ 26 callersMethodremoveEventListener
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)
packages/proxy/lib/http/util/service-worker-injector.ts:15
↓ 26 callersMethodwriteFileInProject
(relativePath: string, data: any)
packages/data-context/src/actions/FileActions.ts:23
↓ 25 callersMethoddelete
(flag: Flag)
tooling/v8-snapshot/src/generator/snapshot-generator-flags.ts:36
↓ 24 callersMethodautomation
* Fire automation:request event for internal use.
cli/types/cypress.d.ts:461
↓ 24 callersMethodclock
* `cy.clock()` overrides native global functions related to time allowing them to be controlled * synchronously via [cy.tick()](https://on.cypres
cli/types/cypress.d.ts:1181
↓ 24 callersFunctiongetError
(type: Type, ...args: Parameters<AllCypressErrorObj[Type]>)
packages/errors/src/errors.ts:1657
↓ 24 callersFunctionlogError
(err: CypressError | ErrorLike, color: AllowedChalkColors = 'red', causeDepth: number = 3)
packages/errors/src/errorUtils.ts:54
↓ 24 callersMethodscrollTo
* Scroll to a specific position. * * @see https://on.cypress.io/scrollto
cli/types/cypress.d.ts:2031
↓ 23 callersMethodgetConfig
()
packages/data-context/src/actions/ProjectActions.ts:42
↓ 23 callersMethodgetElements
(cypressDom)
packages/app/src/runner/aut-iframe.ts:598
↓ 23 callersMethodrender
()
packages/data-context/test/unit/actions/project/counter-class.jsx:17
↓ 23 callersMethodtick
* Move the clock the specified number of `milliseconds`. * Any timers within the affected range of time will be called. * @param time Number
cli/types/cypress.d.ts:6499
↓ 22 callersMethodclone
()
packages/server/lib/browsers/cri-client.ts:402
↓ 22 callersMethodgetCookie
* Get a browser cookie by its name. * * @see https://on.cypress.io/getcookie
cli/types/cypress.d.ts:1521
↓ 22 callersMethodgetCookies
* Get browser cookies for a domain. * * @see https://on.cypress.io/getcookies
cli/types/cypress.d.ts:1528
↓ 22 callersMethodreadFileInProject
(relativePath: string)
packages/data-context/src/actions/FileActions.ts:11
↓ 22 callersMethodsession
* Save/Restore browser Cookies, LocalStorage, and SessionStorage data resulting from the supplied `setup` function. * * @see https://on.cy
cli/types/cypress.d.ts:1351
↓ 21 callersMethodbackend
(eventName, ...args)
packages/driver/src/cypress.ts:897
↓ 21 callersFunctionbefore
()
packages/driver/cypress/fixtures/jquery-3.2.1.js:5922
↓ 21 callersMethodclose
()
packages/types/src/protocol.ts:138
↓ 21 callersMethodcreateServer
( app: Express, config: Cfg, onWarning: unknown, )
packages/server/lib/server-base.ts:263
↓ 20 callersMethodgetSpan
(name: string)
packages/telemetry/src/telemetry/index.ts:39
↓ 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
↓ 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 callersFunctionerrMsg
(key: string, value: any, type: string)
packages/config/src/validation.ts:22
↓ 19 callersFunctionfindCrossOriginLogs
(consolePropCommand, logMap, matchingOrigin)
packages/driver/cypress/support/utils.ts:76
↓ 19 callersMethodsetCookie
* Set a browser cookie. * * @see https://on.cypress.io/setcookie
cli/types/cypress.d.ts:2065
↓ 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 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
← previousnext →101–200 of 9,434, ranked by callers