From 97481b3e0b6ab7697f8841ec4b616e232b03bed5 Mon Sep 17 00:00:00 2001 From: Gerard Date: Thu, 5 Apr 2018 09:06:35 +0200 Subject: [PATCH] Restaurar refactor + - --- client/item/src/barcode/barcode.html | 26 +++++----- client/item/src/barcode/item-barcode.html | 36 -------------- client/item/src/niche/item-niche.html | 59 ----------------------- client/item/src/niche/niche.html | 38 +++++++-------- e2e/helpers/selectors.js | 4 +- 5 files changed, 34 insertions(+), 129 deletions(-) delete mode 100644 client/item/src/barcode/item-barcode.html delete mode 100644 client/item/src/niche/item-niche.html diff --git a/client/item/src/barcode/barcode.html b/client/item/src/barcode/barcode.html index 37c17298b..6a77eacd0 100644 --- a/client/item/src/barcode/barcode.html +++ b/client/item/src/barcode/barcode.html @@ -8,25 +8,25 @@ model="barcode.code" vn-acl="buyer, replenisher"> - - - + + + + diff --git a/client/item/src/barcode/item-barcode.html b/client/item/src/barcode/item-barcode.html deleted file mode 100644 index f95e4e28b..000000000 --- a/client/item/src/barcode/item-barcode.html +++ /dev/null @@ -1,36 +0,0 @@ -
- - Item barcode - - - - - - - - - - - - - - - - -
diff --git a/client/item/src/niche/item-niche.html b/client/item/src/niche/item-niche.html deleted file mode 100644 index 24b00d267..000000000 --- a/client/item/src/niche/item-niche.html +++ /dev/null @@ -1,59 +0,0 @@ - - -
- - Item niches - - - - - - - - - - - - - - - - - - - - -
\ No newline at end of file diff --git a/client/item/src/niche/niche.html b/client/item/src/niche/niche.html index f8948e128..0d296a30f 100644 --- a/client/item/src/niche/niche.html +++ b/client/item/src/niche/niche.html @@ -26,31 +26,31 @@ disabled="true"> - - - - - - + + + + + + diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index f5dd5e6e0..3356faf67 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -233,7 +233,7 @@ export default { addBarcodeButton: `${components.vnIcon}[icon="add_circle"]`, thirdCodeInput: `vn-horizontal:nth-child(4) > ${components.vnTextfield}`, submitBarcodesButton: `${components.vnSubmit}`, - firstCodeRemoveButton: `vn-horizontal:nth-child(2) > vn-one > ${components.vnIcon}[icon="remove_circle_outline"]` + firstCodeRemoveButton: `vn-horizontal:nth-child(2) > ${components.vnIcon}[icon="remove_circle_outline"]` }, itemNiches: { nicheButton: `${components.vnMenuItem}[ui-sref="item.card.niche"]`, @@ -245,7 +245,7 @@ export default { secondWarehouseSelect: `vn-horizontal:nth-child(3) > ${components.vnAutocomplete}[field="itemNiche.warehouseFk"] input`, secondWarehouseDisabled: `vn-horizontal:nth-child(3) > vn-textfield[label="Warehouse"] > div > input`, secondCodeInput: `vn-horizontal:nth-child(3) > vn-textfield[label="Code"] > div > input`, - secondNicheRemoveButton: `vn-horizontal:nth-child(3) > vn-one > ${components.vnIcon}[icon="remove_circle_outline"]`, + secondNicheRemoveButton: `vn-horizontal:nth-child(3) > ${components.vnIcon}[icon="remove_circle_outline"]`, thirdWarehouseSelect: `vn-horizontal:nth-child(4) > ${components.vnAutocomplete}[field="itemNiche.warehouseFk"] input`, thirdWarehouseDisabled: `vn-horizontal:nth-child(4) > vn-textfield[label="Warehouse"] > div > input`, thirdWarehouseSelectFourthOption: `vn-horizontal:nth-child(4) > ${components.vnAutocomplete}[field="itemNiche.warehouseFk"] vn-drop-down ul > li:nth-child(4)`,