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

Setup initial e2e tests with Spectron. #1696

Merged
merged 2 commits into from
Jul 24, 2019
Merged

Conversation

tonyanziano
Copy link
Contributor

@tonyanziano tonyanziano commented Jul 23, 2019

Addresses #1621

===

Added End to End (e2e) Tests using Spectron

  • Added two e2e tests and setup infrastructure
    • one test verifies that the app starts up with the correct title
    • the other test creates a bot via the create bot modal, and then verifies that the bot was written to disk
  • e2e tests can be ran from the root of the project using npm run test:e2e
  • added some id properties to HTML for easier WebDriver DOM traversing

e2e-test

@tonyanziano tonyanziano force-pushed the toanzian/e2e-spectron branch from 76f5b53 to a8ef2ec Compare July 24, 2019 20:36
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 62.932% when pulling a8ef2ec on toanzian/e2e-spectron into b345a01 on master.

@tonyanziano tonyanziano merged commit 35635ea into master Jul 24, 2019
@tonyanziano tonyanziano deleted the toanzian/e2e-spectron branch July 24, 2019 22:32
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

Successfully merging this pull request may close these issues.

3 participants