Report generated 01-11-2023 00:36

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@5e0049d2
    • com.peterland.karate.api.screenplay.facts.AnExpectedResponse@72f8cc92
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@a865286
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@7406ec09
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@68253536
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@63c89362
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@6f3a354c
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@2404e2a2
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@5dbf27e9
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@4630f74a
  • 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
initialLevel<BLOQUE><CUPO_INICIAL>
level<BLOQUE><CUPO_ACTUAL>
availableLevel<BLOQUE><DISPONIBLE_ACTUAL>

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: 

# BLOQUE CUPO INICIAL CUPO ACTUAL DISPONIBLE ACTUAL RESULTADO LIQUIDEZ SOBREGIRO TARJETA FACTORING CAPITAL LEASING EXPOSICION FILIALES ROTATIVO
1 LIQUIDEZ 55000000 54730000 -810000 false false true true true true true true true true
2 SOBREGIRO 55000000 54730000 -810000 true true true true true true true true true true
3 TARJETA 55000000 54730000 -810000 true true true true true true true true true true
4 FACTORING 55000000 54730000 -810000 false true true true false true true true true true
5 CAPITAL 55000000 54730000 -810000 false true true true true false true true true true
6 LEASING 55000000 54730000 -810000 false true true true true true false true true true
7 EXPOSICION 55000000 54730000 -810000 false true true true true true true false true true
8 FILIALES 55000000 54730000 -810000 false true true true true true true true false true
9 ROTATIVO 55000000 54730000 -810000 true true true true true true true true true true
Steps Outcome
ERROR 0.18s
ERROR 0.21s
ERROR 0.23s
ERROR 0.18s
ERROR 0.2s
ERROR 0.19s
ERROR 0.18s
ERROR 0.18s
ERROR 0.18s
ERROR 1.78s
Serenity BDD version 2.1.8