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

Assertion shows as spinning after passing in interactive mode #2380

Closed
bahmutov opened this issue Aug 22, 2018 · 4 comments
Closed

Assertion shows as spinning after passing in interactive mode #2380

bahmutov opened this issue Aug 22, 2018 · 4 comments
Labels
good first issue Good for newcomers pkg/reporter This is due to an issue in the packages/reporter directory stage: ready for work The issue is reproducible and in scope type: unexpected behavior User expected result, but got another

Comments

@bahmutov
Copy link
Contributor

bahmutov commented Aug 22, 2018

Cypress 3.1.0 on Mac

In one of the tests that uses a DOM alias, the assertion passes, but the command log keeps the spinner going

screen shot 2018-08-21 at 10 59 24 pm

Recreate

git clone git@github.com:cypress-io/testing-workshop-cph.git
cd testing-workshop-cph
git checkout mot-rio-demo
npm install
  • start local server npm start
  • open Cypress from another terminal npm run cy:open
  • select spec file 02-adding-items/spec.js

The problem is the test "can alias items"

second problem

When hovering or clicking over the alias, only the initial elements in the alias are highlighted, not the later ones, that are actually passing the assertion

screen shot 2018-08-21 at 11 05 05 pm

@jennifer-shehane jennifer-shehane added type: unexpected behavior User expected result, but got another pkg/reporter This is due to an issue in the packages/reporter directory good first issue Good for newcomers stage: ready for work The issue is reproducible and in scope labels Aug 22, 2018
@jennifer-shehane
Copy link
Member

This is still an issue in Cypress 3.4.0

@emilyrohrbough
Copy link
Member

This should have been fixed in #24511 when the assertion log handling was updated. This was released in 11.1.0. Please let us know if you are still seeing this issue.

@rodrigocnascimento
Copy link

rodrigocnascimento commented Mar 2, 2023

UPDATE: discovered my problem when trying to reproduce. As I'm using React, the useEffect, will render twice making the API call twice as well. Either way the second API call gets hanging beside the fact that the test is successful concluded. Don't know how much it could affect my tests, but seems to work pretty well.

~~
I'm facing the same problem, but on Linux.
Should I open another issue? I could maybe try to reproduce the issue on a repository.

Cypress version: cypress@12.7.0
----
Linux
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy

~~

@emilyrohrbough
Copy link
Member

@rodrigocnascimento Please open a new issue with details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers pkg/reporter This is due to an issue in the packages/reporter directory stage: ready for work The issue is reproducible and in scope type: unexpected behavior User expected result, but got another
Projects
None yet
Development

No branches or pull requests

4 participants