Skip to content

Stop button in Cypress App doesn't immediately stop the test in 14.5.0 #31920

Open
@eswanny22

Description

@eswanny22

Current behavior

The stop button in the Cypress App UI is not functioning correctly after upgrading to version 14.5.0. Previously, the test and runtime would immediately stop upon clicking the button. Now it continues counting up until it eventually says that the run was stopped during a command.

It's related to this change: #31830

Desired behavior

When clicking the stop button, the timer should stop immediately and the stop button should change to a re-run button.

Test code to reproduce

  1. Open Cypress App UI v14.5.0
  2. Start a test run
  3. Click the stop button while test is running
  4. Observe that timer continues counting and button state doesn't change

Cypress Version

14.5.0

Node version

20.4.0

Operating System

macOS

Debug Logs

Other

No response

Metadata

Metadata

Assignees

Labels

type: regressionA bug that didn't appear until a specific Cy version release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions