mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-04 19:21:07 +01:00
Resolved 0.4.0 related conflicts: modules/users/server/controllers/users/users.authentication.server.controller.js
14 lines
412 B
JavaScript
14 lines
412 B
JavaScript
'use strict';
|
|
|
|
describe('Users E2E Tests:', function() {
|
|
describe('Signin Validation', function() {
|
|
it('Should report missing credentials', function() {
|
|
browser.get('http://localhost:3000/authentication/signin');
|
|
element(by.css('button[type=submit]')).click();
|
|
element(by.binding('error')).getText().then(function(errorText) {
|
|
expect(errorText).toBe('Missing credentials');
|
|
});
|
|
});
|
|
});
|
|
});
|