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

In Angular, it's very easy for dom elements to get de-attached #17471

Closed
SDAdham opened this issue Jul 24, 2021 · 2 comments
Closed

In Angular, it's very easy for dom elements to get de-attached #17471

SDAdham opened this issue Jul 24, 2021 · 2 comments
Labels
type: duplicate This issue or pull request already exists

Comments

@SDAdham
Copy link

SDAdham commented Jul 24, 2021

What would you like?

Hi team

Is there configuration variable that I can set to slow actions in cypress? Or at least the interval between:

cy.contains('hello').click();
// here it would auto-wait 1 second or something
cy.contains('Name').next().type('hello');

Why is this needed?

In Angular, it's very easy for DOM elements to get de-attached, and that makes tests inconsistent and subject to fail
I'd have to set force: true to fix tests every once in a while and randomly, almost feels like I should just make everything forceable by default

Other

No response

@jennifer-shehane
Copy link
Member

You can add cy.wait(60000). There's an issue for adding a pause between all commands: #249

Closing as duplicate of #7306

@jennifer-shehane jennifer-shehane added the type: duplicate This issue or pull request already exists label Jul 26, 2021
@nxpatterns
Copy link

#7306 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants