Commit dda0fb5b authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

Setup smoke tests

parent 7bb70277
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ ${AEF_ID_NOT_VALID} not-valid

*** Test Cases ***
Retrieve ACL
    [Tags]    capif_api_acl-1
    [Tags]    capif_api_acl-1    smoke
    # Register APF
    ${register_user_info_provider}=    Provider Default Registration

@@ -258,7 +258,7 @@ Retrieve ACL with security context created by two different Invokers
    Should Be True    ${API_INVOKER_2_PRESENT}==${True}

Retrieve ACL filtered by api-invoker-id
    [Tags]    capif_api_acl-4
    [Tags]    capif_api_acl-4    smoke
    # Register APF
    ${register_user_info_provider}=    Provider Default Registration

@@ -526,7 +526,7 @@ Retrieve ACL with AMF Certificate
    ...    cause=Certificate not authorized

Retrieve ACL with Invoker Certificate
    [Tags]    capif_api_acl-13
    [Tags]    capif_api_acl-13    smoke
    ${register_user_info_invoker}
    ...    ${register_user_info_provider}
    ...    ${service_api_description_published}=
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ Get a log entry withut aefid and apiInvokerId
    ...    cause=Mandatory parameters missing

Get Log Entry with apiVersion filter
    [Tags]    capif_api_auditing_service-4
    [Tags]    capif_api_auditing_service-4  smoke
    # Register APF
    ${register_user_info}=    Provider Default Registration

+2 −2
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ Discover Published service APIs by not registered API Invoker
    ...    cause=API Invoker id not found

Discover Published service APIs by registered API Invoker with 1 result filtered
    [Tags]    capif_api_discover_service-4
    [Tags]    capif_api_discover_service-4   smoke
    # Register APF
    ${register_user_info}=    Provider Default Registration

@@ -138,7 +138,7 @@ Discover Published service APIs by registered API Invoker with 1 result filtered
    List Should Contain Value    ${resp.json()['serviceAPIDescriptions']}    ${service_api_description_published_1}

Discover Published service APIs by registered API Invoker filtered with no match
    [Tags]    capif_api_discover_service-5
    [Tags]    capif_api_discover_service-5   smoke
    # Register APF
    ${register_user_info}=    Provider Default Registration

+3 −3
Original line number Diff line number Diff line
@@ -141,7 +141,7 @@ Deletes an individual CAPIF Event Subscription with invalid SubscriptionId
    ...    cause=You are not the owner of this resource

Invoker receives Service API Invocation events
    [Tags]    capif_api_events-6    mockserver
    [Tags]    capif_api_events-6    mockserver   smoke

    # Initialize Mock server
    Init Mock Server
@@ -410,7 +410,7 @@ Provider subscribe to API Invoker events
    Wait Until Keyword Succeeds  5x  5s  Check Mock Server Notification Events    ${events_expected}

Invoker subscribed to ACL update event
    [Tags]    capif_api_events-10    mockserver
    [Tags]    capif_api_events-10    mockserver   smoke

    # Initialize Mock server
    Init Mock Server
@@ -568,7 +568,7 @@ Provider receives an ACL unavailable event when invoker remove Security Context.
    Wait Until Keyword Succeeds  5x  5s  Check Mock Server Notification Events    ${events_expected}

Invoker receives an Invoker Authorization Revoked and ACL unavailable event when Provider revoke Invoker Authorization.
    [Tags]    capif_api_events-12    mockserver
    [Tags]    capif_api_events-12    mockserver  smoke

    # Initialize Mock server
    Init Mock Server
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ Offboard Network App
    Should Be Equal As Strings    ${resp.status_code}    204

Offboard Not Previously Onboarded Network App
    [Tags]    capif_api_invoker_management-6
    [Tags]    capif_api_invoker_management-6   smoke
    # Default Invoker Registration and Onboarding
    ${register_user_info}    ${url}    ${request_body}=    Invoker Default Onboarding

Loading