MCPcopy Create free account

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

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

↓ 57 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
↓ 57 callersMethodsend
(command: 'Runtime.enable' | 'Runtime.addBinding' | 'Runtime.evaluate', params?: object)
packages/socket/lib/node/cdp-socket.ts:15
↓ 56 callersFunctionassert
(...args)
packages/driver/src/cy/assertions.ts:486
↓ 56 callersMethoddebug
* Set a debugger and log what the previous command yields. * * @see https://on.cypress.io/debug
cli/types/cypress.d.ts:1344
↓ 56 callersMethodlast
* Get the last DOM element within a set of DOM elements. * * @see https://on.cypress.io/last
cli/types/cypress.d.ts:1612
↓ 55 callersMethodpush
(message: T, data: AutomationCommands[T]['dataType'])
packages/server/lib/automation/automation.ts:200
↓ 55 callersMethodstartSpan
(arg: startSpanOptions)
packages/telemetry/src/telemetry/index.ts:38
↓ 55 callersMethodvisitApp
* Visits the Cypress app, for Cypress-in-Cypress testing
packages/frontend-shared/cypress/support/e2e.ts:173
↓ 54 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
↓ 51 callersMethodexec
(command: string, args?: Record<string, string>, options?: Record<string, string>)
packages/app/src/tap/contract.ts:62
↓ 50 callersMethodaddEventListener
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)
packages/proxy/lib/http/util/service-worker-injector.ts:19
↓ 50 callersMethodtask
* Run a task in Node via the plugins file. * * @see https://on.cypress.io/api/task
cli/types/cypress.d.ts:2238
↓ 49 callersFunctioncb
(resp)
packages/server/test/unit/socket_spec.ts:237
↓ 49 callersMethodclose
* Calls underlying remote interface client close
packages/server/lib/browsers/cdp-protocol/cri-client.ts:71
↓ 49 callersFunctioncmd
(command, args = '')
packages/driver/src/cypress/error_messages.ts:51
↓ 49 callersMethoddestroy
(error?: Error)
packages/ts/index.d.ts:41
↓ 49 callersFunctionresolve
(depth, deferred, handler, special)
packages/driver/cypress/fixtures/jquery-3.2.1.js:3563
↓ 49 callersMethodset
(key: K, value: LogConfig[K])
cli/types/cypress.d.ts:6691
↓ 49 callersMethodtrigger
* Trigger an event on a DOM element. * * @see https://on.cypress.io/trigger
cli/types/cypress.d.ts:2387
↓ 48 callersMethodtext
(text: string)
cli/types/cy-chai.d.ts:7
↓ 47 callersFunctionclearTimeout
()
packages/driver/src/cy/timeouts.ts:26
↓ 47 callersFunctionmount
(componentOptions: any, options: any = {})
npm/vue/src/index.ts:393
↓ 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:2482
↓ 44 callersFunctionon
( elem, types, selector, data, fn, one )
system-tests/projects/e2e/static/jquery.js:4809
↓ 44 callersFunctionresolve
( depth, deferred, handler, special )
system-tests/projects/e2e/static/jquery.js:3494
↓ 44 callersMethodspecsPageIsVisible
* Verifies the specs page is visible (list, no specs, or create spec page)
packages/frontend-shared/cypress/support/e2e.ts:177
↓ 43 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
↓ 43 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
↓ 42 callersMethodget
(fixture, encoding?: BufferEncoding)
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:104
↓ 42 callersMethodwaitForSpecToFinish
* Adapter to wait for a spec to finish in a standard way. It * * 1. Waits for 'Your tests are loading...' to not be present so that we k
npm/vite-dev-server/cypress/support/commands.ts:16
↓ 41 callersMethodappendChild
(child)
packages/driver/cypress/e2e/commands/misc.cy.js:379
↓ 41 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
↓ 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 callersMethodappend
(name: string, value: CypressHeaderValue)
packages/proxy/lib/types.ts:53
↓ 40 callersFunctionassertLogLength
(logs, expectedLength)
packages/driver/cypress/support/utils.ts:76
↓ 39 callersMethoddelete
(flag: Flag)
tooling/v8-snapshot/src/generator/snapshot-generator-flags.ts:36
↓ 39 callersMethodfail
(err, options: { async?: boolean } = {})
packages/driver/src/cypress/cy.ts:377
↓ 39 callersFunctionfn
(express, errmsg)
packages/driver/src/cy/chai.ts:531
↓ 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:1467
↓ 39 callersMethodoff
(eventName: string, cb: (event: any) => void)
packages/types/src/protocol.ts:17
↓ 39 callersMethodunshift
(value: Command<any>)
packages/server/lib/browsers/cdp-protocol/cdp-command-queue.ts:99
↓ 38 callersFunctionfetch
(input: RequestInfo | URL, options: FetchOptions)
packages/server/lib/cloud/network/fetch.ts:47
↓ 36 callersMethodresolve
()
packages/data-context/test/unit/actions/CodegenActions.spec.ts:149
↓ 35 callersMethodlisten
()
packages/https-proxy/lib/server.ts:334
↓ 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 callersFunctionexec
* Executes a given project and optionally sanitizes and checks output. * @example ``` systemTests.setup() project = Fixtures.projec
system-tests/lib/system-tests.ts:1011
↓ 33 callersFunctiondedent
(html: string)
cli/lib/tap/render/dom.ts:11
↓ 33 callersFunctiongetCtx
()
packages/data-context/src/index.ts:51
↓ 33 callersMethodremoveListener
(event: string | symbol, listener: (...args: any[]) => void)
cli/types/cypress-eventemitter.d.ts:16
↓ 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:6693
↓ 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
↓ 32 callersMethodrequest
* Make an HTTP GET request. * * @see https://on.cypress.io/request * @example * cy.request('http://dev.local/seed')
cli/types/cypress.d.ts:1972
↓ 31 callersFunctionconfig
(key: string)
packages/driver/test/unit/cypress/log.spec.ts:364
↓ 31 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
↓ 31 callersMethodisElement
* Throws an error if `subject` is not a DOM element.
cli/types/cypress.d.ts:149
↓ 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:1929
↓ 30 callersMethodis
(str)
packages/driver/src/cypress/command.ts:109
↓ 30 callersMethodmerge
(log)
packages/driver/src/cypress/log.ts:758
↓ 30 callersMethodparent
* Get the parent DOM element of a set of DOM elements. * * @see https://on.cypress.io/parent
cli/types/cypress.d.ts:1762
↓ 29 callersFunctiondebug
()
packages/proxy/test/unit/http/response-middleware.spec.ts:2017
↓ 29 callersMethodscrollIntoView
* Scroll an element into view. * * @see https://on.cypress.io/scrollintoview
cli/types/cypress.d.ts:2028
↓ 28 callersMethodclone
()
packages/driver/src/cypress/command.ts:157
↓ 28 callersMethodensureDir
(type: 'e2e' | 'fixtures' | 'support')
packages/data-context/src/actions/WizardActions.ts:387
↓ 28 callersMethodfixture
* Load a fixed set of data located in a file. * * @see https://on.cypress.io/fixture
cli/types/cypress.d.ts:1452
↓ 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:191
↓ 28 callersMethodshift
(queueKey: string)
packages/proxy/lib/http/util/prerequests.ts:60
↓ 28 callersMethodstart
(props: TestProps)
packages/reporter/src/test/test-model.ts:174
↓ 27 callersFunctionbefore
()
packages/reporter/cypress/support/e2e.ts:6
↓ 27 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:1621
↓ 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:2011
↓ 27 callersMethodwriteFileInProject
(relativePath: string, data: any)
packages/data-context/src/actions/FileActions.ts:23
↓ 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 callersMethodremoveEventListener
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)
packages/proxy/lib/http/util/service-worker-injector.ts:20
↓ 26 callersMethodsetHeader
(name: string, value: CypressHeaderValue)
packages/proxy/lib/types.ts:54
↓ 25 callersMethodclose
()
packages/types/src/protocol.ts:138
↓ 25 callersMethodcreateServer
( app: Express, config: Cfg, onWarning: unknown, )
packages/server/lib/server-base.ts:328
↓ 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:1661
↓ 24 callersMethodkill
()
system-tests/lib/tap-open.ts:165
↓ 23 callersMethodgetConfig
()
packages/data-context/src/actions/ProjectActions.ts:42
↓ 23 callersMethodgetCookie
* Get a browser cookie by its name. * * @see https://on.cypress.io/getcookie
cli/types/cypress.d.ts:1525
↓ 23 callersMethodgetElements
(cypressDom)
packages/app/src/runner/aut-iframe.ts:616
↓ 23 callersFunctionlogError
(err: CypressError | ErrorLike, color: AllowedChalkColors = 'red', causeDepth: number = 3)
packages/errors/src/errorUtils.ts:54
↓ 23 callersMethodrender
()
packages/data-context/test/unit/actions/project/counter-class.jsx:17
↓ 23 callersMethodscrollTo
* Scroll to a specific position. * * @see https://on.cypress.io/scrollto
cli/types/cypress.d.ts:2035
↓ 23 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
↓ 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:6575
↓ 22 callersMethodclone
()
packages/server/lib/browsers/cdp-protocol/cri-client.ts:433
↓ 22 callersMethodgetCookies
* Get browser cookies for a domain. * * @see https://on.cypress.io/getcookies
cli/types/cypress.d.ts:1532
↓ 22 callersMethodreadFileInProject
(relativePath: string)
packages/data-context/src/actions/FileActions.ts:11
↓ 21 callersMethodbackend
(eventName, ...args)
packages/driver/src/cypress.ts:897
↓ 21 callersFunctionbefore
()
packages/driver/cypress/fixtures/jquery-3.2.1.js:5922
← previousnext →101–200 of 10,286, ranked by callers