#1052 e2e extension para refrescar formularios/vistas
This commit is contained in:
parent
84c680d8ed
commit
b144f24f24
|
@ -376,6 +376,14 @@ let actions = {
|
|||
.catch(() => {
|
||||
done(new Error(`.datePicker(), for ${daySelector} timed out`));
|
||||
});
|
||||
},
|
||||
|
||||
reloadSection: function(sectionRoute, done) {
|
||||
this.waitToClick('vn-icon[icon="desktop_windows"]')
|
||||
.wait('vn-card.summary')
|
||||
.waitToClick(`vn-left-menu li > a[ui-sref="${sectionRoute}"]`)
|
||||
.then(done)
|
||||
.catch(done);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue