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.

Tests not ran: Getting "Run finished" immediately when re-running tests

See original GitHub issue

Hi πŸ‘‹

I’m getting a weird behavior: when re-running the Github workflow including the cypress Github action, my tests are not being ran:

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

  (Run Starting)

  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚ Cypress:    4.0.1                                                                              β”‚
  β”‚ Browser:    Chrome 81 (headless)                                                               β”‚
  β”‚ Specs:      10 found (...)                                                                                  β”‚
  β”‚ Params:     Tag: false, Group: false, Parallel: true                                           β”‚
  β”‚ Run URL:    https://dashboard.cypress.io/projects/47f16h/runs/1333                             β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜


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

  (Run Finished)

β€œRun finished” appears immediately after the test run has started. The task is then marked as successful

I’m using Cypress 4.0.1 with the following workflow file:

name: Run E2E Tests without recording
        uses: cypress-io/github-action@v1
        with:
          working-directory: ./ui
          browser: chrome
          record: true
          headless: true
          parallel: true
          start: yarn serve-built-files
          wait-on: "http://localhost:8081"
          config: defaultCommandTimeout=100000,pageLoadTimeout=100000,watchForFileChanges=false,video=false
        env:
          NODE_ENV: "test"
          CI: true
          CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Any idea what could be happening here?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bahmutovcommented, Jul 7, 2020

super, thank you @MaximeHeckel

1reaction
bahmutovcommented, Jul 2, 2020

Yup, we will investigate this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tests not running in Test Explorer - visual studio
However, the tests are not running when using the Visual Studio test explorer. The Test Explorer is showing all unit tests, but once...
Read more >
All unit tests finished, but process still running
Hi,I'm having the following problem, I'm getting the above message and frequently it takes ReSharper over 10 seconds to unload after all...
Read more >
Unit tests running slow - does not seem to use all cores
Then I watch it drop ultimately to 1 before completing and it almost always drops to 2 before the test run is even...
Read more >
Controlling How Tests Are Run - The Rust Programming ...
When you run multiple tests, by default they run in parallel using threads, meaning they finish running faster and you get feedback quicker....
Read more >
Run automated tests from test plans - Azure ... - Microsoft Learn
Automate test cases in your test plans and run them directly from ... for testers who may not be well versed with running...
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