MCPcopy Create free account

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

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

↓ 7 callersFunctiongetTestById
(id)
packages/driver/src/cypress/runner.ts:1373
↓ 7 callersFunctionhandleBackendError
(command: CommandName, action: string, onFail?: Cypress.Log)
packages/driver/src/cy/commands/cookies.ts:174
↓ 7 callersMethodisAttached
* Throws an error if `subject` is not a DOM element attached to the application under test.
cli/types/cypress.d.ts:164
↓ 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:589
↓ 7 callersFunctionisDependencyInstalled
(dependency: Cypress.CypressComponentDependency, projectPath: string)
packages/scaffold-config/src/frameworks.ts:48
↓ 7 callersFunctionisHostOnlyCookie
(cookie)
packages/server/lib/automation/cookie/util.ts:31
↓ 7 callersMethodisHttpError
(error: Error & { kind?: any, originalResponse?: Response })
packages/server/lib/cloud/network/http_error.ts:18
↓ 7 callersFunctionisUndefinedOrHTMLBodyDoc
($el: JQuery<HTMLElement>)
packages/driver/src/dom/elements/find.ts:209
↓ 7 callersFunctionlogError
(...args: any[])
packages/stderr-filtering/lib/logError.ts:18
↓ 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 callersFunctionnormalize
(runnable, tests, initialTests, getRunnableId, getHookId, setOnlyTestId, getOnlyTestId, getNewTestLineNumber,
packages/driver/src/cypress/runner.ts:723
↓ 7 callersMethodnot
* Filter DOM element(s) from a set of DOM elements. Opposite of `.filter()` * * @see https://on.cypress.io/not
cli/types/cypress.d.ts:1707
↓ 7 callersMethodonRequest
(...args: any[])
cli/types/cypress.d.ts:3830
↓ 7 callersMethodprependListener
(event: string | symbol, listener: (...args: any[]) => void)
cli/types/cypress-eventemitter.d.ts:26
↓ 7 callersMethodrefreshLifecycle
()
packages/data-context/src/data/ProjectLifecycleManager.ts:384
↓ 7 callersMethodrespondWith
(r: Response | PromiseLike<Response>)
packages/proxy/lib/http/util/service-worker-injector.ts:28
↓ 7 callersFunctionrunPrivilegedCommand
({ commandName, cy, Cypress, options }: RunPrivilegedCommandOptions)
packages/driver/src/util/privileged_channel.ts:23
↓ 7 callersFunctionsendPointerEvent
(el, evtOptions, evtName, bubbles = false, cancelable = false)
packages/driver/src/cy/mouse.ts:64
↓ 7 callersMethodsetCurrentProjectAndTestingTypeForTestSetup
(projectRoot: string)
packages/data-context/src/actions/ProjectActions.ts:176
↓ 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:2112
↓ 7 callersFunctionspawned
( prefix: AllSpawnableApps, command: string, opts: SpawnedOptions = {}, )
scripts/gulp/utils/childProcessUtils.ts:88
↓ 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:144
↓ 7 callersFunctiontoPosix
(file: string, sep: string = path.sep)
packages/data-context/src/util/file.ts:3
↓ 7 callersFunctionwithTapConnection
( session: ReadySessionState, fn: (connection: TapConnection) => Promise<T>, timeoutMs?: number, )
cli/lib/tap/tap-connection.ts:248
↓ 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:235
↓ 6 callersMethodattachCDPClient
(cdpClient: CDPSocketBridge)
packages/socket/lib/node/cdp-socket.ts:36
↓ 6 callersFunctionautomateCookies
({ event, options, commandName, log, timeout, }: AutomateOptions<T>)
packages/driver/src/cy/commands/cookies.ts:114
↓ 6 callersFunctionbasename
(path: string)
packages/frontend-shared/cypress/support/mock-graphql/stubgql-Mutation.ts:7
↓ 6 callersFunctionclickCommandLog
(sel, type?)
packages/driver/cypress/support/utils.ts:35
↓ 6 callersMethodconnect
()
packages/server/lib/browsers/cdp-protocol/cdp-connection.ts:91
↓ 6 callersMethodconnectCyPromptToBrowser
(options)
packages/server/lib/open_project.ts:265
↓ 6 callersMethodconsoleProps
Return an object that will be printed in the dev tools console
cli/types/cypress.d.ts:6714
↓ 6 callersFunctioncreateRoutes
(props: DeepPartial<typeof routeHandlers> = {})
system-tests/lib/serverStub.ts:272
↓ 6 callersMethoddecodeResponse
(response: TResponse)
packages/network-interception/lib/ports/http-interception.ts:31
↓ 6 callersFunctiondefaultTimeout
()
packages/server/lib/cloud/api/index.ts:60
↓ 6 callersFunctiondir
(elem, dir, until)
packages/driver/cypress/fixtures/jquery-3.2.1.js:2806
↓ 6 callersMethodduration
()
packages/reporter/src/header/stats-store.ts:40
↓ 6 callersFunctioneach
(fn)
packages/server/lib/util/obj_utils.ts:40
↓ 6 callersMethodencodeResponse
(response: HttpResponse)
packages/network-interception/lib/ports/http-interception.ts:30
↓ 6 callersMethodendActiveSpanAndChildren
(span?: Span | undefined)
packages/telemetry/src/telemetry/index.ts:41
↓ 6 callersFunctionerrByPath
(msgPath, args?)
packages/driver/src/cypress/error_utils.ts:415
↓ 6 callersFunctioneventManager
()
packages/app/src/tap/tap-manager-data-source.ts:11
↓ 6 callersFunctionexecAsync
( command: string, options: ExecAsyncOptions = {}, )
scripts/gulp/utils/childProcessUtils.ts:167
↓ 6 callersMethodexitGracefully
(code: number)
packages/server/lib/util/graceful-exit.ts:185
↓ 6 callersFunctionfind
(selector)
packages/driver/cypress/fixtures/jquery-3.2.1.js:2899
↓ 6 callersMethodfindActiveSpan
(fn: findActiveSpanOptions)
packages/telemetry/src/telemetry/index.ts:40
↓ 6 callersMethodfinish
()
cli/types/cypress.d.ts:6688
↓ 6 callersMethodget
(attr)
packages/driver/src/cypress/command.ts:113
↓ 6 callersMethodgetActiveModifiers
()
packages/driver/src/cy/keyboard.ts:1102
↓ 6 callersFunctiongetAngularJsonValue
(tree: Tree)
npm/cypress-schematic/src/schematics/utils/index.ts:125
↓ 6 callersMethodgetAutIframe
* Get the AUT <iframe>. Useful for Cypress in Cypress tests.
packages/frontend-shared/cypress/support/e2e.ts:198
↓ 6 callersFunctiongetCwd
(...args: string[])
packages/server/lib/cwd.ts:3
↓ 6 callersFunctiongetOperationName
(query: DocumentNode)
packages/frontend-shared/src/graphql/urqlExchangePubsub.ts:83
↓ 6 callersMethodgetPrimary
()
packages/network-tools/lib/remote-states.ts:113
↓ 6 callersMethodgetUser
()
packages/data-context/src/actions/AuthActions.ts:6
↓ 6 callersFunctiongetWidth
(table: Table, index: number)
packages/server/lib/util/print-run.ts:55
↓ 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:1553
↓ 6 callersFunctionindent
(depth: number)
cli/lib/tap/render/format.ts:86
↓ 6 callersFunctionindexNode
(node: T & {__typename: CloudTypesWithId})
packages/data-context/test/graphql/stubCloudTypes.ts:71
↓ 6 callersFunctioninstallCustomPercyCommand
({ before, elementOverrides }: {before?: () => void, elementOverrides?: CustomSnapshotOptions['elementOverride
packages/frontend-shared/cypress/support/customPercyCommand.ts:206
↓ 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 callersMethodisScrollable
* Throws an error if `subject` is a read-only form element.
cli/types/cypress.d.ts:184
↓ 6 callersFunctionisTextarea
(el)
packages/driver/src/dom/elements/elementHelpers.ts:31
↓ 6 callersMethodlaunchProject
(browser: FoundBrowser, spec: Cypress.Spec, options?: Partial<OpenProjectLaunchOpts>)
packages/data-context/src/actions/ProjectActions.ts:32
↓ 6 callersFunctionloadProjectAndRunSpec
({ projectName = 'studio' as ProjectFixtureDir, specName = 'spec.cy.js', cliArgs = [''], specSelector = 'data-
packages/app/cypress/e2e/studio/helper.ts:3
↓ 6 callersFunctionmerge
(...args)
packages/server/lib/request.ts:72
↓ 6 callersFunctionnext
()
system-tests/projects/e2e/static/jquery.js:4293
↓ 6 callersFunctionpipe
(req: IncomingMessage, res: ServerResponse)
packages/https-proxy/test/helpers/proxy.ts:13
↓ 6 callersMethodpress
* Send a native sequence of keyboard events: keydown & press, followed by keyup, for the provided key. * Supported keys index the Cypress.Keyboar
cli/types/cypress.d.ts:1830
↓ 6 callersMethodprevAll
* Get all previous siblings of each DOM element in a set of matched DOM elements. * > The querying behavior of this command matches exactly how [
cli/types/cypress.d.ts:1863
↓ 6 callersFunctionrelativeToRepoRoot
(targetPath: string)
cli/lib/relative-to-repo-root.ts:5
↓ 6 callersMethodrelaunchBrowser
()
packages/data-context/src/sources/BrowserDataSource.ts:39
↓ 6 callersMethodreleaseRequest
(id: string)
packages/network-interception/lib/ports/http-interception.ts:32
↓ 6 callersMethodremoveStep
(key: ExitStepKey)
packages/server/lib/util/graceful-exit.ts:126
↓ 6 callersFunctionrenderOutcome
(command: string, result: unknown, json: boolean | undefined, options: Record<string, string> = {})
cli/lib/tap/output.ts:104
↓ 6 callersMethodresolve
(uniqueId: string, headers: any)
packages/rewriter/lib/deferred-source-map-cache.ts:105
↓ 6 callersMethodroot
* Get the root DOM element. * The root element yielded is `<html>` by default. * However, when calling `.root()` from a `.within()` command,
cli/types/cypress.d.ts:2001
↓ 6 callersMethodsetActiveBrowser
(browser: FoundBrowser)
packages/data-context/src/actions/BrowserActions.ts:26
↓ 6 callersMethodsetPreferences
(object: AllowedState)
packages/data-context/src/actions/LocalSettingsActions.ts:13
↓ 6 callersMethodsetTestFilter
(eligibleFullTitles?: string[])
packages/server/lib/reporter.ts:507
↓ 6 callersFunctionsetupStubbedServer
(routes)
system-tests/lib/serverStub.ts:491
↓ 6 callersMethodshowItemInFolder
(folder: string)
packages/data-context/src/actions/ElectronActions.ts:18
↓ 6 callersFunctionsnapshot
(...args)
scripts/unit/binary/util/packages-spec.js:23
↓ 6 callersFunctionspawn
()
scripts/binary/smoke.js:130
↓ 6 callersFunctionspawnCypressWithMode
------------------------------------------------------------------------ * Start and Watch Utils * * spawnCypressWithMode -
scripts/gulp/tasks/gulpCypress.ts:61
↓ 6 callersMethodstartWebsockets
(automation: Automation, config, options: Record<string, unknown> = {})
packages/server/lib/server-base.ts:640
↓ 6 callersMethodsubscribeTo
* GraphQL Subscriptions use the AsyncIterator protocol for notifying * of updates which trigger re-execution on the client. * However the native
packages/data-context/src/actions/DataEmitterActions.ts:235
↓ 6 callersMethodterminate
Kills the process tree but leaves the session record for stale-record tests.
system-tests/lib/tap-open.ts:164
↓ 6 callersFunctiontestNodeId
(type: T)
packages/data-context/test/graphql/stubCloudTypes.ts:59
↓ 6 callersMethodtoApp
* Broadcasts a signal to the "app" via Socket.io, typically used to trigger * a re-query of data on the frontend
packages/data-context/src/actions/DataEmitterActions.ts:175
↓ 6 callersMethodtoDriver
(event, ...data)
packages/server/lib/socket-base.ts:104
↓ 6 callersFunctiontoPosix
(file: string)
packages/driver/src/cypress/util/to_posix.ts:1
↓ 6 callersFunctiontoSupportedKey
(key: string | number)
packages/types/src/automation.ts:94
↓ 6 callersMethodtransaction
()
packages/server/lib/util/file.ts:49
↓ 6 callersMethoduncheck
* Uncheck checkbox(es). * * @see https://on.cypress.io/uncheck * @example * // Unchecks checkbox element * cy.get('[typ
cli/types/cypress.d.ts:2456
↓ 5 callersFunction$$
(selector, context?)
packages/driver/src/cy/jquery.ts:13
↓ 5 callersFunctionInjectable
()
npm/webpack-batteries-included-preprocessor/test/fixtures/typescript_decorators_spec.ts:6
↓ 5 callersMethod_withAttempt
(attemptIndex: number, cb: (attempt: Attempt) => T)
packages/reporter/src/test/test-model.ts:253
← previousnext →401–500 of 10,286, ranked by callers