shy-journalist-38376
06/01/2022, 7:56 PMgray-easter-54566
06/01/2022, 8:10 PMgray-easter-54566
06/01/2022, 8:17 PMcypress-ci.json
to use the new cypress.config.(ts|js) nomenclature https://docs.cypress.io/guides/guides/command-line#cypress-run-config-file-lt-configuration-file-gt.colossal-car-14055
06/01/2022, 9:09 PMconst injectNextDevServer = require('@cypress/react/plugins/next');
if (config.testingType === 'component') {
injectNextDevServer(on, config);
}
gray-easter-54566
06/01/2022, 9:17 PMcypress.config.ts
currently look like? you should be able to configure the dev server like this https://docs.cypress.io/guides/component-testing/component-framework-configuration#Next-jsswift-angle-95455
06/01/2022, 10:09 PMnpm install --save-dev cypress@10.0.0
. All went good. The wizard changed my files and whatnot. Everything worked as intended and suddenly the test runner crashed on every time I opened it (via cypress open
).
(The terminal output is bad formatted, it always happens)
My machine: Windows 10 21H2 19044.1706
NodeJS v. 16.15.0
NextJS 12.1.6full-ram-6858
06/02/2022, 12:16 AMfull-ram-6858
06/02/2022, 12:24 AMearly-ocean-91379
06/02/2022, 12:34 AMmodern-fish-67741
06/02/2022, 2:47 AMrapid-monitor-17268
06/02/2022, 3:58 AMrapid-monitor-17268
06/02/2022, 3:59 AMmodern-fish-67741
06/02/2022, 5:08 AMuser
06/02/2022, 6:09 AMmodern-fish-67741
06/02/2022, 6:10 AMuser
06/02/2022, 6:11 AMbumpy-television-39266
06/02/2022, 6:44 AMrapid-monitor-17268
06/02/2022, 7:05 AMrapid-monitor-17268
06/02/2022, 7:05 AMrapid-monitor-17268
06/02/2022, 7:07 AMrapid-monitor-17268
06/02/2022, 7:10 AMpowerful-orange-86819
06/02/2022, 7:14 AMwonderful-wire-43244
06/02/2022, 8:50 AMmodern-fish-67741
06/02/2022, 8:56 AMwonderful-wire-43244
06/02/2022, 9:03 AMwonderful-wire-43244
06/02/2022, 9:06 AMearly-autumn-39689
06/02/2022, 9:45 AMcypress open
. In a few teams they missed a lot that feature, and I see there's already a discussion about this here -> https://github.com/cypress-io/cypress/discussions/21628
What do you think about this? Is is something that will comeback to cypress? 🤔bumpy-television-39266
06/02/2022, 11:32 AM