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:
parent
da3fd1672d
commit
a35bfbf96e
|
@ -285,16 +285,17 @@ describe('Edit addresses path', () => {
|
|||
.catch(catchErrors(done));
|
||||
});
|
||||
|
||||
// it(`should click on the active checkbox and receive an error to save it becouse it is the default address`, done => {
|
||||
// nightmare
|
||||
// .waitToClick(selectors.addresses.activeCheckboxLabel)
|
||||
// .waitToClick(selectors.addresses.saveButton) // is it saving over the default?
|
||||
// .wait(selectors.globalItems.snackbarIsActive)
|
||||
// .getInnerText(selectors.globalItems.snackbarIsActive)
|
||||
// .then(result => {
|
||||
// expect(result).toContain(`Error: La instancia`);
|
||||
// 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 => {
|
||||
nightmare
|
||||
.waitForSnackbarReset()
|
||||
.waitToClick(selectors.addresses.activeCheckboxLabel)
|
||||
.waitToClick(selectors.addresses.saveButton)
|
||||
.wait(selectors.globalItems.snackbarIsActive)
|
||||
.getInnerText(selectors.globalItems.snackbarIsActive)
|
||||
.then(result => {
|
||||
expect(result).toContain(`Error: La instancia`);
|
||||
done();
|
||||
})
|
||||
.catch(catchErrors(done));
|
||||
});
|
||||
});
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"validator": "^6.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"angular-mocks": "^1.6.6",
|
||||
"angular-mocks": "1.6.6",
|
||||
"babel": "^6.5.2",
|
||||
"babel-core": "^6.22.1",
|
||||
"babel-loader": "^6.4.1",
|
||||
|
|
Loading…
Reference in New Issue