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

fix(test): fix failing e2e patient uploads #599

Merged
merged 1 commit into from
Jul 21, 2016

Conversation

jniles
Copy link
Contributor

@jniles jniles commented Jul 21, 2016

This commit fixes the failing patient upload tests by making sure path resolution works locally on Linux. It should work properly on windows systems as well.

It also implements FU.hasText() to check if an element contains given text. This helps clean up the tests nicely.

Finally, it catches some invalid assertions (element.isPresent() without the expect) and ensures they are valid and pass.


Thank you for contributing!

Before submitting this pull request, please verify that you have:

  • Run your code through JSHint. Check out our styleguide.
  • Run integration tests.
  • Run end-to-end tests.
  • Accurately described the changes your are making in this pull request.

For a more detailed checklist, see the official review checklist that this PR will be evaluated against.

This commit fixes the failing patient upload tests by making sure path
resolution works locally on Linux.  It should work properly on windows
systems as well.

It also implements FU.hasText() to check if an element contains given
text.  This helps clean up the tests nicely.

Finally, it catches some invalid assertions (`element.isPresent()`
without the expect) and ensures they are valid and pass.
@jniles jniles added the Bug Fix label Jul 21, 2016
@jniles
Copy link
Contributor Author

jniles commented Jul 21, 2016

@sfount, could this get a quick review?

@sfount
Copy link
Contributor

sfount commented Jul 21, 2016

LGTM. hasText reads much better and makes for a clearer test than the full protractor code 👍

@sfount sfount merged commit 06aa20d into IMA-WorldHealth:master Jul 21, 2016
@jniles jniles deleted the fix-failing-e2e-tests branch July 21, 2016 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants