Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running All.features fails to run all features #11

Open
AdamOakman opened this issue Nov 29, 2019 · 2 comments
Open

Running All.features fails to run all features #11

AdamOakman opened this issue Nov 29, 2019 · 2 comments

Comments

@AdamOakman
Copy link

AdamOakman commented Nov 29, 2019

I tried to run All.features right after npm install from this example repository and it looks like no tests are getting executed. Is there anything I am doing wrong?

~/D/c/cypress-cucumber-example> npm run test:all                                                                                                    master!

> [email protected] test:all /Users/<***>/Desktop/cypress/cypress-cucumber-example
> cypress run --spec "**/*.features"


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    3.7.0                                                                              │
  │ Browser:    Electron 73 (headless)                                                             │
  │ Specs:      1 found (All.features)                                                             │
  │ Searched:   **/*.features                                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  All.features                                                                    (1 of 1)
Browserslist: caniuse-lite is outdated. Please run next command `npm update`


  0 passing (1ms)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        0                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     0 seconds                                                                        │
  │ Spec Ran:     All.features                                                                     │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /Users/<***>/Desktop/cypress/cypress-cucumber-examp    (0 seconds)
                          le/cypress/videos/All.features.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  All.features                               2ms        -        -        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                          2ms        -        -        -        -        -

@id-dan
Copy link

id-dan commented Nov 30, 2019

@AdamOakman
You got text with tip:

  • Browserslist: caniuse-lite is outdated. Please run next command npm update

so pls run npm update command and then try to re-run your tests

@AdamOakman
Copy link
Author

@id-dan thanks, npm update unfortunately did not do the trick but I updated all the packages using:

npm i npm-update-all -g
npm-update-all

and it started to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants