Skip to content
Snippets Groups Projects
Commit fb332700 authored by Georgi Michev's avatar Georgi Michev
Browse files

Merge branch '15-test-policy-changes-notification' into 'main'

Add scenarios for webhook policy notification

Closes #15

See merge request eclipse/xfsc/tsa/tests!4
parents 5ec2c728 be31261f
Branches
No related tags found
1 merge request!50Resolve "[Test] Policy Changes Notification"
......@@ -36,3 +36,28 @@ Feature: API - TSA - Policy - :group/:name/:version/notifychange POST
And I change the {data_config} field of the policy
Then I wait for {2000} mseconds
And the field {message} has the value {policy changed}
Scenario: TSA - Policy change in {data} field notify by webhook - Positive
When I connect to the webhook of the policy service notification API
And I change the {data} field of the policy
Then I wait for {2000} mseconds
And the field {message} has the value {policy changed}
Scenario: TSA - Policy change in {locked} field notify by webhook - Positive
When I connect to the webhook of the policy service notification API
And I change the {locked} field of the policy
Then I wait for {2000} mseconds
And the field {message} has the value {policy changed}
Scenario: TSA - Policy change in {repository} field notify by webhook - Positive
When I connect to the webhook of the policy service notification API
And I change the {repository} field of the policy
Then I wait for {2000} mseconds
And the field {message} has the value {policy changed}
Scenario: TSA - Policy change in {data_config} field notify by webhook - Positive
When I connect to the webhook of the policy service notification API
And I change the {data_config} field of the policy
Then I wait for {2000} mseconds
And the field {message} has the value {policy changed}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment