question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for cypress 10.x

See original GitHub issue

Current Behavior

  • cypress tests do not find cypress.json file with breaking change version

Expected Behavior

  • Expect the e2e test to work and find the cypress.json file
  • This is not a regression but an impending bug for upgrading

Steps to Reproduce

  • update cypress to v10.0.2
  • run any e2e test

the failure log below will be visible, where it cannot find the cypress.json even though it is in the specified directory

Failure Logs

 wait  - compiling...
       event - compiled client and server successfully in 5.8s (230 modules)
       [ ready ] on http://localhost:9002
       Could not find a Cypress configuration file.
       
       We looked but did not find a cypress.json file in this folder: /home/layton/dev/nx-workspace/apps/static-web-e2e

Environment

> nx "report"


 >  NX   Report complete - copy this into the issue template

   Node : 14.19.1
   OS   : linux x64
   pnpm : 7.1.9
   
   nx : 14.1.9
   @nrwl/angular : Not Found
   @nrwl/cypress : 14.1.9
   @nrwl/detox : Not Found
   @nrwl/devkit : 14.1.9
   @nrwl/eslint-plugin-nx : 14.1.9
   @nrwl/express : 14.1.9
   @nrwl/jest : 14.1.9
   @nrwl/js : 14.1.9
   @nrwl/linter : 14.1.9
   @nrwl/nest : 14.1.9
   @nrwl/next : 14.1.9
   @nrwl/node : 14.1.9
   @nrwl/nx-cloud : Not Found
   @nrwl/nx-plugin : Not Found
   @nrwl/react : 14.1.9
   @nrwl/react-native : Not Found
   @nrwl/schematics : Not Found
   @nrwl/storybook : 14.1.9
   @nrwl/web : 14.1.9
   @nrwl/workspace : 14.1.9
   typescript : 4.7.3
   ---------------------------------------
   Community plugins:
         @compodoc/compodoc: 1.1.19
         @nx-tools/nx-docker: 2.3.0
         @twittwer/compodoc: 1.8.0

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:10
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

13reactions
lmiller1990commented, Jun 9, 2022

Hello, I worked on Cypress 10 (and migration tool). I don’t know much about nx internals, but happy to answer any questions around the differences between Cypress 9 and 10.

5reactions
AgentEndercommented, Jun 6, 2022

We are working on it, the PR linked above should be tracked for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for Cypress 10 - YouTube
Nx 14.5 includes some new generators for migrating to Cypress version 10, plus generators for adding Cypress component tests to your project ...
Read more >
Announcing Cypress 10 with Component Testing Beta!
Cypress 10 now includes first-class support for component testing! ... In Cypress, you do end-to-end testing by calling cy.visit() to a URL, ...
Read more >
Migration Guide | Cypress Documentation
Migrating to Cypress 12.0 This guide details the changes and how to change your code to migrate to Cypress version 12.0.
Read more >
What's new for Cypress 10.7
Today, we released 10.7. Read on to learn more about: The return of Cypress Studio for Cypress 10; Svelte Support for Component Testing ......
Read more >
Configuration - Cypress Documentation
This guide is for Cypress 10 and the new JavaScript configuration file format. ... User agent values are typically used by servers to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found