freezing-piano-2792
11/16/2022, 4:41 PMAnd
keyword in your .feature
filesfreezing-piano-2792
11/16/2022, 4:41 PMmysterious-belgium-25713
11/16/2022, 4:41 PMfew-oyster-82478
11/16/2022, 4:47 PMfew-oyster-82478
11/16/2022, 4:48 PM.feature
files:few-oyster-82478
11/16/2022, 4:49 PMfreezing-piano-2792
11/16/2022, 5:16 PMfew-oyster-82478
11/16/2022, 6:12 PMfew-oyster-82478
11/16/2022, 6:15 PMmysterious-belgium-25713
11/16/2022, 6:32 PMmysterious-belgium-25713
11/16/2022, 6:32 PMred-gpu-23661
11/16/2022, 7:35 PM{
"json": {
"enabled": false,
"output": "jsonlogs/log.json",
"formatter": "cucumber-json-formatter.exe"
},
"messages": {
"enabled": false,
"output": "jsonlogs/messages.ndjson"
},
"html": {
"enabled": false
},
"stepDefinitions": [
"[filepath]/**/*.{js,ts}",
"[filepath].{js,ts}",
"cypress/e2e/definitions_etapes/*.{js,ts}"
]
}
few-oyster-82478
11/16/2022, 8:23 PMcypress/e2e/
, I've added .cypress-cucumber-preprocessorrc.json
at cypress
level with that config , but the official cucumber extension still shows the same error message regarding undefined steps
(and it does not navigate to the steps either)few-oyster-82478
11/16/2022, 8:25 PMmysterious-belgium-25713
11/16/2022, 8:27 PMjson
{
"cucumberautocomplete.steps": [
"test/features/step_definitions/*.js",
"node_modules/qa-lib/src/step_definitions/*.js"
],
"cucumberautocomplete.strictGherkinCompletion": true
}
mysterious-belgium-25713
11/16/2022, 8:28 PMfew-oyster-82478
11/16/2022, 9:09 PMbillowy-librarian-83114
11/16/2022, 10:47 PMbillowy-librarian-83114
11/16/2022, 11:27 PMlate-quill-17187
11/17/2022, 8:28 AMbrash-scientist-28014
11/17/2022, 9:38 AMfresh-doctor-14925
11/17/2022, 9:39 AMthen()
after the each()
and put your length statement and for loop in theremysterious-belgium-25713
11/17/2022, 9:39 AMbrash-scientist-28014
11/17/2022, 9:41 AMlate-quill-17187
11/17/2022, 10:04 AMfresh-doctor-14925
11/17/2022, 10:29 AMhref
instead?
Otherwise, Gleb wrote about solving element detachment problems a while back: https://glebbahmutov.com/blog/detached/fresh-doctor-14925
11/17/2022, 1:11 PMgray-kilobyte-89541
11/17/2022, 1:28 PMcy.then
(any time you want to use something you get from the page, its value is available in the cy.then
callback or via an alias)
Stay tuned, I will show a solution and post it on my blog / youtubethankful-lock-39376
11/17/2022, 2:47 PMthankful-lock-39376
11/17/2022, 2:49 PM