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

Test RegistrationView component behavior #531

Open
tdowds opened this issue Oct 21, 2016 · 0 comments
Open

Test RegistrationView component behavior #531

tdowds opened this issue Oct 21, 2016 · 0 comments

Comments

@tdowds
Copy link
Contributor

tdowds commented Oct 21, 2016

It gets pretty boring pretty fast when for every change we make to our application we run through a mock registration to make sure our application still works. Instead what we should do is test the behavior of our UI components.

Ideally what this would look like is I can run a test that will go through the registration process for me and make sure that whatever behavior we expect to see in RegistrationView occurs when we specify an interaction with it.

Things we should test for are:

  1. Display of front end validation
  2. UI changes due to back end validation
  3. UI changes due to successful registration

and probably many, many more.

For this particular task we should limit our scope to just the RegistrationView, but ideally we would do this for each of our front end views.

Some resources that might help with this include:

  1. Googling "headless browser testing"
  2. Which will probably lead you to PhantomJS
  3. And some other services, but I've used PhantomJS before and it seems pretty common

If anyone else has recommendations on what we should use feel free to edit this issue description :)

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

No branches or pull requests

1 participant