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

e2e testing with protractor #1523

Closed
Imkeshav opened this issue Jun 15, 2021 · 2 comments
Closed

e2e testing with protractor #1523

Imkeshav opened this issue Jun 15, 2021 · 2 comments
Labels
question Further information is requested

Comments

@Imkeshav
Copy link

Hi team,
I am using vis-network library in one of my angular project.

I need to write e2e testcases for testing the node selection, double click, right click, node properties, etc.

As I have only one element 'canvas' which deal with everything,
How can I write automated testcases for these function in protractor.

or, should I use any other tool to test it.

@mojoaxel
Copy link
Member

mojoaxel commented Jul 7, 2021

You could try using something that compares screenshots. Have a look here:
https://github.com/mojoaxel/awesome-regression-testing

@mojoaxel mojoaxel closed this as completed Jul 7, 2021
@mojoaxel mojoaxel added the question Further information is requested label Jul 7, 2021
@JoyChopra1298
Copy link

How does comparing screenshot help in selecting and clicking on a particular node of the graph. Can you provide some example?

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

No branches or pull requests

3 participants