MCPcopy Create free account

hub / github.com/11joselu/cypress-to-playwright / functions

Functions141 in github.com/11joselu/cypress-to-playwright

↓ 125 callersFunctionformat
(result: string)
test/test-utils.ts:3
↓ 82 callersFunctionit
(expressionName: string)
src/core/is/is-hook.ts:14
↓ 57 callersFunctionconverter
(code: string, customCommandsTracker: CustomCommandTracker)
src/converter.ts:5
↓ 35 callersFunctioncreateOption
(cy: string, playwright: string)
test/test-utils.ts:13
↓ 16 callersFunctiondescribe
(expressionName: string)
src/core/is/is-hook.ts:8
↓ 13 callersFunctioncreateFileWithContent
(file: string, content: string)
test/command.test.ts:226
↓ 11 callersFunctioncreateIdentifier
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:135
↓ 11 callersFunctioncreatePlaywrightCommand
( propertyExpression: ts.PropertyAccessExpression, factory: Factory, command: LOCATOR_PROPERTIES, toIn
src/core/converters/actions.ts:51
↓ 10 callersFunctioncreateQueryAction
(action: string)
src/core/is/is-cy.ts:106
↓ 6 callersFunctioncreateCallExpression
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:154
↓ 5 callersFunctioncreatePropertyAccessExpression
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:105
↓ 5 callersFunctionfixString
(str: string)
src/core/converters/fix-string.ts:1
↓ 5 callersFunctionreadFile
(file: string)
test/command.test.ts:230
↓ 4 callersFunctionbeforeEach
(expressionName: string)
src/core/is/is-hook.ts:2
↓ 4 callersFunctioncreateParameter
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:289
↓ 3 callersFunctioncreateArrowFunction
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:141
↓ 3 callersFunctioncreateAsyncToken
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:183
↓ 3 callersFunctioncreateStatement
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:99
↓ 3 callersFunctiongetBodyOfCall
(callExpression: ts.CallExpression, factory: Factory)
src/core/converters/hooks.ts:78
↓ 3 callersFunctionincludesCyCodeInFnCode
(fnBodyContent: string)
src/core/converters/transform.ts:177
↓ 3 callersFunctionisFunction
(node: ts.Node | ts.VariableDeclaration)
src/core/converters/transform.ts:181
↓ 2 callersFunctioncreateAwaitCallExpression
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:118
↓ 2 callersFunctioncreateBlock
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:202
↓ 2 callersFunctioncreateEmptyBlock
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:177
↓ 2 callersFunctioncreateHookWithTitle
( expressionName: string, call: ts.CallExpression, node: ts.ExpressionStatement, factory: Factory, h
src/core/converters/hooks.ts:27
↓ 2 callersFunctioncreateHookWithoutTitle
(factory: Factory, call: ts.CallExpression, hook: HOOKS = HOOKS.BEFORE_EACH)
src/core/converters/hooks.ts:89
↓ 2 callersFunctioncreateInMemoryCustomCommandTracker
()
src/core/infrastructure/in-memory-custom-command-tracker.ts:3
↓ 2 callersFunctioncreateMemoryLogger
()
test/command.test.ts:234
↓ 2 callersFunctioncreateNumericLiteral
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:208
↓ 2 callersFunctioncreatePlaywrightCommand
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:259
↓ 2 callersFunctioncreateStringLiteral
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:214
↓ 2 callersFunctiongetExpressionName
(expressions: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/validations.ts:97
↓ 2 callersFunctiongetExpressionName
(expressions: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/actions.ts:112
↓ 2 callersFunctionisArrowFunctionDeclaration
(node: ts.Node)
src/core/converters/transform.ts:182
↓ 2 callersFunctionisRest
(arg: ts.Expression)
src/core/converters/node-factory.ts:336
↓ 2 callersFunctionmkdir
(dir: string)
src/command.ts:43
↓ 2 callersFunctionnormalizeText
(s)
examples/base-cypress-12.7.0/cypress/e2e/2-advanced-examples/assertions.cy.js:136
↓ 2 callersFunctionnormalizeText
(s)
examples/base-playwright/2-advanced-examples/assertions.spec.js:117
↓ 2 callersFunctionremoveColor
(str: string)
test/command.test.ts:246
↓ 1 callersFunctionafterEach
(expressionName: string)
src/core/is/is-hook.ts:5
↓ 1 callersFunctioncommands
(expressionName: string, factory: Factory, call: ts.CallExpression)
src/core/converters/transform.ts:164
↓ 1 callersFunctionconvertFunctionNode
( node: ts.Node | ts.FunctionDeclaration | ts.VariableDeclaration, sourceFile: ts.SourceFile, factory: F
src/core/converters/transform.ts:193
↓ 1 callersFunctioncreateAwait
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:129
↓ 1 callersFunctioncreateBinaryExpression
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:325
↓ 1 callersFunctioncreateCallOfProperty
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:409
↓ 1 callersFunctioncreateClearCookies
(factory: Factory, call: ts.CallExpression)
src/core/converters/transform.ts:97
↓ 1 callersFunctioncreateDestructuringParameter
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:164
↓ 1 callersFunctioncreateExportToken
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:481
↓ 1 callersFunctioncreateFunction
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:462
↓ 1 callersFunctioncreateFunctionWithPageParameter
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:427
↓ 1 callersFunctioncreateGoTo
(factory: Factory, call: ts.CallExpression)
src/core/converters/transform.ts:89
↓ 1 callersFunctioncreateIfStatement
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:307
↓ 1 callersFunctioncreateObjectLiteral
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:295
↓ 1 callersFunctioncreatePlaywrightExpect
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:220
↓ 1 callersFunctioncreatePlaywrightIntercept
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:335
↓ 1 callersFunctioncreatePlaywrightLocatorProperty
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:267
↓ 1 callersFunctioncreateProperty
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:301
↓ 1 callersFunctioncreateReturn
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:319
↓ 1 callersFunctioncreateToken
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:313
↓ 1 callersFunctioncreateVariable
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:189
↓ 1 callersFunctioncreateWait
(factory: Factory, call: ts.CallExpression)
src/core/converters/transform.ts:93
↓ 1 callersFunctioncreateWrappedCallExpressionInStatement
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:90
↓ 1 callersFunctionfindGetPropertyExpression
(propertyExpression: ts.PropertyAccessExpression)
src/core/converters/validations.ts:101
↓ 1 callersFunctionfindGetPropertyExpression
(propertyExpression: ts.PropertyAccessExpression)
src/core/converters/actions.ts:116
↓ 1 callersFunctionfixFilePath
(fromDir: string, file: string)
src/command.ts:115
↓ 1 callersFunctiongetArgumentsOfPropertyAccessExpression
(propertyAccessExpression: ts.PropertyAccessExpression)
src/core/converters/validations.ts:87
↓ 1 callersFunctiongetArgumentsOfPropertyAccessExpression
(propertyAccessExpression: ts.PropertyAccessExpression)
src/core/converters/actions.ts:102
↓ 1 callersFunctiongetExpressionName
(expressions: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/transform.ts:85
↓ 1 callersFunctiongetFiles
(directory: string)
src/command.ts:49
↓ 1 callersFunctiongetListOfExpressionName
(expression: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/transform.ts:105
↓ 1 callersFunctiongetListOfExpressionName
(expression: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/validations.ts:114
↓ 1 callersFunctiongetListOfExpressionName
(expression: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/actions.ts:129
↓ 1 callersFunctiongetNextStep
(outputDir: string)
src/command.ts:107
↓ 1 callersFunctiongetSummary
(migrated: number, notMigrated: string[])
src/command.ts:96
↓ 1 callersFunctiongotoPage
()
examples/base-cypress-12.7.0/cypress/e2e/1-getting-started/todo-with-functions.cy.js:19
↓ 1 callersFunctiongotoPage
(page)
examples/base-playwright/1-getting-started/todo-with-functions.spec.js:16
↓ 1 callersFunctioninjectPageArgumentIntoCallFunction
( foundFunctionDeclaration: ts.Statement, sourceFile: ts.SourceFile, factory: Factory, call: ts.CallEx
src/core/converters/transform.ts:218
↓ 1 callersFunctionisAction
(expressionName: string)
src/core/converters/transform.ts:135
↓ 1 callersFunctionisCommand
(expressionName: string)
src/core/converters/transform.ts:155
↓ 1 callersFunctionisCyPropertyCall
(expressionName: string, call: ts.CallExpression)
src/core/converters/transform.ts:131
↓ 1 callersFunctionisRunnerHook
(expressionName: string)
src/core/converters/transform.ts:122
↓ 1 callersFunctionisValidation
(expressionName: string)
src/core/converters/transform.ts:151
↓ 1 callersFunctionmigrateCodeToPlaywright
(file: File, customCommandsTracker: CustomCommandTracker)
src/command.ts:79
↓ 1 callersFunctionnodeFactory
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:62
↓ 1 callersFunctiontransform
(sourceFile: ts.SourceFile, customCommandsTracker: CustomCommandTracker)
src/core/converters/transform.ts:12
↓ 1 callersFunctionvalidateDirectory
(directory: string)
src/command.ts:37
↓ 1 callersFunctionvalidateItemsAsArrowFunction
()
examples/base-cypress-12.7.0/cypress/e2e/1-getting-started/todo-with-functions.cy.js:23
↓ 1 callersFunctionvalidateItemsAsArrowFunction
(page)
examples/base-playwright/1-getting-started/todo-with-functions.spec.js:19
↓ 1 callersFunctionwriteContentInFile
(writeInFile: string, result: string)
src/command.ts:123
↓ 1 callersFunctionwriteMigratedCodeFrom
(readDirectory: string, outputDir: string)
src/command.ts:57
FunctionaddTodo
(newItem, page)
examples/base-playwright/support/commands.js:1
FunctionbeChecked
(expressionName: string)
src/core/is/is-cy.ts:91
FunctionbeDisabled
(expressionName: string)
src/core/is/is-cy.ts:94
FunctionbeVisible
(expressionName: string)
src/core/is/is-cy.ts:82
Functionblur
(expressionName: string)
src/core/is/is-cy.ts:57
Functioncheck
(expressionName: string)
src/core/is/is-cy.ts:33
Functionclear
(expressionName: string)
src/core/is/is-cy.ts:51
FunctionclearCookies
(expressionName: string)
src/core/is/is-cy.ts:66
Functionclick
(expressionName: string)
src/core/is/is-cy.ts:14
Functioncontains
(expressionName: string)
src/core/is/is-cy.ts:11
next →1–100 of 141, ranked by callers