Missing client files, excluding node_modules
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
describe('admin edit user', function() {
|
||||
|
||||
beforeEach(function() {
|
||||
browser().navigateTo('/admin/users/new');
|
||||
input('user.email').enter('admin@abc.com');
|
||||
input('user.password').enter('changeme');
|
||||
element('button.login').click();
|
||||
});
|
||||
|
||||
it('enables the save button when the user info is filled in correctly', function() {
|
||||
expect(element('button.save:disabled').count()).toBe(1);
|
||||
input('user.email').enter('test@app.com');
|
||||
input('user.lastName').enter('Test');
|
||||
input('user.firstName').enter('App');
|
||||
input('user.password').enter('t');
|
||||
input('password').enter('t');
|
||||
element('#password').query(function(elements, done) {
|
||||
expect(element('#passwordRepeat').text()).toContain(elements.text());
|
||||
done();
|
||||
});
|
||||
expect(element('button.save:disabled').count()).toBe(0);
|
||||
});
|
||||
});
|
||||
10
src/Umbraco.Web.UI.Client/test/e2e/index.scenario.js
Normal file
10
src/Umbraco.Web.UI.Client/test/e2e/index.scenario.js
Normal file
@@ -0,0 +1,10 @@
|
||||
describe('my app', function() {
|
||||
|
||||
beforeEach(function() {
|
||||
browser().navigateTo('/');
|
||||
});
|
||||
|
||||
it('should be publicly accessible and default route to be /projectsinfo', function() {
|
||||
expect(browser().location().path()).toBe("/projectsinfo");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user