ReferenceError: cy is not defined at Object.<anonymous> #27486
2397hushar
started this conversation in
Cypress Cloud
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have debugging this issue after that this error is coming ,
PS C:\Users\tsangale\Desktop\cypress> node "c:\Users\tsangale\Desktop\cypress\cypress\integration\cypressframework\tempCodeRunnerFile.js"
c:\Users\tsangale\Desktop\cypress\cypress\integration\cypressframework\tempCodeRunnerFile.js:1
cy.get(':nth-child(1) > .form-control').type(this.data.name)
^
ReferenceError: cy is not defined
at Object. (c:\Users\tsangale\Desktop\cypress\cypress\integration\cypressframework\tempCodeRunnerFile.js:1:8)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
how to resolve issue
Beta Was this translation helpful? Give feedback.
All reactions