cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.04k stars 3.18k forks source link

Feature Request: Ability to stop and/or restart paused runs via the GUI #8794

Open PodJumper opened 4 years ago

PodJumper commented 4 years ago

Current behavior

You can resume paused runs but you can't stop them or restart them from the GUI.

Desired behavior

Cypress.Commands.add('MyCommand', (myvar1= 'value1' ) => {
    cy.visit('/')
    cy.get('#myelem1').should('have.value', 'mydomain.com')
    cy.get('#myelem1').select(environment)
    cy.pause()
    cy.get('#myelem2').select('abv')

Mockup UI: image

Ideal Workflow:

  1. Have cypress GUI open and running normally.
  2. Add pause to code
  3. Wait for initial auto-execution to reach pause
  4. Click restart and repeat steps 1-3 as needed.

This feature request will be even more useful when we can restart individual tests.

Versions

Cypress package version: 5.3.0 Cypress binary version: 5.3.0

airtonix commented 1 year ago

would be great to even pause the run from the UI

rasis2 commented 1 year ago

I wish there's a chrome job to restart it, but maybe I'm asking too much or not aware of it.