@globisnv/cypress-core 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -7
  3. package/dist/apiMethods/IGS_request.d.ts +0 -98
  4. package/dist/apiMethods/IGS_request.js +0 -161
  5. package/dist/apiMethods/IGS_response.d.ts +0 -47
  6. package/dist/apiMethods/IGS_response.js +0 -1
  7. package/dist/blueprints/GLO_addressPopup.d.ts +0 -45
  8. package/dist/blueprints/GLO_addressPopup.js +0 -96
  9. package/dist/blueprints/GLO_article.d.ts +0 -45
  10. package/dist/blueprints/GLO_article.js +0 -110
  11. package/dist/blueprints/GLO_articleLot.d.ts +0 -12
  12. package/dist/blueprints/GLO_articleLot.js +0 -23
  13. package/dist/blueprints/GLO_articleVersion.d.ts +0 -4
  14. package/dist/blueprints/GLO_articleVersion.js +0 -4
  15. package/dist/blueprints/GLO_attachmentPopup.d.ts +0 -9
  16. package/dist/blueprints/GLO_attachmentPopup.js +0 -10
  17. package/dist/blueprints/GLO_bankAccount.d.ts +0 -7
  18. package/dist/blueprints/GLO_bankAccount.js +0 -7
  19. package/dist/blueprints/GLO_billingProcess.d.ts +0 -4
  20. package/dist/blueprints/GLO_billingProcess.js +0 -4
  21. package/dist/blueprints/GLO_billingProposal.d.ts +0 -9
  22. package/dist/blueprints/GLO_billingProposal.js +0 -9
  23. package/dist/blueprints/GLO_cancel.d.ts +0 -7
  24. package/dist/blueprints/GLO_cancel.js +0 -7
  25. package/dist/blueprints/GLO_commandlist.d.ts +0 -10
  26. package/dist/blueprints/GLO_commandlist.js +0 -10
  27. package/dist/blueprints/GLO_complaint.d.ts +0 -27
  28. package/dist/blueprints/GLO_complaint.js +0 -51
  29. package/dist/blueprints/GLO_composition.d.ts +0 -14
  30. package/dist/blueprints/GLO_composition.js +0 -20
  31. package/dist/blueprints/GLO_consignment.d.ts +0 -61
  32. package/dist/blueprints/GLO_consignment.js +0 -104
  33. package/dist/blueprints/GLO_consignmentContainerGroup.d.ts +0 -6
  34. package/dist/blueprints/GLO_consignmentContainerGroup.js +0 -6
  35. package/dist/blueprints/GLO_consignmentGoods.d.ts +0 -40
  36. package/dist/blueprints/GLO_consignmentGoods.js +0 -62
  37. package/dist/blueprints/GLO_consignmentHandling.d.ts +0 -4
  38. package/dist/blueprints/GLO_consignmentHandling.js +0 -4
  39. package/dist/blueprints/GLO_consignmentOrder.d.ts +0 -31
  40. package/dist/blueprints/GLO_consignmentOrder.js +0 -37
  41. package/dist/blueprints/GLO_consignmentPart.d.ts +0 -13
  42. package/dist/blueprints/GLO_consignmentPart.js +0 -13
  43. package/dist/blueprints/GLO_consignmentParts.d.ts +0 -5
  44. package/dist/blueprints/GLO_consignmentParts.js +0 -12
  45. package/dist/blueprints/GLO_consignmentPrice.d.ts +0 -11
  46. package/dist/blueprints/GLO_consignmentPrice.js +0 -19
  47. package/dist/blueprints/GLO_consignmentSupplier.d.ts +0 -6
  48. package/dist/blueprints/GLO_consignmentSupplier.js +0 -11
  49. package/dist/blueprints/GLO_contacts.d.ts +0 -10
  50. package/dist/blueprints/GLO_contacts.js +0 -14
  51. package/dist/blueprints/GLO_container.d.ts +0 -6
  52. package/dist/blueprints/GLO_container.js +0 -4
  53. package/dist/blueprints/GLO_contract.d.ts +0 -22
  54. package/dist/blueprints/GLO_contract.js +0 -30
  55. package/dist/blueprints/GLO_contractArticle.d.ts +0 -17
  56. package/dist/blueprints/GLO_contractArticle.js +0 -35
  57. package/dist/blueprints/GLO_contractArticleCost.d.ts +0 -5
  58. package/dist/blueprints/GLO_contractArticleCost.js +0 -8
  59. package/dist/blueprints/GLO_countryVatZone.d.ts +0 -8
  60. package/dist/blueprints/GLO_countryVatZone.js +0 -9
  61. package/dist/blueprints/GLO_currencyDeviation.d.ts +0 -14
  62. package/dist/blueprints/GLO_currencyDeviation.js +0 -15
  63. package/dist/blueprints/GLO_customerArticle.d.ts +0 -12
  64. package/dist/blueprints/GLO_customerArticle.js +0 -15
  65. package/dist/blueprints/GLO_customsFlow.d.ts +0 -8
  66. package/dist/blueprints/GLO_customsFlow.js +0 -19
  67. package/dist/blueprints/GLO_customsFlowDefinition.d.ts +0 -15
  68. package/dist/blueprints/GLO_customsFlowDefinition.js +0 -14
  69. package/dist/blueprints/GLO_customsUnion.d.ts +0 -4
  70. package/dist/blueprints/GLO_customsUnion.js +0 -4
  71. package/dist/blueprints/GLO_deliveryReceipt.d.ts +0 -10
  72. package/dist/blueprints/GLO_deliveryReceipt.js +0 -22
  73. package/dist/blueprints/GLO_departureSchedule.d.ts +0 -27
  74. package/dist/blueprints/GLO_departureSchedule.js +0 -57
  75. package/dist/blueprints/GLO_departureScheduleTimes.d.ts +0 -49
  76. package/dist/blueprints/GLO_departureScheduleTimes.js +0 -61
  77. package/dist/blueprints/GLO_document.d.ts +0 -7
  78. package/dist/blueprints/GLO_document.js +0 -7
  79. package/dist/blueprints/GLO_documentAttachment.d.ts +0 -4
  80. package/dist/blueprints/GLO_documentAttachment.js +0 -4
  81. package/dist/blueprints/GLO_documentDefinitionEntity.d.ts +0 -5
  82. package/dist/blueprints/GLO_documentDefinitionEntity.js +0 -5
  83. package/dist/blueprints/GLO_documentGroup.d.ts +0 -4
  84. package/dist/blueprints/GLO_documentGroup.js +0 -4
  85. package/dist/blueprints/GLO_documentType.d.ts +0 -12
  86. package/dist/blueprints/GLO_documentType.js +0 -11
  87. package/dist/blueprints/GLO_enterCountry.d.ts +0 -21
  88. package/dist/blueprints/GLO_enterCountry.js +0 -47
  89. package/dist/blueprints/GLO_enterDiscount.d.ts +0 -8
  90. package/dist/blueprints/GLO_enterDiscount.js +0 -9
  91. package/dist/blueprints/GLO_equipment.d.ts +0 -34
  92. package/dist/blueprints/GLO_equipment.js +0 -55
  93. package/dist/blueprints/GLO_equipmentCategory.d.ts +0 -15
  94. package/dist/blueprints/GLO_equipmentCategory.js +0 -14
  95. package/dist/blueprints/GLO_equipmentEntity.d.ts +0 -5
  96. package/dist/blueprints/GLO_equipmentEntity.js +0 -5
  97. package/dist/blueprints/GLO_equipmentServiceCategory.d.ts +0 -13
  98. package/dist/blueprints/GLO_equipmentServiceCategory.js +0 -13
  99. package/dist/blueprints/GLO_equipmentType.d.ts +0 -21
  100. package/dist/blueprints/GLO_equipmentType.js +0 -20
  101. package/dist/blueprints/GLO_equipmentTypeServiceCategory.d.ts +0 -13
  102. package/dist/blueprints/GLO_equipmentTypeServiceCategory.js +0 -12
  103. package/dist/blueprints/GLO_fieldInputValidation.d.ts +0 -46
  104. package/dist/blueprints/GLO_fieldInputValidation.js +0 -73
  105. package/dist/blueprints/GLO_formula.d.ts +0 -9
  106. package/dist/blueprints/GLO_formula.js +0 -9
  107. package/dist/blueprints/GLO_gang.d.ts +0 -12
  108. package/dist/blueprints/GLO_gang.js +0 -12
  109. package/dist/blueprints/GLO_holiday.d.ts +0 -7
  110. package/dist/blueprints/GLO_holiday.js +0 -8
  111. package/dist/blueprints/GLO_journey.d.ts +0 -18
  112. package/dist/blueprints/GLO_journey.js +0 -24
  113. package/dist/blueprints/GLO_journeyStop.d.ts +0 -32
  114. package/dist/blueprints/GLO_journeyStop.js +0 -44
  115. package/dist/blueprints/GLO_layout.d.ts +0 -6
  116. package/dist/blueprints/GLO_layout.js +0 -6
  117. package/dist/blueprints/GLO_logging.d.ts +0 -9
  118. package/dist/blueprints/GLO_logging.js +0 -12
  119. package/dist/blueprints/GLO_logisticConnection.d.ts +0 -10
  120. package/dist/blueprints/GLO_logisticConnection.js +0 -11
  121. package/dist/blueprints/GLO_logisticConnectionType.d.ts +0 -5
  122. package/dist/blueprints/GLO_logisticConnectionType.js +0 -5
  123. package/dist/blueprints/GLO_logisticContract.d.ts +0 -28
  124. package/dist/blueprints/GLO_logisticContract.js +0 -80
  125. package/dist/blueprints/GLO_logisticContractDetail.d.ts +0 -42
  126. package/dist/blueprints/GLO_logisticContractDetail.js +0 -122
  127. package/dist/blueprints/GLO_logisticContractDetailHandling.d.ts +0 -11
  128. package/dist/blueprints/GLO_logisticContractDetailHandling.js +0 -14
  129. package/dist/blueprints/GLO_logisticContractDetailItem.d.ts +0 -5
  130. package/dist/blueprints/GLO_logisticContractDetailItem.js +0 -8
  131. package/dist/blueprints/GLO_logisticContractItem.d.ts +0 -14
  132. package/dist/blueprints/GLO_logisticContractItem.js +0 -40
  133. package/dist/blueprints/GLO_logisticContractItemActivity.d.ts +0 -4
  134. package/dist/blueprints/GLO_logisticContractItemActivity.js +0 -4
  135. package/dist/blueprints/GLO_logisticContractItemSurcharge.d.ts +0 -7
  136. package/dist/blueprints/GLO_logisticContractItemSurcharge.js +0 -7
  137. package/dist/blueprints/GLO_logisticContractItemSurchargeItem.d.ts +0 -4
  138. package/dist/blueprints/GLO_logisticContractItemSurchargeItem.js +0 -4
  139. package/dist/blueprints/GLO_logisticContractReference.d.ts +0 -4
  140. package/dist/blueprints/GLO_logisticContractReference.js +0 -4
  141. package/dist/blueprints/GLO_logisticContractVolumeConstraint.d.ts +0 -9
  142. package/dist/blueprints/GLO_logisticContractVolumeConstraint.js +0 -8
  143. package/dist/blueprints/GLO_logisticLocation.d.ts +0 -7
  144. package/dist/blueprints/GLO_logisticLocation.js +0 -7
  145. package/dist/blueprints/GLO_logisticPriceRequestDetailExternalPrice.d.ts +0 -19
  146. package/dist/blueprints/GLO_logisticPriceRequestDetailExternalPrice.js +0 -30
  147. package/dist/blueprints/GLO_logisticPurchaseOrder.d.ts +0 -4
  148. package/dist/blueprints/GLO_logisticPurchaseOrder.js +0 -4
  149. package/dist/blueprints/GLO_logistic_waiting_hours.d.ts +0 -6
  150. package/dist/blueprints/GLO_logistic_waiting_hours.js +0 -6
  151. package/dist/blueprints/GLO_operationalDefault.d.ts +0 -23
  152. package/dist/blueprints/GLO_operationalDefault.js +0 -25
  153. package/dist/blueprints/GLO_outputDetailMail.d.ts +0 -14
  154. package/dist/blueprints/GLO_outputDetailMail.js +0 -13
  155. package/dist/blueprints/GLO_postalcode.d.ts +0 -6
  156. package/dist/blueprints/GLO_postalcode.js +0 -6
  157. package/dist/blueprints/GLO_priceDependency.d.ts +0 -5
  158. package/dist/blueprints/GLO_priceDependency.js +0 -4
  159. package/dist/blueprints/GLO_priceEntry.d.ts +0 -17
  160. package/dist/blueprints/GLO_priceEntry.js +0 -17
  161. package/dist/blueprints/GLO_priceRequest.d.ts +0 -8
  162. package/dist/blueprints/GLO_priceRequest.js +0 -20
  163. package/dist/blueprints/GLO_priceRequestLine.d.ts +0 -12
  164. package/dist/blueprints/GLO_priceRequestLine.js +0 -17
  165. package/dist/blueprints/GLO_principal.d.ts +0 -9
  166. package/dist/blueprints/GLO_principal.js +0 -13
  167. package/dist/blueprints/GLO_printPopup.d.ts +0 -10
  168. package/dist/blueprints/GLO_printPopup.js +0 -62
  169. package/dist/blueprints/GLO_production.d.ts +0 -9
  170. package/dist/blueprints/GLO_production.js +0 -9
  171. package/dist/blueprints/GLO_productionLineMaterial.d.ts +0 -8
  172. package/dist/blueprints/GLO_productionLineMaterial.js +0 -13
  173. package/dist/blueprints/GLO_productionMaterial.d.ts +0 -5
  174. package/dist/blueprints/GLO_productionMaterial.js +0 -5
  175. package/dist/blueprints/GLO_purchaseCosts.d.ts +0 -6
  176. package/dist/blueprints/GLO_purchaseCosts.js +0 -9
  177. package/dist/blueprints/GLO_purchaseInvoice.d.ts +0 -12
  178. package/dist/blueprints/GLO_purchaseInvoice.js +0 -25
  179. package/dist/blueprints/GLO_purchaseInvoiceLine.d.ts +0 -8
  180. package/dist/blueprints/GLO_purchaseInvoiceLine.js +0 -13
  181. package/dist/blueprints/GLO_purchaseOrder.d.ts +0 -14
  182. package/dist/blueprints/GLO_purchaseOrder.js +0 -25
  183. package/dist/blueprints/GLO_purchaseOrderLine.d.ts +0 -10
  184. package/dist/blueprints/GLO_purchaseOrderLine.js +0 -24
  185. package/dist/blueprints/GLO_purchasePrices.d.ts +0 -10
  186. package/dist/blueprints/GLO_purchasePrices.js +0 -10
  187. package/dist/blueprints/GLO_quotation.d.ts +0 -12
  188. package/dist/blueprints/GLO_quotation.js +0 -32
  189. package/dist/blueprints/GLO_quotationLine.d.ts +0 -12
  190. package/dist/blueprints/GLO_quotationLine.js +0 -28
  191. package/dist/blueprints/GLO_receipt.d.ts +0 -13
  192. package/dist/blueprints/GLO_receipt.js +0 -17
  193. package/dist/blueprints/GLO_receiptFromTempReceipt.d.ts +0 -8
  194. package/dist/blueprints/GLO_receiptFromTempReceipt.js +0 -8
  195. package/dist/blueprints/GLO_receiptLine.d.ts +0 -22
  196. package/dist/blueprints/GLO_receiptLine.js +0 -28
  197. package/dist/blueprints/GLO_relationAddress.d.ts +0 -26
  198. package/dist/blueprints/GLO_relationAddress.js +0 -58
  199. package/dist/blueprints/GLO_relationBankAccount.d.ts +0 -9
  200. package/dist/blueprints/GLO_relationBankAccount.js +0 -9
  201. package/dist/blueprints/GLO_relationContact.d.ts +0 -23
  202. package/dist/blueprints/GLO_relationContact.js +0 -45
  203. package/dist/blueprints/GLO_relationGroupType.d.ts +0 -7
  204. package/dist/blueprints/GLO_relationGroupType.js +0 -6
  205. package/dist/blueprints/GLO_relations.d.ts +0 -67
  206. package/dist/blueprints/GLO_relations.js +0 -186
  207. package/dist/blueprints/GLO_relationtype.d.ts +0 -15
  208. package/dist/blueprints/GLO_relationtype.js +0 -31
  209. package/dist/blueprints/GLO_remarkType.d.ts +0 -10
  210. package/dist/blueprints/GLO_remarkType.js +0 -9
  211. package/dist/blueprints/GLO_remarkTypeDefaultValue.d.ts +0 -4
  212. package/dist/blueprints/GLO_remarkTypeDefaultValue.js +0 -14
  213. package/dist/blueprints/GLO_remarkTypeEntityType.d.ts +0 -10
  214. package/dist/blueprints/GLO_remarkTypeEntityType.js +0 -9
  215. package/dist/blueprints/GLO_representative.d.ts +0 -7
  216. package/dist/blueprints/GLO_representative.js +0 -6
  217. package/dist/blueprints/GLO_salesInvoice.d.ts +0 -9
  218. package/dist/blueprints/GLO_salesInvoice.js +0 -15
  219. package/dist/blueprints/GLO_salesInvoiceLine.d.ts +0 -9
  220. package/dist/blueprints/GLO_salesInvoiceLine.js +0 -13
  221. package/dist/blueprints/GLO_salesOrder.d.ts +0 -13
  222. package/dist/blueprints/GLO_salesOrder.js +0 -25
  223. package/dist/blueprints/GLO_salesOrderLine.d.ts +0 -13
  224. package/dist/blueprints/GLO_salesOrderLine.js +0 -34
  225. package/dist/blueprints/GLO_stockCorrection.d.ts +0 -14
  226. package/dist/blueprints/GLO_stockCorrection.js +0 -24
  227. package/dist/blueprints/GLO_stopSchedule.d.ts +0 -4
  228. package/dist/blueprints/GLO_stopSchedule.js +0 -4
  229. package/dist/blueprints/GLO_supplierArticle.d.ts +0 -8
  230. package/dist/blueprints/GLO_supplierArticle.js +0 -8
  231. package/dist/blueprints/GLO_tclSetting.d.ts +0 -6
  232. package/dist/blueprints/GLO_tclSetting.js +0 -6
  233. package/dist/blueprints/GLO_todo.d.ts +0 -10
  234. package/dist/blueprints/GLO_todo.js +0 -21
  235. package/dist/blueprints/GLO_todoSchedule.d.ts +0 -23
  236. package/dist/blueprints/GLO_todoSchedule.js +0 -79
  237. package/dist/blueprints/GLO_tractionDistance.d.ts +0 -6
  238. package/dist/blueprints/GLO_tractionDistance.js +0 -6
  239. package/dist/blueprints/GLO_transportOrder.d.ts +0 -4
  240. package/dist/blueprints/GLO_transportOrder.js +0 -4
  241. package/dist/blueprints/GLO_transportPrice.d.ts +0 -18
  242. package/dist/blueprints/GLO_transportPrice.js +0 -34
  243. package/dist/blueprints/GLO_transportRequirement.d.ts +0 -18
  244. package/dist/blueprints/GLO_transportRequirement.js +0 -32
  245. package/dist/blueprints/GLO_transportRequirementContainer.d.ts +0 -8
  246. package/dist/blueprints/GLO_transportRequirementContainer.js +0 -8
  247. package/dist/blueprints/GLO_transportRequirementGoods.d.ts +0 -33
  248. package/dist/blueprints/GLO_transportRequirementGoods.js +0 -51
  249. package/dist/blueprints/GLO_transportScenarioExecutionLeg.d.ts +0 -6
  250. package/dist/blueprints/GLO_transportScenarioExecutionLeg.js +0 -6
  251. package/dist/blueprints/GLO_transportStock.d.ts +0 -4
  252. package/dist/blueprints/GLO_transportStock.js +0 -4
  253. package/dist/blueprints/GLO_visit.d.ts +0 -9
  254. package/dist/blueprints/GLO_visit.js +0 -10
  255. package/dist/blueprints/GLO_warehouseMove.d.ts +0 -9
  256. package/dist/blueprints/GLO_warehouseMove.js +0 -9
  257. package/dist/blueprints/GLO_warehouseOrderSubline.d.ts +0 -6
  258. package/dist/blueprints/GLO_warehouseOrderSubline.js +0 -11
  259. package/dist/blueprints/GLO_workflowLoggingTable.d.ts +0 -20
  260. package/dist/blueprints/GLO_workflowLoggingTable.js +0 -20
  261. package/dist/blueprints/GLO_workflowVerification.d.ts +0 -10
  262. package/dist/blueprints/GLO_workflowVerification.js +0 -19
  263. package/dist/blueprints/GLO_zone.d.ts +0 -9
  264. package/dist/blueprints/GLO_zone.js +0 -9
  265. package/dist/blueprints/GLO_zone_postalcode.d.ts +0 -12
  266. package/dist/blueprints/GLO_zone_postalcode.js +0 -10
  267. package/dist/blueprints/GLO_zone_type.d.ts +0 -8
  268. package/dist/blueprints/GLO_zone_type.js +0 -7
  269. package/dist/blueprints/GLT_goods.d.ts +0 -2
  270. package/dist/blueprints/GLT_goods.js +0 -12
  271. package/dist/commands/FOB_commands.d.ts +0 -124
  272. package/dist/commands/FOB_commands.js +0 -211
  273. package/dist/commands/GLJ_commands.d.ts +0 -28
  274. package/dist/commands/GLJ_commands.js +0 -40
  275. package/dist/commands/GLO_commands.d.ts +0 -685
  276. package/dist/commands/GLO_commands.js +0 -2315
  277. package/dist/commands/GLS_commands.d.ts +0 -63
  278. package/dist/commands/GLS_commands.js +0 -103
  279. package/dist/commands/GLT_commands.d.ts +0 -78
  280. package/dist/commands/GLT_commands.js +0 -148
  281. package/dist/commands/POR_commands.d.ts +0 -85
  282. package/dist/commands/POR_commands.js +0 -122
  283. package/dist/config.d.ts +0 -9
  284. package/dist/config.js +0 -115
  285. package/dist/index.d.ts +0 -2
  286. package/dist/index.js +0 -15
  287. package/dist/plugins/prometheusWriter.d.ts +0 -15
  288. package/dist/plugins/prometheusWriter.js +0 -111
  289. package/dist/register.d.ts +0 -8
  290. package/dist/register.js +0 -23
  291. package/dist/tsHelper.d.ts +0 -161
  292. package/dist/tsHelper.js +0 -294
  293. package/dist/types.d.ts +0 -363
  294. package/dist/types.js +0 -4
  295. package/dist/websocketDetector.d.ts +0 -71
  296. package/dist/websocketDetector.js +0 -1593
@@ -1,61 +0,0 @@
1
- import { close, open } from '../tsHelper.js';
2
- const formName = 'ng$logistic_conn_schedule_times_dtl';
3
- const addressFormName = 'ng$remark_dtl_logistic_conn_schedule_times';
4
- const detailTabsName = 'tabs_70';
5
- export const GLO_enterDepartureScheduleTimes = (obj) => {
6
- // Data_cy has 2 inputs so we need the first one and use the raw command
7
- cy.GLO_addInput([formName, 'departure_time'], obj.departureTime);
8
- cy.GLO_addInput([formName, 'departure_time', 1], obj.departureTimezone);
9
- cy.GLO_addInput([formName, 'arrival_time'], obj.arrivalTime);
10
- cy.GLO_addInput([formName, 'arrival_time', 1], obj.arrivalTimezone);
11
- typeIfPresent('arrival_relative_days', obj.arrivalRelativeDays);
12
- typeIfPresent('embark_duration', obj.embarkDuration);
13
- typeIfPresent('disembark_duration', obj.disembarkDuration);
14
- cy.GLO_addInput([formName, 'pricing_group'], obj.pricingGroup);
15
- typeIfPresent('first_drop_relative_days', obj.firstDropRelativeDays);
16
- typeIfPresent('first_drop_time', obj.firstDropTime);
17
- typeIfPresent('first_drop_dgn_relative_days', obj.firstDropDgnRelativeDays);
18
- typeIfPresent('first_drop_dgn_time', obj.firstDropDgnTime);
19
- typeIfPresent('last_drop_relative_days', obj.lastDropRelativeDays);
20
- typeIfPresent('last_drop_time', obj.lastDropTime);
21
- typeIfPresent('last_drop_dgn_relative_days', obj.lastDropDgnRelativeDays);
22
- typeIfPresent('last_drop_dgn_time', obj.lastDropDgnTime);
23
- typeIfPresent('last_drop_container_relative_days', obj.lastDropContainerRelativeDays);
24
- typeIfPresent('last_drop_container_time', obj.lastDropContainerTime);
25
- typeIfPresent('last_drop_trailer_relative_days', obj.lastDropTrailerRelativeDays);
26
- typeIfPresent('last_drop_trailer_time', obj.lastDropTrailerTime);
27
- typeIfPresent('available_after_arrival_time_relative_days', obj.availableAfterArrivalTimeRelativeDays);
28
- typeIfPresent('available_lofo_after_arrival_time_relative_days', obj.availableLofoAfterArrivalTimeRelativeDays);
29
- cy.GLO_addInput([formName, 'min_nr_of_containers'], obj.minNrOfContainers);
30
- cy.GLO_addInput([formName, 'max_nr_of_containers'], obj.maxNrOfContainers);
31
- cy.GLO_addInput([formName, 'min_nr_of_trailers'], obj.minNrOfTrailers);
32
- cy.GLO_addInput([formName, 'max_nr_of_trailers'], obj.maxNrOfTrailers);
33
- cy.GLO_addInput([formName, 'max_anti_theft_capacity'], obj.maxAntiTheftCapacity);
34
- cy.GLO_addInput([formName, 'capacity_gross_weight'], obj.capacityGrossWeight);
35
- cy.GLO_addInput([formName, 'capacity_gross_weight_unit_id'], obj.capacityGrossWeightUnitId);
36
- typeIfPresent('booking_opening_relative_days', obj.bookingOpeningRelativeDays);
37
- typeIfPresent('booking_opening_time', obj.bookingOpeningTime);
38
- typeIfPresent('booking_closing_relative_days', obj.bookingClosingRelativeDays);
39
- typeIfPresent('booking_closing_time', obj.bookingClosingTime);
40
- cy.GLO_checkbox([formName, 'flag_operational_active'], obj.flagOperationalActive);
41
- cy.GLO_checkbox([formName, 'flag_dgn_allowed'], obj.flagDgnAllowed);
42
- cy.GLO_checkbox([formName, 'flag_dgn_limited_quantity_allowed'], obj.flagDgnLimitedQuantityAllowed);
43
- cy.GLO_checkbox([formName, 'flag_waste_allowed'], obj.flagWasteAllowed);
44
- cy.GLO_checkbox([formName, 'monday'], obj.flagMonday);
45
- cy.GLO_checkbox([formName, 'tuesday'], obj.flagTuesday);
46
- cy.GLO_checkbox([formName, 'wednesday'], obj.flagWednesday);
47
- cy.GLO_checkbox([formName, 'thursday'], obj.flagThursday);
48
- cy.GLO_checkbox([formName, 'friday'], obj.flagFriday);
49
- cy.GLO_checkbox([formName, 'saturday'], obj.flagSaturday);
50
- cy.GLO_checkbox([formName, 'sunday'], obj.flagSunday);
51
- if (obj.remark) {
52
- cy.GLO_selectTab([formName, detailTabsName], 'Remarks', open);
53
- cy.GLO_addInput([addressFormName, 'local_LOG_CONN_SCHED_TIMES_REMARK'], obj.remark);
54
- cy.GLO_selectTab([formName, detailTabsName], 'Remarks', close);
55
- }
56
- };
57
- const typeIfPresent = (fieldName, value) => {
58
- if (value) {
59
- cy.GLO_getElement([formName, fieldName]).find('.dx-texteditor-input').type(value);
60
- }
61
- };
@@ -1,7 +0,0 @@
1
- export type objDocument = {
2
- documentGroup?: string;
3
- documentType?: string;
4
- customerApprovalUser?: string;
5
- supplierApprovalUser?: string;
6
- };
7
- export declare const GLO_enterDocument: (obj: objDocument) => void;
@@ -1,7 +0,0 @@
1
- export const GLO_enterDocument = (obj) => {
2
- const formName = 'ng$document_dtl';
3
- cy.GLO_addInput([formName, 'document_group_id'], obj.documentGroup);
4
- cy.GLO_addInput([formName, 'document_type_id'], obj.documentType);
5
- cy.GLO_addInput([formName, 'customer_approval_user'], obj.customerApprovalUser);
6
- cy.GLO_addInput([formName, 'supplier_approval_user'], obj.supplierApprovalUser);
7
- };
@@ -1,4 +0,0 @@
1
- export type objDocumentAttachment = {
2
- clientFilePath?: string;
3
- };
4
- export declare const GLO_enterDocumentAttachment: (obj: objDocumentAttachment) => void;
@@ -1,4 +0,0 @@
1
- export const GLO_enterDocumentAttachment = (obj) => {
2
- const formName = 'ng$document_attachment_dtl';
3
- cy.GLO_addInput([formName, 'client_file_path'], obj.clientFilePath);
4
- };
@@ -1,5 +0,0 @@
1
- export type objDocumentDefinitionType = {
2
- documentGroup?: string;
3
- documentType?: string;
4
- };
5
- export declare const GLO_enterDocumentDefinitionType: (obj: objDocumentDefinitionType) => void;
@@ -1,5 +0,0 @@
1
- export const GLO_enterDocumentDefinitionType = (obj) => {
2
- const formName = 'ng$document_definition_entity_dtl';
3
- cy.GLO_addInput([formName, 'document_group_id'], obj.documentGroup);
4
- cy.GLO_addInput([formName, 'document_type_id'], obj.documentType);
5
- };
@@ -1,4 +0,0 @@
1
- export type objDocumentGroup = {
2
- documentGroupCode?: string;
3
- };
4
- export declare const GLO_enterDocumentGroup: (obj: objDocumentGroup) => void;
@@ -1,4 +0,0 @@
1
- export const GLO_enterDocumentGroup = (obj) => {
2
- const formName = 'ng$document_group_dtl';
3
- cy.GLO_addInput([formName, 'document_group_code'], obj.documentGroupCode);
4
- };
@@ -1,12 +0,0 @@
1
- import type { CheckState } from '../tsHelper.js';
2
- export type objDocumentType = {
3
- documentType?: string;
4
- documentTypeStatus?: string;
5
- referenceForClosingDate?: string;
6
- offsetTimeReminderForClosingDate?: string;
7
- incomingOutgoing?: string;
8
- customerApprovalNeeded?: CheckState;
9
- supplierApprovalNeeded?: CheckState;
10
- visibleInCustomerPortal?: CheckState;
11
- };
12
- export declare const GLO_enterDocumentType: (obj: objDocumentType) => void;
@@ -1,11 +0,0 @@
1
- export const GLO_enterDocumentType = (obj) => {
2
- const formName = 'ng$document_type_dtl';
3
- cy.GLO_addInput([formName, 'document_type_code'], obj.documentType);
4
- cy.GLO_addInput([formName, 'document_type_status'], obj.documentTypeStatus);
5
- cy.GLO_addInput([formName, 'reference_for_closing_date'], obj.referenceForClosingDate);
6
- cy.GLO_addInput([formName, 'offset_time_reminder_for_closing_date'], obj.offsetTimeReminderForClosingDate);
7
- cy.GLO_addInput([formName, 'incoming_outgoing'], obj.incomingOutgoing);
8
- cy.GLO_checkbox([formName, 'customer_approval_needed'], obj.customerApprovalNeeded);
9
- cy.GLO_checkbox([formName, 'supplier_approval_needed'], obj.supplierApprovalNeeded);
10
- cy.GLO_checkbox([formName, 'visible_in_customer_portal'], obj.visibleInCustomerPortal);
11
- };
@@ -1,21 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- export type objCountry = {
3
- countryCode?: string;
4
- isoCountryCode?: string;
5
- isoCountryCode3?: string;
6
- vatPrefix?: string;
7
- dialCode?: string;
8
- isActive?: CheckState;
9
- useCounties?: CheckState;
10
- useStates?: CheckState;
11
- streetFormat?: string;
12
- addressBlockFormat?: string;
13
- translation?: string;
14
- stateName?: string;
15
- stateCode?: string;
16
- countyName?: string;
17
- postalCode?: string;
18
- city?: string;
19
- contextCountryCode?: string;
20
- };
21
- export declare const GLO_enterCountry: (obj: objCountry, part?: string) => void;
@@ -1,47 +0,0 @@
1
- import { close, open } from '../tsHelper.js';
2
- const formName = 'ng$country_dtl';
3
- const formState = 'ng$country_state_dtl';
4
- const formPostalcode = 'ng$postalcode_dtl';
5
- export const GLO_enterCountry = (obj, part = 'country') => {
6
- switch (part) {
7
- case 'state': {
8
- cy.GLO_addInput([formState, 'textbox_state_name'], obj.stateName);
9
- cy.GLO_addInput([formState, 'textbox_state_code'], obj.stateCode);
10
- cy.GLO_addInput([formState, 'textbox_vat_prefix'], obj.vatPrefix);
11
- break;
12
- }
13
- case 'county': {
14
- cy.GLO_addInput(['ng$county_dtl', 'county'], obj.countyName);
15
- break;
16
- }
17
- case 'postalCode': {
18
- cy.GLO_addInput([formPostalcode, 'textbox_state'], obj.stateName);
19
- cy.GLO_addInput([formPostalcode, 'county_id'], obj.countyName);
20
- cy.GLO_addInput([formPostalcode, 'postalcode'], obj.postalCode);
21
- cy.GLO_addInput([formPostalcode, 'city'], obj.city);
22
- break;
23
- }
24
- default: {
25
- cy.GLO_addInput([formName, 'country_code'], obj.countryCode);
26
- cy.GLO_addInput([formName, 'iso_country_code'], obj.isoCountryCode);
27
- cy.GLO_addInput([formName, 'iso_country_code_3'], obj.isoCountryCode3);
28
- cy.GLO_addInput([formName, 'vat_prefix'], obj.vatPrefix);
29
- cy.GLO_addInput([formName, 'international_dial_code'], obj.dialCode);
30
- cy.GLO_checkbox([formName, 'is_active'], obj.isActive);
31
- cy.GLO_checkbox([formName, 'flag_use_counties'], obj.useCounties);
32
- cy.GLO_checkbox([formName, 'checkbox_use_states'], obj.useStates);
33
- cy.GLO_addInput([formName, 'street_format'], obj.streetFormat);
34
- cy.GLO_addInput([formName, 'textbox_addres_block_format'], obj.addressBlockFormat);
35
- cy.GLO_selectTab([formName, 'tabs_70'], 'Translations', open);
36
- if (obj.translation !== undefined) {
37
- cy.GLO_getElement(['ng$basetabletranslation_uuid_lst_tab', 'grid']).within(() => {
38
- cy.get('.editable-field').each((field) => {
39
- cy.wrap(field).dblclick().type(obj.translation);
40
- });
41
- });
42
- }
43
- cy.GLO_selectTab([formName, 'tabs_70'], 'Translations', close);
44
- break;
45
- }
46
- }
47
- };
@@ -1,8 +0,0 @@
1
- export type objDiscount = {
2
- discountOrigin?: string;
3
- discountType?: string;
4
- relationCode?: string;
5
- validFrom?: string;
6
- discountPerc1?: number;
7
- };
8
- export declare const GLO_enterDiscount: (obj: objDiscount) => void;
@@ -1,9 +0,0 @@
1
- import { input } from '../tsHelper.js';
2
- export const GLO_enterDiscount = (obj) => {
3
- const formName = 'ng$discounts_dtl';
4
- cy.GLO_addInput([formName, 'discount_origin'], obj.discountOrigin);
5
- cy.GLO_addInput([formName, 'discount_type'], obj.discountType);
6
- cy.GLO_popupWindow([formName, 'btn_select_relation'], obj.relationCode);
7
- cy.GLO_addDate(input, [formName, 'valid_from'], obj.validFrom);
8
- cy.GLO_addInput([`${formName}_contractual`, 'discount_perc_1'], obj.discountPerc1);
9
- };
@@ -1,34 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- import { type objAddressPopup } from './GLO_addressPopup.js';
3
- export type objEquipment = {
4
- historyRemark?: string;
5
- flagRentedOut?: CheckState;
6
- buyer?: string;
7
- equipmentCode?: string;
8
- equipmentType?: string;
9
- licensePlate?: string;
10
- owner?: string;
11
- equipmentCategory?: string;
12
- inUseByRelation?: string;
13
- flagIsActive?: CheckState;
14
- seriesNr?: string;
15
- lastKnownAddress?: objAddressPopup;
16
- shipmentContainerType?: string;
17
- shipmentContainerSubType?: string;
18
- damaged?: CheckState;
19
- temperatureControlled?: string;
20
- rentedOutTo?: string;
21
- oneTimeUse?: CheckState;
22
- tarraWeight?: number;
23
- flagHighValue?: CheckState;
24
- exteriorHeight?: string | number;
25
- roadTarra?: string | number;
26
- flagDangerousGoods?: CheckState;
27
- flagTemperatureContolledAllowed?: CheckState;
28
- flagAlcoholAllowed?: CheckState;
29
- flagWasteAllowed?: CheckState;
30
- numberOfAxles?: string | number;
31
- fuelType?: string;
32
- euroClass?: string;
33
- };
34
- export declare const GLO_enterEquipment: (obj: objEquipment, tabName?: string) => void;
@@ -1,55 +0,0 @@
1
- import { close, open } from '../tsHelper.js';
2
- import { GLO_enterAddressPopup } from './GLO_addressPopup.js';
3
- export const GLO_enterEquipment = (obj, tabName = 'tabs_70') => {
4
- const formName = 'ng$equipment_dtl';
5
- const generalFormName = 'ng$equipment_dtl_general';
6
- // Relation information
7
- cy.GLO_addInput([formName, 'equipment_code'], obj.equipmentCode);
8
- cy.GLO_addInput([formName, 'equipment_category_id'], obj.equipmentCategory);
9
- if (obj.equipmentCategory && obj.equipmentType)
10
- cy.GLO_checkLoadingIndicator();
11
- cy.GLO_addInput([formName, 'equipment_type_id'], obj.equipmentType);
12
- cy.GLO_addInput([formName, 'shipment_container_type_id'], obj.shipmentContainerType);
13
- cy.GLO_addInput([formName, 'shipment_container_subtype_id'], obj.shipmentContainerSubType);
14
- cy.GLO_addInput([formName, 'series_nr'], obj.seriesNr);
15
- cy.GLO_addInput([formName, 'tarra'], obj.tarraWeight);
16
- cy.GLO_popupWindow([formName, 'owner_relation_id'], obj.owner, 'relation_code');
17
- cy.GLO_addInput([formName, 'in_use_by_relation_id'], obj.inUseByRelation);
18
- cy.GLO_checkbox([formName, 'flag_is_active'], obj.flagIsActive);
19
- if (obj.lastKnownAddress) {
20
- cy.GLO_clickButton([formName, 'last_known_address_id'], 'fa-search');
21
- GLO_enterAddressPopup(obj.lastKnownAddress);
22
- }
23
- if (obj.damaged) {
24
- cy.GLO_selectTab([formName, tabName], 'General', open);
25
- cy.GLO_checkbox([generalFormName, 'flag_damaged'], obj.damaged);
26
- cy.GLO_selectTab([formName, tabName], 'General', close);
27
- }
28
- if (obj.rentedOutTo) {
29
- cy.GLO_selectTab([formName, tabName], 'General', open);
30
- cy.GLO_popupWindow([generalFormName, 'rented_out_relation_id'], obj.rentedOutTo);
31
- cy.GLO_selectTab([formName, tabName], 'General', close);
32
- }
33
- if (obj.oneTimeUse || obj.flagHighValue) {
34
- cy.GLO_selectTab([formName, tabName], 'Container', open);
35
- cy.GLO_checkbox([`${formName}_container`, 'one_time_use'], obj.oneTimeUse);
36
- cy.GLO_checkbox([`${formName}_container`, 'flag_high_value'], obj.flagHighValue);
37
- cy.GLO_selectTab([formName, tabName], 'Container', close);
38
- }
39
- // Road tab
40
- if (obj.licensePlate || obj.exteriorHeight || obj.roadTarra) {
41
- cy.GLO_selectTab(['ng$equipment_dtl', tabName], 'Road', open);
42
- cy.GLO_addInput([`${formName}_road`, 'license_plate'], obj.licensePlate);
43
- cy.GLO_addInput([`${formName}_road`, 'equipment_height'], obj.exteriorHeight);
44
- cy.GLO_addInput([`${formName}_road`, 'Tarra'], obj.roadTarra);
45
- cy.GLO_checkbox([`${formName}_road`, 'flag_dangerous_goods'], obj.flagDangerousGoods);
46
- cy.GLO_checkbox([`${formName}_road`, 'flag_high_value'], obj.flagHighValue);
47
- cy.GLO_checkbox([`${formName}_road`, 'flag_tcl_allowed'], obj.flagTemperatureContolledAllowed);
48
- cy.GLO_checkbox([`${formName}_road`, 'flag_alcohol_allowed'], obj.flagAlcoholAllowed);
49
- cy.GLO_checkbox([`${formName}_road`, 'flag_waste_allowed'], obj.flagWasteAllowed);
50
- cy.GLO_addInput([`${formName}_road`, 'euro_class'], obj.euroClass);
51
- cy.GLO_addInput([`${formName}_road`, 'fuel_type'], obj.fuelType);
52
- cy.GLO_addInput([`${formName}_road`, 'nr_of_axles'], obj.numberOfAxles);
53
- cy.GLO_selectTab(['ng$equipment_dtl', tabName], 'Road', close);
54
- }
55
- };
@@ -1,15 +0,0 @@
1
- import type { CheckState } from '../tsHelper.js';
2
- export type objEquipmentCategory = {
3
- equipmentCategoryCode?: string;
4
- default?: CheckState;
5
- charter?: CheckState;
6
- rail?: CheckState;
7
- container?: CheckState;
8
- towingVehicle?: CheckState;
9
- road?: CheckState;
10
- air?: CheckState;
11
- ocean?: CheckState;
12
- ferry?: CheckState;
13
- inlandShipping?: CheckState;
14
- };
15
- export declare const GLO_enterEquipmentCategory: (obj: objEquipmentCategory) => void;
@@ -1,14 +0,0 @@
1
- export const GLO_enterEquipmentCategory = (obj) => {
2
- const formName = 'ng$equipment_category_dtl';
3
- cy.GLO_addInput([formName, 'equipment_category_code'], obj.equipmentCategoryCode);
4
- cy.GLO_checkbox([formName, 'checkbox_flag_default'], obj.default);
5
- cy.GLO_checkbox([formName, 'checkbox_flag_charter'], obj.charter);
6
- cy.GLO_checkbox([formName, 'checkbox_flag_rail'], obj.rail);
7
- cy.GLO_checkbox([formName, 'checkbox_flag_container'], obj.container);
8
- cy.GLO_checkbox([formName, 'checkbox_flag_towing_vehicle'], obj.towingVehicle);
9
- cy.GLO_checkbox([formName, 'checkbox_flag_road'], obj.road);
10
- cy.GLO_checkbox([formName, 'checkbox_flag_air'], obj.air);
11
- cy.GLO_checkbox([formName, 'checkbox_flag_ocean'], obj.ocean);
12
- cy.GLO_checkbox([formName, 'checkbox_flag_ferry'], obj.ferry);
13
- cy.GLO_checkbox([formName, 'checkbox_flag_inland_shipping'], obj.inlandShipping);
14
- };
@@ -1,5 +0,0 @@
1
- export type objEquipmentEntity = {
2
- equipmentCode?: string;
3
- logisticContractDetailCode?: string;
4
- };
5
- export declare const GLO_enterEquipmentEntity: (obj: objEquipmentEntity) => void;
@@ -1,5 +0,0 @@
1
- export const GLO_enterEquipmentEntity = (obj) => {
2
- const formName = 'ng$equipment_entity_dtl';
3
- cy.GLO_addInput([formName, 'equipment_code'], obj.equipmentCode);
4
- cy.GLO_addInput([formName, 'logistic_contract_detail_code'], obj.logisticContractDetailCode);
5
- };
@@ -1,13 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- export type objEquipmentServiceCategory = {
3
- serviceCategory?: string;
4
- serviceType?: string;
5
- lastService?: string;
6
- nextService?: string;
7
- temporaryDisabled?: CheckState;
8
- serviceUpcoming?: CheckState;
9
- serviceRequired?: CheckState;
10
- serviceExceeded?: CheckState;
11
- active?: CheckState;
12
- };
13
- export declare const GLO_enterEquipmentServiceCategory: (obj: objEquipmentServiceCategory) => void;
@@ -1,13 +0,0 @@
1
- import { input } from '../tsHelper.js';
2
- export const GLO_enterEquipmentServiceCategory = (obj) => {
3
- const formName = 'ng$equipment_service_category$active_dtl';
4
- cy.GLO_addDate(input, [formName, 'last_service_date'], obj.lastService);
5
- cy.GLO_addDate(input, [formName, 'next_service_date'], obj.nextService);
6
- cy.GLO_addInput([formName, 'service_category'], obj.serviceCategory);
7
- cy.GLO_addInput([formName, 'service_type'], obj.serviceType);
8
- cy.GLO_checkbox([formName, 'flag_temporarily_disabled'], obj.temporaryDisabled);
9
- cy.GLO_checkbox([formName, 'flag_service_upcoming'], obj.serviceUpcoming);
10
- cy.GLO_checkbox([formName, 'flag_service_required'], obj.serviceRequired);
11
- cy.GLO_checkbox([formName, 'flag_service_exceeded'], obj.serviceExceeded);
12
- cy.GLO_checkbox([formName, 'flag_active'], obj.active);
13
- };
@@ -1,21 +0,0 @@
1
- import type { CheckState } from '../tsHelper.js';
2
- export type objEquipmentType = {
3
- equipmentTypeCode: string;
4
- equipmentCategoryCode?: string;
5
- description?: string;
6
- externalPlatform?: string;
7
- classificationGroup?: string;
8
- defaultLoadWeight?: number;
9
- defaultLoadWeightUnit?: string;
10
- transportMethod?: string;
11
- charter?: CheckState;
12
- rail?: CheckState;
13
- container?: CheckState;
14
- towingVehicle?: CheckState;
15
- road?: CheckState;
16
- air?: CheckState;
17
- ocean?: CheckState;
18
- ferry?: CheckState;
19
- inlandShipping?: CheckState;
20
- };
21
- export declare const GLO_enterEquipmentType: (obj: objEquipmentType) => void;
@@ -1,20 +0,0 @@
1
- export const GLO_enterEquipmentType = (obj) => {
2
- const formName = 'ng$equipment_type_dtl';
3
- cy.GLO_addInput([formName, 'textbox_equipment_category'], obj.equipmentCategoryCode);
4
- cy.GLO_addInput([formName, 'equipment_type_code'], obj.equipmentTypeCode);
5
- cy.GLO_addInput([formName, 'description'], obj.description);
6
- cy.GLO_addInput([formName, 'external_platform'], obj.externalPlatform);
7
- cy.GLO_addInput([formName, 'classification_group'], obj.classificationGroup);
8
- cy.GLO_addInput([formName, 'default_load_weight'], obj.defaultLoadWeight);
9
- cy.GLO_addInput([formName, 'weight_unit_id'], obj.defaultLoadWeightUnit);
10
- cy.GLO_addInput([formName, 'transport_method'], obj.transportMethod);
11
- cy.GLO_checkbox([formName, 'flag_charter'], obj.charter);
12
- cy.GLO_checkbox([formName, 'flag_rail'], obj.rail);
13
- cy.GLO_checkbox([formName, 'flag_container'], obj.container);
14
- cy.GLO_checkbox([formName, 'flag_towing_vehicle'], obj.towingVehicle);
15
- cy.GLO_checkbox([formName, 'flag_road'], obj.road);
16
- cy.GLO_checkbox([formName, 'flag_air'], obj.air);
17
- cy.GLO_checkbox([formName, 'flag_water'], obj.ocean);
18
- cy.GLO_checkbox([formName, 'flag_ferry'], obj.ferry);
19
- cy.GLO_checkbox([formName, 'flag_inland_shipping'], obj.inlandShipping);
20
- };
@@ -1,13 +0,0 @@
1
- import type { CheckState } from '../tsHelper.js';
2
- export type objEquipmentTypeServiceCategory = {
3
- equipmentCategoryCode?: string;
4
- equipmentTypeCode?: string;
5
- serviceCategoryCode: string;
6
- serviceType?: string;
7
- noAutomaticCalculation?: CheckState;
8
- alertWindowUpcoming?: string;
9
- alerWindowRequired?: string;
10
- intervalWindow?: string;
11
- intervalBase?: string;
12
- };
13
- export declare const GLO_enterEquipmentTypeServiceCategory: (obj: objEquipmentTypeServiceCategory) => void;
@@ -1,12 +0,0 @@
1
- export const GLO_enterEquipmentTypeServiceCategory = (obj) => {
2
- const formName = 'ng$equipment_type_service_category_dtl';
3
- cy.GLO_addInput([formName, 'equipment_type'], obj.equipmentCategoryCode);
4
- cy.GLO_popupWindow([formName, 'equipment_subtype'], obj.equipmentTypeCode);
5
- cy.GLO_addInput([formName, 'service_category'], obj.serviceCategoryCode);
6
- cy.GLO_addInput([formName, 'service_type'], obj.serviceType);
7
- cy.GLO_checkbox([formName, 'flag_no_automatic_calculation'], obj.noAutomaticCalculation);
8
- cy.GLO_addInput([formName, 'alert_window_upcoming'], obj.alertWindowUpcoming);
9
- cy.GLO_addInput([formName, 'alert_window_required'], obj.alerWindowRequired);
10
- cy.GLO_addInput([formName, 'interval_window'], obj.intervalWindow);
11
- cy.GLO_addInput([formName, 'interval_base'], obj.intervalBase);
12
- };
@@ -1,46 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- type ParameterType = 'Attribute' | 'Relation' | 'Dynamic attribute';
3
- type ValidationEvent = 'onPreSave' | 'onDataChange' | 'onEdit' | 'onNew' | 'onNew & onEdit' | 'onDuplicate' | 'onNew & onDuplicate' | 'onEdit & onDuplicate' | 'onNew & onEdit & onDuplicate';
4
- type ValidationType = 'Content validation' | 'Default value' | 'Editable' | 'Mandatory';
5
- type DefaultValueSetting = 'Always' | 'When blanc' | 'New' | 'When new and blanc';
6
- export type objContentValidation = {
7
- inputFormat?: string;
8
- contentValidationSimple?: string;
9
- contentValidationFormula?: string;
10
- };
11
- export type objDefaultValue = {
12
- defaultValueSetting?: DefaultValueSetting;
13
- defaultValueConditionSimple?: string;
14
- defaultValueConditionFormula?: string;
15
- defaultValueSimple?: string;
16
- defaultValueFormula?: string;
17
- };
18
- export type objEditable = {
19
- flagEditable?: CheckState;
20
- editableConditionSimple?: string;
21
- editableConditionFormula?: string;
22
- };
23
- export type objMandatory = {
24
- flagMandatory?: CheckState;
25
- mandatoryConditionSimple?: string;
26
- mandatoryFormula?: string;
27
- };
28
- export type objFieldInputValidation = {
29
- program?: string;
30
- customView?: string;
31
- userGroup?: string;
32
- validFrom?: string;
33
- validTill?: string;
34
- validationType?: ValidationType;
35
- setField?: string;
36
- setFieldType?: ParameterType;
37
- validationEvent?: ValidationEvent;
38
- field?: string;
39
- fieldType?: ParameterType;
40
- contentValidation?: objContentValidation;
41
- defaultValue?: objDefaultValue;
42
- editable?: objEditable;
43
- mandatory?: objMandatory;
44
- };
45
- export declare const GLO_enterFieldInputValidation: (obj: objFieldInputValidation) => void;
46
- export {};
@@ -1,73 +0,0 @@
1
- import { input, open } from '../tsHelper.js';
2
- const formName = 'ng$field_input_validation_dtl';
3
- export const GLO_enterFieldInputValidation = (obj) => {
4
- cy.GLO_addInput([formName, 'program'], obj.program);
5
- cy.GLO_popupWindow([formName, 'custom_view'], obj.customView);
6
- cy.GLO_addInput([formName, 'sec_group_id'], obj.userGroup);
7
- cy.GLO_addDate(input, [formName, 'valid_from'], obj.validFrom);
8
- cy.GLO_addDate(input, [formName, 'valid_till'], obj.validTill);
9
- cy.GLO_addInput([formName, 'validation_type'], obj.validationType);
10
- if (obj.setField) {
11
- cy.GLO_clickButton([formName, 'set_field'], 'fa-search');
12
- if (obj.setFieldType) {
13
- cy.GLO_addInput(['ng$field_input_validation_dataprovider_dlg', 'parameter_type'], obj.setFieldType);
14
- }
15
- cy.GLO_addInput(['ng$field_input_validation_dataprovider_dlg', 'parameter_attribute'], obj.setField);
16
- cy.GLO_clickButton(['ng$field_input_validation_dataprovider_dlg', 'submit_btn']);
17
- }
18
- cy.GLO_addInput([formName, 'validation_event'], obj.validationEvent);
19
- if (obj.field) {
20
- cy.GLO_clickButton([formName, 'field'], 'fa-search');
21
- if (obj.fieldType) {
22
- cy.GLO_addInput(['ng$field_input_validation_dataprovider_dlg', 'parameter_type'], obj.fieldType);
23
- }
24
- cy.GLO_addInput(['ng$field_input_validation_dataprovider_dlg', 'parameter_attribute'], obj.field);
25
- cy.GLO_clickButton(['ng$field_input_validation_dataprovider_dlg', 'submit_btn']);
26
- }
27
- // Content validation tab
28
- if (obj.contentValidation) {
29
- cy.GLO_selectTab([formName, 'tabs_70'], 'Content validation', open);
30
- enterContentValidation(obj.contentValidation);
31
- }
32
- // Default value tab
33
- if (obj.defaultValue) {
34
- cy.GLO_selectTab([formName, 'tabs_70'], 'Default values', open);
35
- enterDefaultValue(obj.defaultValue);
36
- }
37
- // Editable tab
38
- if (obj.editable) {
39
- cy.GLO_selectTab([formName, 'tabs_70'], 'Editable', open);
40
- enterEditable(obj.editable);
41
- }
42
- // Mandatory tab
43
- if (obj.mandatory) {
44
- cy.GLO_selectTab([formName, 'tabs_70'], 'Mandatory', open);
45
- enterMandatory(obj.mandatory);
46
- }
47
- };
48
- const enterContentValidation = (obj) => {
49
- const tabFormName = 'ng$field_input_validation_dtl_content_validation';
50
- cy.GLO_addInput([tabFormName, 'input_format'], obj.inputFormat);
51
- cy.GLO_addInput([tabFormName, 'content_validation_simple'], obj.contentValidationSimple);
52
- cy.GLO_popupWindow([tabFormName, 'content_validation_formula'], obj.contentValidationFormula);
53
- };
54
- const enterDefaultValue = (obj) => {
55
- const tabFormName = 'ng$field_input_validation_dtl_default_value';
56
- cy.GLO_addInput([tabFormName, 'default_value_setting'], obj.defaultValueSetting);
57
- cy.GLO_addInput([tabFormName, 'default_value_condition_simple'], obj.defaultValueConditionSimple);
58
- cy.GLO_popupWindow([tabFormName, 'default_value_condition_formula'], obj.defaultValueConditionFormula);
59
- cy.GLO_addInput([tabFormName, 'default_value_simple'], obj.defaultValueSimple);
60
- cy.GLO_popupWindow([tabFormName, 'default_value_formula'], obj.defaultValueFormula);
61
- };
62
- const enterEditable = (obj) => {
63
- const tabFormName = 'ng$field_input_validation_dtl_editable';
64
- cy.GLO_checkbox([tabFormName, 'flag_editable'], obj.flagEditable);
65
- cy.GLO_addInput([tabFormName, 'editable_condition_simple'], obj.editableConditionSimple);
66
- cy.GLO_popupWindow([tabFormName, 'editable_condition_formula'], obj.editableConditionFormula);
67
- };
68
- const enterMandatory = (obj) => {
69
- const tabFormName = 'ng$field_input_validation_dtl_mandatory';
70
- cy.GLO_checkbox([tabFormName, 'flag_mandatory'], obj.flagMandatory);
71
- cy.GLO_addInput([tabFormName, 'mandatory_condition_simple'], obj.mandatoryConditionSimple);
72
- cy.GLO_popupWindow([tabFormName, 'mandatory_formula'], obj.mandatoryFormula);
73
- };
@@ -1,9 +0,0 @@
1
- export type objFormula = {
2
- formulaCode?: string;
3
- formulaType?: string;
4
- ticketNr?: string;
5
- formula?: string;
6
- featureCode?: string;
7
- scenarioCode?: string;
8
- };
9
- export declare const GLO_enterFormula: (obj: objFormula) => void;
@@ -1,9 +0,0 @@
1
- export const GLO_enterFormula = (obj) => {
2
- const formName = 'ng$formula_dtl';
3
- cy.GLO_addInput([formName, 'formula_code'], obj.formulaCode);
4
- cy.GLO_addInput([formName, 'formula_type'], obj.formulaType);
5
- cy.GLO_addInput([formName, 'ticket_nr'], obj.ticketNr);
6
- cy.GLO_addInput([formName, 'formula'], obj.formula);
7
- cy.GLO_addInput([formName, 'feature_code'], obj.featureCode);
8
- cy.GLO_addInput([formName, 'scenario_code'], obj.scenarioCode);
9
- };
@@ -1,12 +0,0 @@
1
- export type objGang = {
2
- type?: string;
3
- status?: string;
4
- terminal?: string;
5
- foreman?: string;
6
- tallyman?: string;
7
- shiftDate?: string;
8
- calendarDay?: string;
9
- warehouse?: string;
10
- description?: string;
11
- };
12
- export declare const GLO_createGang: (obj: objGang) => void;