You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by of...@apache.org on 2020/01/03 11:13:12 UTC

[incubator-dlab] branch feature-integration-tests updated: Added version tags of Examples

This is an automated email from the ASF dual-hosted git repository.

ofuks pushed a commit to branch feature-integration-tests
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/feature-integration-tests by this push:
     new 86e9c1b  Added version tags of Examples
86e9c1b is described below

commit 86e9c1b40f7be986259d82ff3ab10e5a6aedad42
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Fri Jan 3 13:12:53 2020 +0200

    Added version tags of Examples
---
 .../src/test/resources/dlab/project.feature        | 67 +++++++++++++++++++---
 1 file changed, 59 insertions(+), 8 deletions(-)

diff --git a/integration-tests-cucumber/src/test/resources/dlab/project.feature b/integration-tests-cucumber/src/test/resources/dlab/project.feature
index ea9477c..3379849 100644
--- a/integration-tests-cucumber/src/test/resources/dlab/project.feature
+++ b/integration-tests-cucumber/src/test/resources/dlab/project.feature
@@ -14,9 +14,14 @@ Feature: Project management in DLab
     When User sends create new project request
     Then User waits maximum <timeout> minutes while project is creating
     Then Status code is 200
+    @v1
     Examples:
       | name | timeout |
       | prj1 | 20      |
+    @v2
+    Examples:
+      | name | timeout |
+      | prj2 | 20      |
 
 
   Scenario Outline: Create new project when project with the same name exists already
@@ -31,9 +36,14 @@ Feature: Project management in DLab
     And User tries to create new project with name "<name>", endpoints, groups, publicKey and use shared image enable "true"
     When User sends create new project request
     Then Status code is 409
+    @v1
     Examples:
       | name |
       | prj1 |
+    @v2
+    Examples:
+      | name |
+      | prj2 |
 
 
   Scenario Outline: Get information about project that exits
@@ -48,17 +58,30 @@ Feature: Project management in DLab
     When User sends request to get information about project
     Then Status code is 200
     And Project information is successfully returned with name "<name>", endpoints, groups
+    @v1
     Examples:
       | name |
       | prj1 |
+    @v2
+    Examples:
+      | name |
+      | prj2 |
 
 
-  Scenario: Get information about a project that does not exists
+  Scenario Outline: Get information about a project that does not exists
 
-    Given There is no project with name "test1" in DLab
-    And User tries to get information about project with name "test1"
+    Given There is no project with name "<name>" in DLab
+    And User tries to get information about project with name "<name>"
     When User sends request to get information about project
     Then Status code is 404
+    @v1
+    Examples:
+      | name  |
+      | test1 |
+    @v2
+    Examples:
+      | name  |
+      | test2 |
 
 
   Scenario Outline: Get information about a project that does not exists
@@ -68,17 +91,32 @@ Feature: Project management in DLab
     When User sends request to get information about projects
     Then Status code is 200
     And Projects are successfully returned
+    @v1
     Examples:
       | name |
       | prj1 |
+    @v2
+    Examples:
+      | name |
+      | prj2 |
+
 
-  Scenario: Edit (change use shared image) a project that is available
+  Scenario Outline: Edit (change use shared image) a project that is available
 
-    Given There is a project with name "prj1" in DLab
+    Given There is a project with name "<name>" in DLab
     And User tries to edit project with shared image enable opposite to existing
     When User sends edit request
     Then Status code is 200
     And Project information is successfully updated with shared image enable
+    @v1
+    Examples:
+      | name |
+      | prj1 |
+    @v2
+    Examples:
+      | name |
+      | prj2 |
+
 
   @terminate
   Scenario Outline: Terminate a project/edge node that exits
@@ -88,15 +126,28 @@ Feature: Project management in DLab
     When User sends termination request
     Then User waits maximum <timeout> minutes while project is terminated
     Then Status code is 200
+    @v1
     Examples:
       | name | timeout |
       | prj1 | 20      |
+    @v2
+    Examples:
+      | name | timeout |
+      | prj2 | 20      |
 
 
   @terminate
-  Scenario: Terminate a project/edge node that does not exists
+  Scenario Outline: Terminate a project/edge node that does not exists
 
-    Given There is no project with name "test1" in DLab
-    And User tries to terminate the project with name "test1"
+    Given There is no project with name "<name>" in DLab
+    And User tries to terminate the project with name "<name>"
     When User sends termination request
     Then Status code is 404
+    @v1
+    Examples:
+      | name  |
+      | test1 |
+    @v2
+    Examples:
+      | name  |
+      | test2 |


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org