Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Click spy does not work when running all tests together #4

Closed
bahmutov opened this issue Jan 2, 2018 · 8 comments
Closed

Click spy does not work when running all tests together #4

bahmutov opened this issue Jan 2, 2018 · 8 comments
Labels

Comments

@bahmutov
Copy link
Contributor

bahmutov commented Jan 2, 2018

In project https://github.com/bahmutov/calculator/tree/cypress-test when running ALL tests together, the click spy on the Button does not work if executing after App spec tests.

button -- clicks

Works when running Button tests by itself.

@bahmutov bahmutov added the bug label Jan 2, 2018
@JimmyLv
Copy link

JimmyLv commented Sep 18, 2019

Any process?

@imam
Copy link

imam commented Nov 22, 2019

+1 No progress?

@imam
Copy link

imam commented Nov 22, 2019

Let me add to my current analysis:

"Click", can only worked once, if you put the "click" component in the first test. After that, it sort-of dissappear on every test

@imam
Copy link

imam commented Nov 22, 2019

Update:

Click worked once for the first mount, but would not worked if there is any second mount

@imam
Copy link

imam commented Nov 22, 2019

this is solved easily by reverting this 65b54ba#diff-6d186b954a58d5bb740f73d84fe39073

Is there any reason why it was removed?

@imam
Copy link

imam commented Nov 22, 2019

Nevermind it isn't solved

Current situation:

onClick event handler wouldn't worked after the first `.mount`

@plimeor
Copy link

plimeor commented Apr 20, 2020

onClick event handler wouldn't work after the first `.mount`

The same situation

@bahmutov
Copy link
Contributor Author

Running all specs together is not supported, but v4 should have fixed clicking issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants