Report generated 01-11-2023 00:35

Regla De Transferencia De Monto Maximo Por Bloque [OEO-280]

 Amount-By-Block (rule)

 Automatic (execution)

 No-Aval (flow)

 50 (sprint)

 OEO-4561 (issue)

 95 (sprint)

 New-Level (calculation)

 Evaluate-Rules (service)

 ADN (app)

 Backend (layer)

 OEO-280 (issue)

 OEO-1581 (issue)

 

Cast

 Andres

  • Andres has:
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@649650f8
    • com.peterland.karate.api.screenplay.facts.AnExpectedResponse@72f8cc92
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@2035228f
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@72d0bf4c
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@3e4243e1
  • Andres can:
    • call an API at https://z2aypbafw5gchmlhyce5ty2vqa.appsync-api.us-east-2.amazonaws.com:443

Scenario Outline

Dado que Andres esta en el siguiente estado
isAvalCustomer<AVAL>
blockOrigin<BLOQUE_ORIGEN>
blockTarget<BLOQUE_DESTINO>
availableAmount<MONTO_DISPONIBLE>
amountToTransfer<MONTO_A_TRANSFERIR>
availableLevel<BLOQUE_ORIGEN>55000000
availableLevel<BLOQUE_DESTINO>0
level<BLOQUE_ORIGEN>55000000
level<BLOQUE_DESTINO>0
currentlyTransferredLIQUIDEZ0
currentlyTransferredSOBREGIRO0
currentlyTransferredTARJETA0
currentlyTransferredFACTORING0
currentlyTransferredCAPITAL0
currentlyTransferredLEASING0
currentlyTransferredEXPOSICION0
currentlyTransferredFILIALES0
currentlyTransferredROTATIVO0
committeeJDB
maxTotalExposure540000

Cuando se evaluan las reglas de negocio
Entonces el traslado aprobado tiene las siguientes caracteristicas
newLevel<BLOQUE_ORIGEN><MONTO_FINAL>

Examples: 

# AVAL BLOQUE ORIGEN BLOQUE DESTINO MONTO DISPONIBLE MONTO A TRANSFERIR MONTO FINAL
1 false CAPITAL LIQUIDEZ 55000000 540000 54460000
2 false CAPITAL LIQUIDEZ 55000000 540000 54460000
3 false FACTORING LEASING 55000000 270000 54460000
4 false FACTORING LEASING 55000000 270000 54460000
Steps Outcome
ERROR 0.15s
ERROR 0.13s
ERROR 0.14s
ERROR 0.14s
ERROR 0.6s
Serenity BDD version 2.1.8