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

find has some unexpected behavior #13

Open
blakewest opened this issue Nov 4, 2014 · 1 comment
Open

find has some unexpected behavior #13

blakewest opened this issue Nov 4, 2014 · 1 comment
Labels

Comments

@blakewest
Copy link
Contributor

Specifically,
Looking in the "hipaa_accept" view and the hipaaAcceptModal view on provider portal, doing a find on "~Yes, Accept for ' + patients[0].name" was returning the whole modal. I had to pass in "clickable" to the find function in order to return the button itself. This was causing the test to unexpectedly fail. Not sure why it took "clickable" to return only the button. But that's a problem.

@blakewest blakewest added the bug label Nov 4, 2014
@blakewest
Copy link
Contributor Author

To add to this... when on the "patientDeatilsSpec.js" page, I did find("~No Current Card") and it returned the whole page. I then did find("No Current Card") and it correctly returned only button. Looks like there might be a problem with the rough match thing. Kinda like it's returning the parent, rather than the element itself.

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

No branches or pull requests

1 participant