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

Add e2e tests with testcafe #87

Open
Bogdan-Lyashenko opened this issue Aug 5, 2019 · 0 comments
Open

Add e2e tests with testcafe #87

Bogdan-Lyashenko opened this issue Aug 5, 2019 · 0 comments

Comments

@Bogdan-Lyashenko
Copy link
Owner

https://devexpress.github.io/testcafe/documentation/getting-started/

  1. add test:e2e script to package.json which runs testcafe for tests/e2e dir (create dir as well); tests should be run against codedrumbs running at PLAYGROUND_URL (set env var as localhost in webpack.dev config)
  2. add page-objects dir in tests/e2e/, put files with selectors there (ID-s for UI controls as well as for SVG tags for main elements should be added)
  3. cover basic user flows with tests - change UI configurations and verify if correct diagram is being rendered
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

1 participant