added skip on stable 3.0 tag (#7073)

This commit is contained in:
nirajacharya2
2023-08-22 13:16:08 +05:45
committed by GitHub
parent 358bfef42e
commit 3e6b8da6a1
3 changed files with 32 additions and 16 deletions

View File

@@ -1,3 +1,4 @@
@skipOnStable3.0
Feature: Deprovisioning notification
As a user admin
I want to inform users about shutting down and deprovisioning the instance
@@ -11,9 +12,8 @@ Feature: Deprovisioning notification
Scenario: administrator creates a deprovisioning notification about shutting down the instance
When the administrator creates a deprovisioning notification
Then the HTTP status code should be "200"
When user "Alice" lists all notifications
Then the HTTP status code should be "200"
And user "Alice" lists all notifications
Then the HTTP status code of responses on each endpoint should be "200, 200" respectively
And the JSON response should contain a notification message with the subject "Instance will be shut down and deprovisioned" and the message-details should match
"""
{
@@ -152,7 +152,7 @@ Feature: Deprovisioning notification
"""
Scenario: administrator tries to delete the deprovisioning notification
Scenario: administrator deletes the deprovisioning notification
Given the administrator has created a deprovisioning notification
When the administrator deletes the deprovisioning notification
Then the HTTP status code should be "200"
@@ -173,9 +173,8 @@ Feature: Deprovisioning notification
Scenario Outline: administrator creates a deprovisioning notification with different date formats
When the administrator creates a deprovisioning notification for date "<deprovision_date>" of format "<deprovision_date_format>"
Then the HTTP status code should be "200"
When user "Alice" lists all notifications
Then the HTTP status code should be "200"
And user "Alice" lists all notifications
Then the HTTP status code of responses on each endpoint should be "200, 200" respectively
And the JSON response should contain a notification message with the subject "Instance will be shut down and deprovisioned" and the message-details should match
"""
{
@@ -208,9 +207,8 @@ Feature: Deprovisioning notification
Scenario Outline: administrator change a deprovisioning notification with different date formats
Given the administrator has created a deprovisioning notification
When the administrator creates a deprovisioning notification for date "<deprovision_date>" of format "<deprovision_date_format>"
Then the HTTP status code should be "200"
When user "Alice" lists all notifications
Then the HTTP status code should be "200"
And user "Alice" lists all notifications
Then the HTTP status code of responses on each endpoint should be "200, 200" respectively
And the JSON response should contain a notification message with the subject "Instance will be shut down and deprovisioned" and the message-details should match
"""
{