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

Writing acceptance and integration tests #91

Closed
Azdaroth opened this issue Mar 27, 2017 · 5 comments
Closed

Writing acceptance and integration tests #91

Azdaroth opened this issue Mar 27, 2017 · 5 comments

Comments

@Azdaroth
Copy link
Contributor

Hi! Thanks for this awesome addon.

I was wondering how would you suggest writing integration and acceptance tests for the features where dragging & dropping is involved? I guess it would be doable by breaking the interaction into triggering single events at the proper moment, but this is not that simple. Do you have any recommendations how to do it efficiently?

@dgavey
Copy link
Collaborator

dgavey commented Mar 28, 2017

Triggering events is the only way right now, I do have a PR I need to merge that brings in a helper for that, but it's not quite ready yet.

@robustdj
Copy link
Contributor

robustdj commented Mar 28, 2017

This is the PR. @dgavey let me know what it needs in order for it to be ready. Thanks!

@dgavey
Copy link
Collaborator

dgavey commented Mar 29, 2017

I plan on bringing them in soon, expect a release in the next week, sorry for the delay.

@dgavey dgavey closed this as completed Mar 29, 2017
@quantuminformation
Copy link

I'm about to support drag and drop in my test recorder. Not sure whether to use your helpers or just generate the code to trigger events (which might bloat too much).

@dgavey
Copy link
Collaborator

dgavey commented Jul 4, 2017

The helpers were released you should be able to use them, instructions are in the readme

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

4 participants