Home > Adn > Api > Role > Consulta De Roles Adn > Usuario con rol de gerente
Report generated 01-11-2023 00:34

Consulta De Roles Adn [OEO-920]

 Automatic (execution)

 31 (sprint)

 OEO-920 (issue)

 Get-Manager (service)

 ADN (app)

 Backend (layer)

Usuario con rol de gerente (OEO-920)
 

Cast

 Cindy

  • Cindy has:
    • com.bocc.adn.api.model.screenplay.data.info.AnInfo@3b7fffb8
  • Cindy can:
    • call an API at https://z2aypbafw5gchmlhyce5ty2vqa.appsync-api.us-east-2.amazonaws.com:443

Steps Outcome
Dado que Cindy es un gerente con la siguientes caracteristicas
mailfoortiz@bancodeoccidente.com.co
SUCCESS 0s
SUCCESS 0.11s
Entonces la siguiente informacion esta presente
$.data.getManager contains{ "role": "GERENTE"}
ERROR 0.01s
 
com.intuit.karate.exception.KarateException: path: $.data.getManager, actual: null, expected: com.jayway.jsonpath.internal.JsonContext@2ebf0845, reason: actual json-path does not exist

com.intuit.karate.exception.KarateException

com.intuit.karate.core.ScenarioContext.match(ScenarioContext.java:773)
com.intuit.karate.StepActions.match(StepActions.java:315)
com.bocc.adn.api.features.common.CommonDefs.laSolicitudIncluye(CommonDefs.java:49)
com.bocc.adn.api.features.common.CommonDefs.laSiguienteInformacionEstaPresente(CommonDefs.java:56)
✽.la siguiente informacion esta presente(classpath:features/adn/api/role/get_role.feature:17)
ERROR 0.13s
Serenity BDD version 2.1.8