Closed vzickner closed 8 years ago
Mocha tests have a fluent API. If you’d change the test descriptions, e.g. to
describe('Register Page', function() {
it('has two entries: "Mocked Ability 1" and "Mocked Ability 2"', function() {
});
it('allows to register with correct data', function() {
});
it('shows an error for adult=false', function() {
});
});
It’s very easy to read and we get a nice log, like:
Register Page
✓ has two entries: "Mocked Ability 1" and "Mocked Ability 2"
✓ allows to register with correct data
✓ shows an error for adult=false
Any further comments on this pull request?
This is a partial implementation of #20: After the OAuth 2.0 registration, it is necessary to save some user data. This pull request includes a form for user data and save them to the REST API. It is tested with the new protractor test behavior (see pull request #39 ).
Currently it is still work in progress: