Dashboard: tests passing in seconds, but keeps running for +1 hour.
See original GitHub issueCurrent behavior
Whenever a run is started on the cypress dashboard, the tests pass quickly. But it keeps being stuck in “Running” for multiple hours.
This seems to have started happening today.
The exact same tests that is now taking 2 hours & counting. Were passing in 10 seconds this morning.
It seems to have gradually gotten worse (even though I have made no changes to the tests, or the pages related to the tests).
Tests running this morning:
The same tests running now:
The output of the tests showing it’s passing in 1 second
When running cypress locally in open mode, it finishes in 5 seconds. When running cypress in CI mode with record key. It finishes in ~4 seconds (and exits out correctly).
When running it in GitHub, it finishes in ~4 minutes (mostly installing node_modules & building), but the run in the dashboard never ends…
in console:
The status looks like this for about an hour or so.
Then it does change to reflect saying my 2 tests have passed. but it’s STILL running… 😦

This is blocking our CI/CD pipeline as the Cypress status takes hours to pass.
Desired behavior
The tests should be marked as passed after all assertions have passed & cypress should stop running. Status checks should pass if tests all tests have passed.
Test code to reproduce
integration test:
import {
SPEC_MOCK
} from '../../src/test/mocks'
declare var cy: any
describe('Page load', () => {
it('Should visit the page', () => {
cy.intercept(
{ method: 'GET', url: 'https://api.colonynetworks.com/v3/timescale' },
SPEC_MOCK
)
cy.visit('localhost:5000')
cy.contains('Dashboard')
})
})
Github workflow:
name: Integration tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cypress run
uses: cypress-io/github-action@v2
with:
build: yarn build
start: yarn serve
wait-on: http://localhost:5000
record: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Versions:
“cypress”: “6.4.0”, (latest as of today)
Any idea why this is happening O.o?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:12 (4 by maintainers)
We are investigating a possible incident during the time this was reported. I’ll update the issue when I have more detail.
Unfortunately, if you have github integration turned on with status checks, this will block your build pipeline.