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

Record with timestamp #19

Open
mizchi opened this issue May 8, 2014 · 2 comments
Open

Record with timestamp #19

mizchi opened this issue May 8, 2014 · 2 comments

Comments

@mizchi
Copy link

mizchi commented May 8, 2014

I tried resurrectio to my app but it doesn't works because my app has many async and time baesd event like animation.

I feel resurrectio has great possibility for testing. If I had enough time, I will implement it for us.

@timelf123
Copy link

you can add waitForSelector or other CasperJS wait methods manually

Edit: see below

@ebrehault
Copy link
Owner

All the recorded actions are wrapped in waitForSelector calls, so it should handle async behaviours properly For instance if you click on a link that was not immediately visible because it is revealed after an animation, the corresponding .click will be enclosed in a waitForSelector(".your-link-selector") so Casper will gently wait for the link to be available, and then produces the click.

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

No branches or pull requests

3 participants