WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.
Wait for subscription notification and validate it${subscription_id}${expected_notification_data_entities}timeout=${10}expected_notification_type=Notification
No newline at end of file
OutputAfter:
Query Entity${entity_id}
${notification}=Wait for notificationtimeout=${5}
OutputNotification:
Output${notification}
Should be Equal${subscription_id}${notification}[subscriptionId]
Should be Equal${entity_id}${notification}[data][0][id]
Should be Equal5${notification}[data][0][https://ngsi-ld-test-suite/context#airQualityLevel][value]
Should Be Equal${notification}[type]${expected_notification_type}
Should Be Equal${notification}[subscriptionId]${expected_subscription_id}
@@ -82,7 +86,8 @@ Wait for subscription notification and validate it
${index}=Set Variable0
# TODO Currently we check entities information of the first CSR returned in the notification, find a way to check them all
# Run Keyword If ${expected_notification_data_entities_length}>0 Check Notification Data Entities ${notification}[data][0][information] ${expected_notification_data_entities}
Run Keyword If${expected_notification_data_entities_length}>0Check Notification Data Entities${notification}[data][0][information]${expected_notification_data_entities}