Commit 7b8853afe938592d84a92f8adb9e772355d13e10
1 parent
0f1414ac
Exists in
master
and in
23 other branches
[Mezuro] moved features to test
Showing
2 changed files
with
69 additions
and
69 deletions
Show diff stats
plugins/mezuro/features/mezuro.feature
| @@ -1,69 +0,0 @@ | @@ -1,69 +0,0 @@ | ||
| 1 | -Feature: mezuro content | ||
| 2 | - As a noosfero user | ||
| 3 | - I want to create a Kalibro project | ||
| 4 | - | ||
| 5 | - Background: | ||
| 6 | - Given the following users | ||
| 7 | - | login | name | | ||
| 8 | - | joaosilva | Joao Silva | | ||
| 9 | - And I am logged in as "joaosilva" | ||
| 10 | - And "Mezuro" plugin is enabled | ||
| 11 | - And the following community | ||
| 12 | - | identifier | name | | ||
| 13 | - | mycommunity | My Community | | ||
| 14 | - And "Joao Silva" is admin of "My Community" | ||
| 15 | - | ||
| 16 | - Scenario: I see Kalibro project as an option to new content | ||
| 17 | - Given I am on My Community's cms | ||
| 18 | - When I follow "New content" | ||
| 19 | - Then I should see "Kalibro project" | ||
| 20 | - | ||
| 21 | - Scenario: I see Kalibro project's input form | ||
| 22 | - Given I am on My Community's cms | ||
| 23 | - When I follow "New content" | ||
| 24 | - And I follow "Kalibro project" | ||
| 25 | - Then I should see "Title" | ||
| 26 | - And I should see "License" | ||
| 27 | - And I should see "Repository type" | ||
| 28 | - And I should see "GIT" | ||
| 29 | - And I should see "REMOTE_ZIP" | ||
| 30 | - And I should see "REMOTE_TARBALL" | ||
| 31 | - And I should see "SUBVERSION" | ||
| 32 | - And I should see "Repository url" | ||
| 33 | - And I should see "Configuration" | ||
| 34 | - And I should see "Kalibro for Java" | ||
| 35 | - | ||
| 36 | - Scenario: I create a sample mezuro content | ||
| 37 | - Given I am on My Community's cms | ||
| 38 | - When I create a content of type "Kalibro project" with the following data | ||
| 39 | - | Title | Sample project | | ||
| 40 | - | License | BSD | | ||
| 41 | - | Repository type | GIT | | ||
| 42 | - | Repository url | git://example | | ||
| 43 | - Then I should see "Sample project" | ||
| 44 | - And I should see "Viewed one time" | ||
| 45 | - And I should see "BSD" | ||
| 46 | - | ||
| 47 | - Scenario: I create a real mezuro content | ||
| 48 | - Given I am on My Community's cms | ||
| 49 | - When I create a content of type "Kalibro project" with the following data | ||
| 50 | - | Title | Qt-Calculator | | ||
| 51 | - | License | GPL 2.0 | | ||
| 52 | - | Repository type | SUBVERSION | | ||
| 53 | - | Repository url | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator | | ||
| 54 | - Then I should see "Qt-Calculator" | ||
| 55 | - | ||
| 56 | - Scenario: I see results from a real Kalibro project | ||
| 57 | - Given I am on My Community's cms | ||
| 58 | - When I create a content of type "Kalibro project" with the following data | ||
| 59 | - | Title | Qt-Calculator | | ||
| 60 | - | License | GPL | | ||
| 61 | - | Repository type | SUBVERSION | | ||
| 62 | - | Repository url | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator | | ||
| 63 | - | Configuration | Kalibro for Java | | ||
| 64 | - Then I should see "Qt-Calculator" | ||
| 65 | - And I should see "GPL" | ||
| 66 | - And I should see "SUBVERSION" | ||
| 67 | - And I should see "https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator" | ||
| 68 | - And I should see "Kalibro for Java" | ||
| 69 | - And I should see "Kalibro Service is loading the source code" |
| @@ -0,0 +1,69 @@ | @@ -0,0 +1,69 @@ | ||
| 1 | +Feature: mezuro content | ||
| 2 | + As a noosfero user | ||
| 3 | + I want to create a Kalibro project | ||
| 4 | + | ||
| 5 | + Background: | ||
| 6 | + Given the following users | ||
| 7 | + | login | name | | ||
| 8 | + | joaosilva | Joao Silva | | ||
| 9 | + And I am logged in as "joaosilva" | ||
| 10 | + And "Mezuro" plugin is enabled | ||
| 11 | + And the following community | ||
| 12 | + | identifier | name | | ||
| 13 | + | mycommunity | My Community | | ||
| 14 | + And "Joao Silva" is admin of "My Community" | ||
| 15 | + | ||
| 16 | + Scenario: I see Kalibro project as an option to new content | ||
| 17 | + Given I am on My Community's cms | ||
| 18 | + When I follow "New content" | ||
| 19 | + Then I should see "Kalibro project" | ||
| 20 | + | ||
| 21 | + Scenario: I see Kalibro project's input form | ||
| 22 | + Given I am on My Community's cms | ||
| 23 | + When I follow "New content" | ||
| 24 | + And I follow "Kalibro project" | ||
| 25 | + Then I should see "Title" | ||
| 26 | + And I should see "License" | ||
| 27 | + And I should see "Repository type" | ||
| 28 | + And I should see "GIT" | ||
| 29 | + And I should see "REMOTE_ZIP" | ||
| 30 | + And I should see "REMOTE_TARBALL" | ||
| 31 | + And I should see "SUBVERSION" | ||
| 32 | + And I should see "Repository url" | ||
| 33 | + And I should see "Configuration" | ||
| 34 | + And I should see "Kalibro for Java" | ||
| 35 | + | ||
| 36 | + Scenario: I create a sample mezuro content | ||
| 37 | + Given I am on My Community's cms | ||
| 38 | + When I create a content of type "Kalibro project" with the following data | ||
| 39 | + | Title | Sample project | | ||
| 40 | + | License | BSD | | ||
| 41 | + | Repository type | GIT | | ||
| 42 | + | Repository url | git://example | | ||
| 43 | + Then I should see "Sample project" | ||
| 44 | + And I should see "Viewed one time" | ||
| 45 | + And I should see "BSD" | ||
| 46 | + | ||
| 47 | + Scenario: I create a real mezuro content | ||
| 48 | + Given I am on My Community's cms | ||
| 49 | + When I create a content of type "Kalibro project" with the following data | ||
| 50 | + | Title | Qt-Calculator | | ||
| 51 | + | License | GPL 2.0 | | ||
| 52 | + | Repository type | SUBVERSION | | ||
| 53 | + | Repository url | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator | | ||
| 54 | + Then I should see "Qt-Calculator" | ||
| 55 | + | ||
| 56 | + Scenario: I see results from a real Kalibro project | ||
| 57 | + Given I am on My Community's cms | ||
| 58 | + When I create a content of type "Kalibro project" with the following data | ||
| 59 | + | Title | Qt-Calculator | | ||
| 60 | + | License | GPL | | ||
| 61 | + | Repository type | SUBVERSION | | ||
| 62 | + | Repository url | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator | | ||
| 63 | + | Configuration | Kalibro for Java | | ||
| 64 | + Then I should see "Qt-Calculator" | ||
| 65 | + And I should see "GPL" | ||
| 66 | + And I should see "SUBVERSION" | ||
| 67 | + And I should see "https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator" | ||
| 68 | + And I should see "Kalibro for Java" | ||
| 69 | + And I should see "Kalibro Service is loading the source code" |