rough-parrot-23069
07/11/2022, 7:10 PMrough-parrot-23069
07/11/2022, 7:11 PMalert-area-86576
07/11/2022, 7:20 PMbrief-candle-53311
07/11/2022, 7:22 PMmagnificent-finland-58048
07/11/2022, 8:25 PMjs
let ninjaVar, ninjaVar2, ninjavar3
before(() => cy.doStuff().then(({so, many, vars}) => {
ninjaVar = so
ninjaVar2 = many
ninjaVar3 = vars
})
it('...', () => {
cy.log(ninjaVar)
...
})
check out these
https://dev.to/muratkeremozcan/crud-api-testing-a-deployed-service-with-cypress-using-cy-api-spok-cypress-data-session-cypress-each-4mlg
https://dev.to/muratkeremozcan/api-testing-event-driven-systems-7febitter-match-90736
07/12/2022, 7:31 AMbored-angle-54834
07/12/2022, 8:01 AMcreamy-minister-50636
07/12/2022, 8:42 AMsome-park-44701
07/12/2022, 8:47 AMcreamy-minister-50636
07/12/2022, 8:50 AMelegant-river-87347
07/12/2022, 11:35 AMbreezy-airline-46546
07/12/2022, 3:03 PMbitter-fountain-36713
07/12/2022, 3:12 PMbreezy-airline-46546
07/12/2022, 3:21 PMfresh-nail-30646
07/12/2022, 3:28 PMcy.contains()
? I'm calling cy.contains($title.text() + " " + /\(Clone \d+\)/)
, but it looks like the regex is being interpreted literally, throwing the error Timed out retrying after 25000ms: Expected to find content: 'DCT - 2:15:58 PM API /(Clone \d+)/' but never did.
gray-kilobyte-89541
07/12/2022, 4:58 PM'foo' + /^bar$/
'foo/^bar$/'
gray-kilobyte-89541
07/12/2022, 5:00 PMbreezy-airline-46546
07/12/2022, 5:26 PMgray-kilobyte-89541
07/12/2022, 5:32 PMdazzling-garden-59866
07/13/2022, 3:30 AMnice-restaurant-99469
07/13/2022, 8:46 AMcareful-tent-30457
07/13/2022, 8:59 AMbrash-librarian-71449
07/13/2022, 9:26 AMagreeable-candle-29594
07/13/2022, 10:04 AMrhythmic-guitar-55789
07/13/2022, 10:40 AMcy.wrap(new rxStomp)
bright-motherboard-31539
07/13/2022, 10:46 AMERROR in ../../../../.cache/Cypress/10.3.0/Cypress/resources/app/node_modules/@packages/server/node_modules/@cypress/webpack-dev-server/dist/aut-runner.js 4:0-44
Module not found: Error: Can't resolve 'core-js/modules/es.error.cause.js'
bright-motherboard-31539
07/13/2022, 10:46 AMdazzling-garden-59866
07/13/2022, 11:01 AMrhythmic-guitar-55789
07/13/2022, 11:22 AMnice-manchester-42957
07/13/2022, 12:52 PMwait:for:xhr
)? https://github.com/cypress-io/cypress/blob/276f0f8b54c5577e309fc4da11ebf31c42e14bd4/packages/driver/src/cy/commands/waiting.ts#L285
Cypress.on('wait:for:xhr')
doesn't seem to pick it up.