Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into dev
This commit is contained in:
commit
0762b734fb
|
@ -1,7 +1,8 @@
|
||||||
import selectors from '../../helpers/selectors.js';
|
import selectors from '../../helpers/selectors.js';
|
||||||
import createNightmare from '../../helpers/nightmare';
|
import createNightmare from '../../helpers/nightmare';
|
||||||
|
|
||||||
describe('Item regularize path', () => {
|
// #1186 repearar e2e ticket.sale, item.regularize.
|
||||||
|
xdescribe('Item regularize path', () => {
|
||||||
const nightmare = createNightmare();
|
const nightmare = createNightmare();
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
nightmare
|
nightmare
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import selectors from '../../helpers/selectors.js';
|
import selectors from '../../helpers/selectors.js';
|
||||||
import createNightmare from '../../helpers/nightmare';
|
import createNightmare from '../../helpers/nightmare';
|
||||||
|
|
||||||
// #1152 refactor ticket.sale, update price no funciona correctamente.
|
// #1186 repearar e2e ticket.sale, item.regularize.
|
||||||
describe('Ticket Edit sale path', () => {
|
xdescribe('Ticket Edit sale path', () => {
|
||||||
const nightmare = createNightmare();
|
const nightmare = createNightmare();
|
||||||
|
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
|
@ -466,7 +466,7 @@ describe('Ticket Edit sale path', () => {
|
||||||
.waitToClick(selectors.ticketSales.moreMenuButton)
|
.waitToClick(selectors.ticketSales.moreMenuButton)
|
||||||
.waitToClick(selectors.ticketSales.moreMenuUpdateDiscount)
|
.waitToClick(selectors.ticketSales.moreMenuUpdateDiscount)
|
||||||
.write(selectors.ticketSales.moreMenuUpdateDiscountInput, 100)
|
.write(selectors.ticketSales.moreMenuUpdateDiscountInput, 100)
|
||||||
.write('body', '\u000d') // simulates enter
|
.write('body', '\u000d')
|
||||||
.waitForTextInElement(selectors.ticketSales.totalImport, '0.00')
|
.waitForTextInElement(selectors.ticketSales.totalImport, '0.00')
|
||||||
.waitToGetProperty(selectors.ticketSales.totalImport, 'innerText');
|
.waitToGetProperty(selectors.ticketSales.totalImport, 'innerText');
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
"password": "root",
|
"password": "root",
|
||||||
"multipleStatements": true,
|
"multipleStatements": true,
|
||||||
"connectTimeout": 20000,
|
"connectTimeout": 20000,
|
||||||
"acquireTimeout": 20000,
|
"acquireTimeout": 20000
|
||||||
"dateStrings": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,14 +19,16 @@
|
||||||
"type": "String"
|
"type": "String"
|
||||||
},
|
},
|
||||||
"isVisible": {
|
"isVisible": {
|
||||||
"type": "Number"
|
"type": "Boolean"
|
||||||
},
|
},
|
||||||
"hasCompany": {
|
"hasCompany": {
|
||||||
"type": "Number"
|
"type": "Number"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scope": {
|
"scopes": {
|
||||||
"where": {"isVisible": 1}
|
"visible": {
|
||||||
|
"where": {"isVisible": true}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"acls": [
|
"acls": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
</vn-one>
|
</vn-one>
|
||||||
<vn-horizontal class="buttons">
|
<vn-horizontal class="buttons">
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
ng-click="$ctrl.preview($event)"
|
ng-click="$ctrl.openSummary(client, $event)"
|
||||||
vn-tooltip="Preview"
|
vn-tooltip="Preview"
|
||||||
icon="desktop_windows">
|
icon="desktop_windows">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
field="$ctrl.clientSample.typeFk"
|
field="$ctrl.clientSample.typeFk"
|
||||||
model="ClientSample.typeFk"
|
model="ClientSample.typeFk"
|
||||||
fields="['code','hasCompany']"
|
fields="['code','hasCompany']"
|
||||||
url="/client/api/Samples"
|
url="/client/api/Samples/visible"
|
||||||
show-field="description"
|
show-field="description"
|
||||||
value-field="id"
|
value-field="id"
|
||||||
label="Sample">
|
label="Sample">
|
||||||
|
|
Loading…
Reference in New Issue