cytoscape / cytoscape.js-compound-drag-and-drop

Compound node drag-and-drop UI for adding and removing children
MIT License
33 stars 16 forks source link

Add cucumber e2e tests #21

Closed sashokbg closed 2 years ago

sashokbg commented 2 years ago

Hello,

I am proposing a draft PR to demonstrate how cucumber / gherkin / puppeteer style tests can be implemented for the project.

The tests can be later used to generate a detailed HTML report of what features are in the project and what is their current working state - also known as living documentation

https://github.com/sashokbg/cytoscape.js-compound-drag-and-drop/pull/1

PS. The pull request is currently a draft and is pointing towards my fork of the repository.

maxkfranz commented 2 years ago

Sounds interesting. Could you link to an example output page?

sashokbg commented 2 years ago

@maxkfranz

Some screenshots:

image

With attached image, taken by puppeteer during test execution:

image

stale[bot] commented 2 years ago

This issue has been automatically marked as stale, because it has not had activity within the past 30 days. It will be closed if no further activity occurs within the next 30 days. If a feature request is important to you, please consider making a pull request. Thank you for your contributions.

sashokbg commented 2 years ago

Closing this suggestion since E2E tests are present in #22