fixed client side issue as angular mocks version needed to be locked at 1.6.6, fixed e2e addresses path snackbar reset problem

This commit is contained in:
Carlos Jimenez 2017-12-13 17:25:07 +01:00
parent da3fd1672d
commit a35bfbf96e
2 changed files with 14 additions and 13 deletions

View File

@ -285,16 +285,17 @@ describe('Edit addresses path', () => {
.catch(catchErrors(done)); .catch(catchErrors(done));
}); });
// it(`should click on the active checkbox and receive an error to save it becouse it is the default address`, done => { it(`should click on the active checkbox and receive an error to save it becouse it is the default address`, done => {
// nightmare nightmare
// .waitToClick(selectors.addresses.activeCheckboxLabel) .waitForSnackbarReset()
// .waitToClick(selectors.addresses.saveButton) // is it saving over the default? .waitToClick(selectors.addresses.activeCheckboxLabel)
// .wait(selectors.globalItems.snackbarIsActive) .waitToClick(selectors.addresses.saveButton)
// .getInnerText(selectors.globalItems.snackbarIsActive) .wait(selectors.globalItems.snackbarIsActive)
// .then(result => { .getInnerText(selectors.globalItems.snackbarIsActive)
// expect(result).toContain(`Error: La instancia`); .then(result => {
// done(); expect(result).toContain(`Error: La instancia`);
// }) done();
// .catch(catchErrors(done)); })
// }); .catch(catchErrors(done));
});
}); });

View File

@ -23,7 +23,7 @@
"validator": "^6.2.1" "validator": "^6.2.1"
}, },
"devDependencies": { "devDependencies": {
"angular-mocks": "^1.6.6", "angular-mocks": "1.6.6",
"babel": "^6.5.2", "babel": "^6.5.2",
"babel-core": "^6.22.1", "babel-core": "^6.22.1",
"babel-loader": "^6.4.1", "babel-loader": "^6.4.1",