Report generated 01-11-2023 00:35

Reglas Para Regresar A Acta Cero [OEO-1278]

 Is-Possible-Return-Act-Zero (calculation)

 Automatic (execution)

 Return-Act-Zero (rule)

 Smoke-Test (tag)

 Evaluate-Rules (service)

 OEO-1278 (issue)

 ADN (app)

 58 (sprint)

 Backend (layer)

 

Cast

 Andres

  • Andres has:
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@380d1ce6
    • com.peterland.karate.api.screenplay.facts.AnExpectedResponse@72f8cc92
  • 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
returnZeroActtrue
levelLIQUIDEZ<CUPO_ACTUAL>
levelSOBREGIRO55000000
levelTARJETA55000000
levelFACTORING<CUPO_ACTUAL>
levelCAPITAL<CUPO_ACTUAL>
levelLEASING<CUPO_ACTUAL>
levelFILIALES<CUPO_ACTUAL>
levelEXPOSICION<CUPO_ACTUAL>
levelROTATIVO55000000
availableLevelLIQUIDEZ<DISPONIBLE_ACTUAL>
availableLevelSOBREGIRO<DISPONIBLE_ACTUAL>
availableLevelTARJETA<DISPONIBLE_ACTUAL>
availableLevelFACTORING<DISPONIBLE_ACTUAL>
availableLevelCAPITAL<DISPONIBLE_ACTUAL>
availableLevelLEASING<DISPONIBLE_ACTUAL>
availableLevelFILIALES<DISPONIBLE_ACTUAL>
availableLevelEXPOSICION<DISPONIBLE_ACTUAL>
availableLevelROTATIVO<DISPONIBLE_ACTUAL>
initialLevelLIQUIDEZ<CUPO_INICIAL>
initialLevelSOBREGIRO<CUPO_INICIAL>
initialLevelTARJETA<CUPO_INICIAL>
initialLevelFACTORING<CUPO_INICIAL>
initialLevelCAPITAL<CUPO_INICIAL>
initialLevelLEASING<CUPO_INICIAL>
initialLevelFILIALES<CUPO_INICIAL>
initialLevelEXPOSICION<CUPO_INICIAL>
initialLevelROTATIVO<CUPO_INICIAL>

Cuando se evaluan las reglas de negocio para retornar a acta cero
Entonces el traslado aprobado tiene las siguientes caracteristicas
initialLevelReturnLIQUIDEZ<LIQUIDEZ>
initialLevelReturnSOBREGIRO<SOBREGIRO>
initialLevelReturnTARJETA<TARJETA>
initialLevelReturnFACTORING<FACTORING>
initialLevelReturnCAPITAL<CAPITAL>
initialLevelReturnLEASING<LEASING>
initialLevelReturnEXPOSICION<EXPOSICION>
initialLevelReturnFILIALES<FILIALES>
initialLevelReturnROTATIVO<ROTATIVO>
initialLevelValidation<RESULTADO>

Examples: 

# CUPO INICIAL CUPO ACTUAL DISPONIBLE ACTUAL RESULTADO LIQUIDEZ SOBREGIRO TARJETA FACTORING CAPITAL LEASING EXPOSICION FILIALES ROTATIVO
1 55000000 55270000 55000000 true true true true true true true true true true
Steps Outcome
ERROR 0.17s
ERROR 0.19s
Serenity BDD version 2.1.8