ofuks commented on a change in pull request #512: [DLAB-1418]: Created 
integration tests for project in Gherkin
URL: https://github.com/apache/incubator-dlab/pull/512#discussion_r361936100
 
 

 ##########
 File path: integration-tests-cucumber/src/test/resources/dlab/project.feature
 ##########
 @@ -1,18 +1,146 @@
 Feature: Project management in DLab
   Such feature allowed to manage projects inside DLab
 
-  Scenario Outline: Create new project when it does not exist
+  Scenario Outline: Create new project when it does not exist and use shared 
image is enable
 
     Given There is no project with name "<name>" in DLab
     And There are the following endpoints
       | local |
     And There are the following groups
       | $anyuser |
-    And User generate new publicKey
-    And User try to create new project with name "<name>", endpoints, groups 
and publicKey
-    When User send create new project request
-    Then User wait maximum <timeout> minutes while project is creating
+    And User generates new publicKey
+    When User tries to create new project with name "<name>", endpoints, 
groups, publicKey and use shared image "true"
+    And User sends create new project request
+    Then User waits maximum <timeout> minutes while project is creating
     Then Status code is 200
     Examples:
       | name | timeout |
-      | prj1 | 20      |
\ No newline at end of file
+      | prj1 | 20      |
+
+
+  Scenario Outline: Create new project when project with the same name exists 
already
+
+    Given There are the following projects
+      | prj1 |
+    And There are the following endpoints
+      | local |
+    And There are the following groups
+      | $anyuser |
+    And User generates new publicKey
+    When User tries to create new project with name "<name>", endpoints, 
groups, publicKey and use shared image "true"
 
 Review comment:
   The same here

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to