Commit 39e1ba90a2dc0bfe0a11a31b8ff5d84d685c65c4
Committed by
Paulo Meireles
1 parent
1aff374c
Exists in
master
and in
28 other branches
[Mezuro] Fixing create project acceptance test
Showing
1 changed file
with
5 additions
and
6 deletions
Show diff stats
plugins/mezuro/features/creating_project.feature
| @@ -31,24 +31,23 @@ Feature: Create project | @@ -31,24 +31,23 @@ Feature: Create project | ||
| 31 | Given I am on My Community's control panel | 31 | Given I am on My Community's control panel |
| 32 | When I create a Mezuro project with the following data | 32 | When I create a Mezuro project with the following data |
| 33 | | Title | Sample Project | | 33 | | Title | Sample Project | |
| 34 | - | License | GPL | | 34 | + | License | GNU General Public License version 2.0 (GPL-2.0) | |
| 35 | | Repository type | SUBVERSION | | 35 | | Repository type | SUBVERSION | |
| 36 | | Repository url | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator | | 36 | | Repository url | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator | |
| 37 | | Configuration | Kalibro for Java | | 37 | | Configuration | Kalibro for Java | |
| 38 | Then I should see "Sample Project" | 38 | Then I should see "Sample Project" |
| 39 | - And I should see "GPL" | 39 | + And I should see "GNU General Public License version 2.0 (GPL-2.0)" |
| 40 | And I should see "SUBVERSION" | 40 | And I should see "SUBVERSION" |
| 41 | And I should see "https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator" | 41 | And I should see "https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator" |
| 42 | And I should see "Kalibro for Java" | 42 | And I should see "Kalibro for Java" |
| 43 | - And I directly delete content with name "Sample Project" for testing purposes | ||
| 44 | 43 | ||
| 45 | Scenario: I can't create a Mezuro project with invalid attributes | 44 | Scenario: I can't create a Mezuro project with invalid attributes |
| 46 | Given I am on My Community's control panel | 45 | Given I am on My Community's control panel |
| 47 | When I create a Mezuro project with the following data | 46 | When I create a Mezuro project with the following data |
| 48 | | Title | | | 47 | | Title | | |
| 49 | - | License | GPL | | 48 | + | License | GNU General Public License version 2.0 (GPL-2.0) | |
| 50 | | Repository type | SUBVERSION | | 49 | | Repository type | SUBVERSION | |
| 51 | | Repository url | | | 50 | | Repository url | | |
| 52 | | Configuration | Kalibro for Java | | 51 | | Configuration | Kalibro for Java | |
| 53 | - Then I should see "Title can't be blank" | ||
| 54 | - And I should see "Missing repository url" | 52 | + Then I should see "The highlighted fields are mandatory." |
| 53 | + And I should see "Repository URL is mandatory" |