End to end primary flow on the signup page.
* Adding unit tests for network.addressInfo * to the XHR mock, adding info needed to test primary/secondary flow. * Adding a BrowserID.Mock.Provisioning to handle mocking out provisioning capabilities. * Creating a new User.createUser that handles creating users on either primaryies or secondaries. * Adding unit tests for the signup page for primary, updating old tests for secondary. * Starting a shell of error messages and success markup on signup page. * Starting to hook up the dialog, adding loads of tests. Secondary based user creation good again.
Showing
- resources/static/dialog/controllers/authenticate.js 0 additions, 1 deletionresources/static/dialog/controllers/authenticate.js
- resources/static/dialog/resources/helpers.js 42 additions, 9 deletionsresources/static/dialog/resources/helpers.js
- resources/static/dialog/resources/state_machine.js 0 additions, 1 deletionresources/static/dialog/resources/state_machine.js
- resources/static/dialog/views/authenticate.ejs 4 additions, 0 deletionsresources/static/dialog/views/authenticate.ejs
- resources/static/pages/signup.js 34 additions, 32 deletionsresources/static/pages/signup.js
- resources/static/shared/error-messages.js 5 additions, 0 deletionsresources/static/shared/error-messages.js
- resources/static/shared/network.js 3 additions, 3 deletionsresources/static/shared/network.js
- resources/static/shared/user.js 71 additions, 8 deletionsresources/static/shared/user.js
- resources/static/test/index.html 6 additions, 5 deletionsresources/static/test/index.html
- resources/static/test/qunit/controllers/authenticate_unit_test.js 8 additions, 5 deletions...s/static/test/qunit/controllers/authenticate_unit_test.js
- resources/static/test/qunit/mocks/mocks.js 0 additions, 1 deletionresources/static/test/qunit/mocks/mocks.js
- resources/static/test/qunit/mocks/provisioning.js 54 additions, 0 deletionsresources/static/test/qunit/mocks/provisioning.js
- resources/static/test/qunit/mocks/xhr.js 11 additions, 1 deletionresources/static/test/qunit/mocks/xhr.js
- resources/static/test/qunit/pages/signup_unit_test.js 71 additions, 24 deletionsresources/static/test/qunit/pages/signup_unit_test.js
- resources/static/test/qunit/resources/helpers_unit_test.js 50 additions, 20 deletionsresources/static/test/qunit/resources/helpers_unit_test.js
- resources/static/test/qunit/shared/network_unit_test.js 199 additions, 142 deletionsresources/static/test/qunit/shared/network_unit_test.js
- resources/static/test/qunit/shared/user_unit_test.js 72 additions, 8 deletionsresources/static/test/qunit/shared/user_unit_test.js
- resources/static/test/qunit/testHelpers/helpers.js 37 additions, 5 deletionsresources/static/test/qunit/testHelpers/helpers.js
- resources/views/signup.ejs 9 additions, 0 deletionsresources/views/signup.ejs
Loading
Please register or sign in to comment