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 tests in conjunction with fix for issue #1045 in cadasta-platform #18

Merged
merged 2 commits into from
Feb 28, 2017
Merged

Add tests in conjunction with fix for issue #1045 in cadasta-platform #18

merged 2 commits into from
Feb 28, 2017

Conversation

shailysangwan
Copy link
Contributor

As suggested in https://github.com/Cadasta/cadasta-project-ideas/issues/17, I have added the tests as part of the fix for Cadasta/cadasta-platform#1045, to go along with PR Cadasta/cadasta-platform#1134.

action.send_keys(Keys.TAB).send_keys(Keys.RETURN).perform()

text = self.wd.find_elements_by_xpath("//ul[contains(@class, 'parsley-errors-list')]")
assert len(text) == 1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expecting only one error after the fix

@oliverroick
Copy link
Member

@manoramahp Would you be able to review this PR and merge it in if you think it's good to go? You're closest to the code base at the moment so I think you the best person for this.

@manoramahp manoramahp merged commit 12edb20 into Cadasta:master Feb 28, 2017
@manoramahp
Copy link
Contributor

@shailysangwan, @oliverroick This PR looks good. Hence merged.

@manoramahp
Copy link
Contributor

@shailysangwan Thank you for this PR. You can add these two test cases here in the cadasta-test wiki, so that any contributor get to know what are the already implemented test cases.
https://github.com/Cadasta/cadasta-test/wiki/User-Accounts-Test-Cases

@shailysangwan
Copy link
Contributor Author

@manoramahp I had tried doing that, but I guess I don't have the permissions.

@shailysangwan shailysangwan deleted the validation branch March 1, 2017 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants