Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/11joselu/cypress-to-playwright
/ functions
Functions
141 in github.com/11joselu/cypress-to-playwright
⨍
Functions
141
◇
Types & classes
7
↓ 125 callers
Function
format
(result: string)
test/test-utils.ts:3
↓ 82 callers
Function
it
(expressionName: string)
src/core/is/is-hook.ts:14
↓ 57 callers
Function
converter
(code: string, customCommandsTracker: CustomCommandTracker)
src/converter.ts:5
↓ 35 callers
Function
createOption
(cy: string, playwright: string)
test/test-utils.ts:13
↓ 16 callers
Function
describe
(expressionName: string)
src/core/is/is-hook.ts:8
↓ 13 callers
Function
createFileWithContent
(file: string, content: string)
test/command.test.ts:226
↓ 11 callers
Function
createIdentifier
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:135
↓ 11 callers
Function
createPlaywrightCommand
( propertyExpression: ts.PropertyAccessExpression, factory: Factory, command: LOCATOR_PROPERTIES, toIn
src/core/converters/actions.ts:51
↓ 10 callers
Function
createQueryAction
(action: string)
src/core/is/is-cy.ts:106
↓ 6 callers
Function
createCallExpression
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:154
↓ 5 callers
Function
createPropertyAccessExpression
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:105
↓ 5 callers
Function
fixString
(str: string)
src/core/converters/fix-string.ts:1
↓ 5 callers
Function
readFile
(file: string)
test/command.test.ts:230
↓ 4 callers
Function
beforeEach
(expressionName: string)
src/core/is/is-hook.ts:2
↓ 4 callers
Function
createParameter
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:289
↓ 3 callers
Function
createArrowFunction
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:141
↓ 3 callers
Function
createAsyncToken
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:183
↓ 3 callers
Function
createStatement
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:99
↓ 3 callers
Function
getBodyOfCall
(callExpression: ts.CallExpression, factory: Factory)
src/core/converters/hooks.ts:78
↓ 3 callers
Function
includesCyCodeInFnCode
(fnBodyContent: string)
src/core/converters/transform.ts:177
↓ 3 callers
Function
isFunction
(node: ts.Node | ts.VariableDeclaration)
src/core/converters/transform.ts:181
↓ 2 callers
Function
createAwaitCallExpression
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:118
↓ 2 callers
Function
createBlock
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:202
↓ 2 callers
Function
createEmptyBlock
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:177
↓ 2 callers
Function
createHookWithTitle
( expressionName: string, call: ts.CallExpression, node: ts.ExpressionStatement, factory: Factory, h
src/core/converters/hooks.ts:27
↓ 2 callers
Function
createHookWithoutTitle
(factory: Factory, call: ts.CallExpression, hook: HOOKS = HOOKS.BEFORE_EACH)
src/core/converters/hooks.ts:89
↓ 2 callers
Function
createInMemoryCustomCommandTracker
()
src/core/infrastructure/in-memory-custom-command-tracker.ts:3
↓ 2 callers
Function
createMemoryLogger
()
test/command.test.ts:234
↓ 2 callers
Function
createNumericLiteral
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:208
↓ 2 callers
Function
createPlaywrightCommand
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:259
↓ 2 callers
Function
createStringLiteral
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:214
↓ 2 callers
Function
getExpressionName
(expressions: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/validations.ts:97
↓ 2 callers
Function
getExpressionName
(expressions: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/actions.ts:112
↓ 2 callers
Function
isArrowFunctionDeclaration
(node: ts.Node)
src/core/converters/transform.ts:182
↓ 2 callers
Function
isRest
(arg: ts.Expression)
src/core/converters/node-factory.ts:336
↓ 2 callers
Function
mkdir
(dir: string)
src/command.ts:43
↓ 2 callers
Function
normalizeText
(s)
examples/base-cypress-12.7.0/cypress/e2e/2-advanced-examples/assertions.cy.js:136
↓ 2 callers
Function
normalizeText
(s)
examples/base-playwright/2-advanced-examples/assertions.spec.js:117
↓ 2 callers
Function
removeColor
(str: string)
test/command.test.ts:246
↓ 1 callers
Function
afterEach
(expressionName: string)
src/core/is/is-hook.ts:5
↓ 1 callers
Function
commands
(expressionName: string, factory: Factory, call: ts.CallExpression)
src/core/converters/transform.ts:164
↓ 1 callers
Function
convertFunctionNode
( node: ts.Node | ts.FunctionDeclaration | ts.VariableDeclaration, sourceFile: ts.SourceFile, factory: F
src/core/converters/transform.ts:193
↓ 1 callers
Function
createAwait
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:129
↓ 1 callers
Function
createBinaryExpression
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:325
↓ 1 callers
Function
createCallOfProperty
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:409
↓ 1 callers
Function
createClearCookies
(factory: Factory, call: ts.CallExpression)
src/core/converters/transform.ts:97
↓ 1 callers
Function
createDestructuringParameter
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:164
↓ 1 callers
Function
createExportToken
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:481
↓ 1 callers
Function
createFunction
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:462
↓ 1 callers
Function
createFunctionWithPageParameter
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:427
↓ 1 callers
Function
createGoTo
(factory: Factory, call: ts.CallExpression)
src/core/converters/transform.ts:89
↓ 1 callers
Function
createIfStatement
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:307
↓ 1 callers
Function
createObjectLiteral
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:295
↓ 1 callers
Function
createPlaywrightExpect
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:220
↓ 1 callers
Function
createPlaywrightIntercept
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:335
↓ 1 callers
Function
createPlaywrightLocatorProperty
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:267
↓ 1 callers
Function
createProperty
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:301
↓ 1 callers
Function
createReturn
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:319
↓ 1 callers
Function
createToken
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:313
↓ 1 callers
Function
createVariable
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:189
↓ 1 callers
Function
createWait
(factory: Factory, call: ts.CallExpression)
src/core/converters/transform.ts:93
↓ 1 callers
Function
createWrappedCallExpressionInStatement
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:90
↓ 1 callers
Function
findGetPropertyExpression
(propertyExpression: ts.PropertyAccessExpression)
src/core/converters/validations.ts:101
↓ 1 callers
Function
findGetPropertyExpression
(propertyExpression: ts.PropertyAccessExpression)
src/core/converters/actions.ts:116
↓ 1 callers
Function
fixFilePath
(fromDir: string, file: string)
src/command.ts:115
↓ 1 callers
Function
getArgumentsOfPropertyAccessExpression
(propertyAccessExpression: ts.PropertyAccessExpression)
src/core/converters/validations.ts:87
↓ 1 callers
Function
getArgumentsOfPropertyAccessExpression
(propertyAccessExpression: ts.PropertyAccessExpression)
src/core/converters/actions.ts:102
↓ 1 callers
Function
getExpressionName
(expressions: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/transform.ts:85
↓ 1 callers
Function
getFiles
(directory: string)
src/command.ts:49
↓ 1 callers
Function
getListOfExpressionName
(expression: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/transform.ts:105
↓ 1 callers
Function
getListOfExpressionName
(expression: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/validations.ts:114
↓ 1 callers
Function
getListOfExpressionName
(expression: ts.PropertyAccessExpression | ts.LeftHandSideExpression)
src/core/converters/actions.ts:129
↓ 1 callers
Function
getNextStep
(outputDir: string)
src/command.ts:107
↓ 1 callers
Function
getSummary
(migrated: number, notMigrated: string[])
src/command.ts:96
↓ 1 callers
Function
gotoPage
()
examples/base-cypress-12.7.0/cypress/e2e/1-getting-started/todo-with-functions.cy.js:19
↓ 1 callers
Function
gotoPage
(page)
examples/base-playwright/1-getting-started/todo-with-functions.spec.js:16
↓ 1 callers
Function
injectPageArgumentIntoCallFunction
( foundFunctionDeclaration: ts.Statement, sourceFile: ts.SourceFile, factory: Factory, call: ts.CallEx
src/core/converters/transform.ts:218
↓ 1 callers
Function
isAction
(expressionName: string)
src/core/converters/transform.ts:135
↓ 1 callers
Function
isCommand
(expressionName: string)
src/core/converters/transform.ts:155
↓ 1 callers
Function
isCyPropertyCall
(expressionName: string, call: ts.CallExpression)
src/core/converters/transform.ts:131
↓ 1 callers
Function
isRunnerHook
(expressionName: string)
src/core/converters/transform.ts:122
↓ 1 callers
Function
isValidation
(expressionName: string)
src/core/converters/transform.ts:151
↓ 1 callers
Function
migrateCodeToPlaywright
(file: File, customCommandsTracker: CustomCommandTracker)
src/command.ts:79
↓ 1 callers
Function
nodeFactory
(factory: ts.NodeFactory)
src/core/converters/node-factory.ts:62
↓ 1 callers
Function
transform
(sourceFile: ts.SourceFile, customCommandsTracker: CustomCommandTracker)
src/core/converters/transform.ts:12
↓ 1 callers
Function
validateDirectory
(directory: string)
src/command.ts:37
↓ 1 callers
Function
validateItemsAsArrowFunction
()
examples/base-cypress-12.7.0/cypress/e2e/1-getting-started/todo-with-functions.cy.js:23
↓ 1 callers
Function
validateItemsAsArrowFunction
(page)
examples/base-playwright/1-getting-started/todo-with-functions.spec.js:19
↓ 1 callers
Function
writeContentInFile
(writeInFile: string, result: string)
src/command.ts:123
↓ 1 callers
Function
writeMigratedCodeFrom
(readDirectory: string, outputDir: string)
src/command.ts:57
Function
addTodo
(newItem, page)
examples/base-playwright/support/commands.js:1
Function
beChecked
(expressionName: string)
src/core/is/is-cy.ts:91
Function
beDisabled
(expressionName: string)
src/core/is/is-cy.ts:94
Function
beVisible
(expressionName: string)
src/core/is/is-cy.ts:82
Function
blur
(expressionName: string)
src/core/is/is-cy.ts:57
Function
check
(expressionName: string)
src/core/is/is-cy.ts:33
Function
clear
(expressionName: string)
src/core/is/is-cy.ts:51
Function
clearCookies
(expressionName: string)
src/core/is/is-cy.ts:66
Function
click
(expressionName: string)
src/core/is/is-cy.ts:14
Function
contains
(expressionName: string)
src/core/is/is-cy.ts:11
next →
1–100 of 141, ranked by callers