Commit a6358db96d8f7ff738e0ff7256f488b6e2dba351
1 parent
f9a0274c
Exists in
colab
and in
4 other branches
kalibro_configuration_restart hook
Showing
32 changed files
with
105 additions
and
105 deletions
Show diff stats
Gemfile.lock
| 1 | GIT | 1 | GIT |
| 2 | remote: https://github.com/mezuro/kalibro_client | 2 | remote: https://github.com/mezuro/kalibro_client |
| 3 | - revision: 59844cd178b34f59a3a307e500782d0860de5ed9 | 3 | + revision: 212353618d1bc315b26dfd77793654be205397fc |
| 4 | specs: | 4 | specs: |
| 5 | kalibro_client (0.0.1) | 5 | kalibro_client (0.0.1) |
| 6 | activeresource (~> 4.0.0) | 6 | activeresource (~> 4.0.0) |
features/compound_metric_configuration/create.feature
| @@ -3,7 +3,7 @@ Feature: Compound Metric Configuration Creation | @@ -3,7 +3,7 @@ Feature: Compound Metric Configuration Creation | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to create compound metric configurations | 4 | I should be able to create compound metric configurations |
| 5 | 5 | ||
| 6 | - @kalibro_restart @javascript | 6 | + @kalibro_configuration_restart @javascript |
| 7 | Scenario: compound metric configuration creation | 7 | Scenario: compound metric configuration creation |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
features/compound_metric_configuration/edition.feature
| @@ -3,7 +3,7 @@ Feature: Compound Metric Configuration edition | @@ -3,7 +3,7 @@ Feature: Compound Metric Configuration edition | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should edit the informations of compound metric configurations | 4 | I should edit the informations of compound metric configurations |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: the configuration is not mine | 7 | Scenario: the configuration is not mine |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -14,7 +14,7 @@ Feature: Compound Metric Configuration edition | @@ -14,7 +14,7 @@ Feature: Compound Metric Configuration edition | ||
| 14 | When I am at the Sample Configuration page | 14 | When I am at the Sample Configuration page |
| 15 | Then I should not see Edit within table | 15 | Then I should not see Edit within table |
| 16 | 16 | ||
| 17 | - @kalibro_restart | 17 | + @kalibro_configuration_restart |
| 18 | Scenario: editing a compound metric configuration successfully | 18 | Scenario: editing a compound metric configuration successfully |
| 19 | Given I am a regular user | 19 | Given I am a regular user |
| 20 | And I am signed in | 20 | And I am signed in |
| @@ -30,7 +30,7 @@ Feature: Compound Metric Configuration edition | @@ -30,7 +30,7 @@ Feature: Compound Metric Configuration edition | ||
| 30 | Then I should see "Another_code" | 30 | Then I should see "Another_code" |
| 31 | And I should see "Compound Metric Configuration was successfully updated." | 31 | And I should see "Compound Metric Configuration was successfully updated." |
| 32 | 32 | ||
| 33 | - @kalibro_restart | 33 | + @kalibro_configuration_restart |
| 34 | Scenario: trying to edit with blank fields | 34 | Scenario: trying to edit with blank fields |
| 35 | Given I am a regular user | 35 | Given I am a regular user |
| 36 | And I am signed in | 36 | And I am signed in |
| @@ -51,7 +51,7 @@ Feature: Compound Metric Configuration edition | @@ -51,7 +51,7 @@ Feature: Compound Metric Configuration edition | ||
| 51 | And I should see "Weight can't be blank" | 51 | And I should see "Weight can't be blank" |
| 52 | 52 | ||
| 53 | 53 | ||
| 54 | - @kalibro_restart | 54 | + @kalibro_configuration_restart |
| 55 | Scenario: trying to edit with an existing code | 55 | Scenario: trying to edit with an existing code |
| 56 | Given I am a regular user | 56 | Given I am a regular user |
| 57 | And I am signed in | 57 | And I am signed in |
features/compound_metric_configuration/show.feature
| @@ -3,7 +3,7 @@ Feature: Show Compound Metric Configuration | @@ -3,7 +3,7 @@ Feature: Show Compound Metric Configuration | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to see each of them | 4 | I should be able to see each of them |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Checking metric configuration show link | 7 | Scenario: Checking metric configuration show link |
| 8 | Given I have a sample configuration | 8 | Given I have a sample configuration |
| 9 | And I have a sample reading group | 9 | And I have a sample reading group |
features/metric_configuration/create.feature
| @@ -3,13 +3,13 @@ Feature: Metric Configuration Creation | @@ -3,13 +3,13 @@ Feature: Metric Configuration Creation | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to create metric configurations | 4 | I should be able to create metric configurations |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Should not create metric configurations without login | 7 | Scenario: Should not create metric configurations without login |
| 8 | Given I have a sample configuration | 8 | Given I have a sample configuration |
| 9 | And I am at the Sample Configuration page | 9 | And I am at the Sample Configuration page |
| 10 | Then I should not see "New Metric Configuration" | 10 | Then I should not see "New Metric Configuration" |
| 11 | 11 | ||
| 12 | - @kalibro_restart @javascript | 12 | + @kalibro_configuration_restart @javascript |
| 13 | Scenario: metric configuration creation | 13 | Scenario: metric configuration creation |
| 14 | Given I am a regular user | 14 | Given I am a regular user |
| 15 | And I am signed in | 15 | And I am signed in |
| @@ -26,7 +26,7 @@ Feature: Metric Configuration Creation | @@ -26,7 +26,7 @@ Feature: Metric Configuration Creation | ||
| 26 | Then I should see "Total Lines of Code" | 26 | Then I should see "Total Lines of Code" |
| 27 | Then I should see "2" | 27 | Then I should see "2" |
| 28 | 28 | ||
| 29 | - @kalibro_restart @javascript | 29 | + @kalibro_configuration_restart @javascript |
| 30 | Scenario: metric configuration creation | 30 | Scenario: metric configuration creation |
| 31 | Given I am a regular user | 31 | Given I am a regular user |
| 32 | And I am signed in | 32 | And I am signed in |
features/metric_configuration/delete.feature
| @@ -3,7 +3,7 @@ Feature: Metric Configuration Deletion | @@ -3,7 +3,7 @@ Feature: Metric Configuration Deletion | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | The system should have an interface to it | 4 | The system should have an interface to it |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Should delete a metric configuration that I own | 7 | Scenario: Should delete a metric configuration that I own |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -14,7 +14,7 @@ Feature: Metric Configuration Deletion | @@ -14,7 +14,7 @@ Feature: Metric Configuration Deletion | ||
| 14 | And I click the Destroy link | 14 | And I click the Destroy link |
| 15 | Then I should see "There are no Metric Configurations yet!" | 15 | Then I should see "There are no Metric Configurations yet!" |
| 16 | 16 | ||
| 17 | - @kalibro_restart | 17 | + @kalibro_configuration_restart |
| 18 | Scenario: Should not see the destroy metric configuration link in the mezuro configuration that I not own | 18 | Scenario: Should not see the destroy metric configuration link in the mezuro configuration that I not own |
| 19 | Given I am a regular user | 19 | Given I am a regular user |
| 20 | And I am signed in | 20 | And I am signed in |
features/metric_configuration/edition.feature
| @@ -3,7 +3,7 @@ Feature: Metric Configuration edition | @@ -3,7 +3,7 @@ Feature: Metric Configuration edition | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should edit the informations of metric configurations | 4 | I should edit the informations of metric configurations |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: the configuration is not mine | 7 | Scenario: the configuration is not mine |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -13,7 +13,7 @@ Feature: Metric Configuration edition | @@ -13,7 +13,7 @@ Feature: Metric Configuration edition | ||
| 13 | When I am at the Sample Configuration page | 13 | When I am at the Sample Configuration page |
| 14 | Then I should not see Edit within table | 14 | Then I should not see Edit within table |
| 15 | 15 | ||
| 16 | - @kalibro_restart | 16 | + @kalibro_configuration_restart |
| 17 | Scenario: editing a metric configuration successfully | 17 | Scenario: editing a metric configuration successfully |
| 18 | Given I am a regular user | 18 | Given I am a regular user |
| 19 | And I am signed in | 19 | And I am signed in |
| @@ -26,7 +26,7 @@ Feature: Metric Configuration edition | @@ -26,7 +26,7 @@ Feature: Metric Configuration edition | ||
| 26 | And I press the Save button | 26 | And I press the Save button |
| 27 | Then I should see "3.0" | 27 | Then I should see "3.0" |
| 28 | 28 | ||
| 29 | - @kalibro_restart | 29 | + @kalibro_configuration_restart |
| 30 | Scenario: trying to edit with blank fields | 30 | Scenario: trying to edit with blank fields |
| 31 | Given I am a regular user | 31 | Given I am a regular user |
| 32 | And I am signed in | 32 | And I am signed in |
| @@ -38,7 +38,7 @@ Feature: Metric Configuration edition | @@ -38,7 +38,7 @@ Feature: Metric Configuration edition | ||
| 38 | And I press the Save button | 38 | And I press the Save button |
| 39 | Then I should see "Weight can't be blank" | 39 | Then I should see "Weight can't be blank" |
| 40 | 40 | ||
| 41 | - @kalibro_restart | 41 | + @kalibro_configuration_restart |
| 42 | Scenario: Should not edit a metric configuration with invalid weight | 42 | Scenario: Should not edit a metric configuration with invalid weight |
| 43 | Given I am a regular user | 43 | Given I am a regular user |
| 44 | And I am signed in | 44 | And I am signed in |
features/metric_configuration/listing.feature
| @@ -3,7 +3,7 @@ Feature: Configuration listing | @@ -3,7 +3,7 @@ Feature: Configuration listing | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should see the metric configurations of a given configuration | 4 | I should see the metric configurations of a given configuration |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: When there are no metric configurations | 7 | Scenario: When there are no metric configurations |
| 8 | Given I have a sample configuration | 8 | Given I have a sample configuration |
| 9 | When I am at the Sample Configuration page | 9 | When I am at the Sample Configuration page |
| @@ -12,7 +12,7 @@ Feature: Configuration listing | @@ -12,7 +12,7 @@ Feature: Configuration listing | ||
| 12 | And I should see "Weight" | 12 | And I should see "Weight" |
| 13 | And I should see "There are no Metric Configurations yet!" | 13 | And I should see "There are no Metric Configurations yet!" |
| 14 | 14 | ||
| 15 | - @kalibro_restart | 15 | + @kalibro_configuration_restart |
| 16 | Scenario: When there are metric configurations | 16 | Scenario: When there are metric configurations |
| 17 | Given I have a sample configuration | 17 | Given I have a sample configuration |
| 18 | And I have a sample reading group | 18 | And I have a sample reading group |
| @@ -20,7 +20,7 @@ Feature: Configuration listing | @@ -20,7 +20,7 @@ Feature: Configuration listing | ||
| 20 | When I am at the Sample Configuration page | 20 | When I am at the Sample Configuration page |
| 21 | Then I should see the sample metric configuration content | 21 | Then I should see the sample metric configuration content |
| 22 | 22 | ||
| 23 | - @kalibro_restart | 23 | + @kalibro_configuration_restart |
| 24 | Scenario: I should see the add metric link when I am the owner of the given configuration | 24 | Scenario: I should see the add metric link when I am the owner of the given configuration |
| 25 | Given I am a regular user | 25 | Given I am a regular user |
| 26 | And I am signed in | 26 | And I am signed in |
| @@ -28,7 +28,7 @@ Feature: Configuration listing | @@ -28,7 +28,7 @@ Feature: Configuration listing | ||
| 28 | When I am at the Sample Configuration page | 28 | When I am at the Sample Configuration page |
| 29 | Then I should see "Add Metric" | 29 | Then I should see "Add Metric" |
| 30 | 30 | ||
| 31 | - @kalibro_restart | 31 | + @kalibro_configuration_restart |
| 32 | Scenario: I should not see the add metric link when I am at a given configuration page | 32 | Scenario: I should not see the add metric link when I am at a given configuration page |
| 33 | Given I am a regular user | 33 | Given I am a regular user |
| 34 | And I am signed in | 34 | And I am signed in |
features/metric_configuration/show.feature
| @@ -3,7 +3,7 @@ Feature: Show Metric Configuration | @@ -3,7 +3,7 @@ Feature: Show Metric Configuration | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to see each of them | 4 | I should be able to see each of them |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Checking metric configuration show link | 7 | Scenario: Checking metric configuration show link |
| 8 | Given I have a sample configuration | 8 | Given I have a sample configuration |
| 9 | And I have a sample reading group | 9 | And I have a sample reading group |
| @@ -15,7 +15,7 @@ Feature: Show Metric Configuration | @@ -15,7 +15,7 @@ Feature: Show Metric Configuration | ||
| 15 | Then I should be at metric configuration sample page | 15 | Then I should be at metric configuration sample page |
| 16 | And I should see the sample range | 16 | And I should see the sample range |
| 17 | 17 | ||
| 18 | - @kalibro_restart @javascript | 18 | + @kalibro_configuration_restart @javascript |
| 19 | Scenario: When there's a range created and I want to see its comments | 19 | Scenario: When there's a range created and I want to see its comments |
| 20 | Given I have a sample configuration | 20 | Given I have a sample configuration |
| 21 | And I have a sample reading group | 21 | And I have a sample reading group |
features/mezuro_configuration/create.feature
| @@ -3,12 +3,12 @@ Feature: Configuration Creation | @@ -3,12 +3,12 @@ Feature: Configuration Creation | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to create configurations | 4 | I should be able to create configurations |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Should not create configuration without login | 7 | Scenario: Should not create configuration without login |
| 8 | Given I am at the All Configurations page | 8 | Given I am at the All Configurations page |
| 9 | Then I should not see "New Configuration" | 9 | Then I should not see "New Configuration" |
| 10 | 10 | ||
| 11 | - @kalibro_restart | 11 | + @kalibro_configuration_restart |
| 12 | Scenario: configuration creation | 12 | Scenario: configuration creation |
| 13 | Given I am a regular user | 13 | Given I am a regular user |
| 14 | And I am signed in | 14 | And I am signed in |
| @@ -19,7 +19,7 @@ Feature: Configuration Creation | @@ -19,7 +19,7 @@ Feature: Configuration Creation | ||
| 19 | Then I should see "Kalibro" | 19 | Then I should see "Kalibro" |
| 20 | And I should see "Web Service to collect metrics" | 20 | And I should see "Web Service to collect metrics" |
| 21 | 21 | ||
| 22 | - @kalibro_restart | 22 | + @kalibro_configuration_restart |
| 23 | Scenario: configuration creation with already taken name | 23 | Scenario: configuration creation with already taken name |
| 24 | Given I am a regular user | 24 | Given I am a regular user |
| 25 | And I am signed in | 25 | And I am signed in |
| @@ -30,7 +30,7 @@ Feature: Configuration Creation | @@ -30,7 +30,7 @@ Feature: Configuration Creation | ||
| 30 | When I press the Save button | 30 | When I press the Save button |
| 31 | Then I should see "Name There is already a KalibroConfiguration with name Kalibro!" | 31 | Then I should see "Name There is already a KalibroConfiguration with name Kalibro!" |
| 32 | 32 | ||
| 33 | - @kalibro_restart | 33 | + @kalibro_configuration_restart |
| 34 | Scenario: configuration creation with blank name | 34 | Scenario: configuration creation with blank name |
| 35 | Given I am a regular user | 35 | Given I am a regular user |
| 36 | And I am signed in | 36 | And I am signed in |
features/mezuro_configuration/deletion.feature
| @@ -3,13 +3,13 @@ Feature: Configuration Deletion | @@ -3,13 +3,13 @@ Feature: Configuration Deletion | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | The system should have an interface to it | 4 | The system should have an interface to it |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Should not delete a configuration without user authentication | 7 | Scenario: Should not delete a configuration without user authentication |
| 8 | Given I have a sample configuration | 8 | Given I have a sample configuration |
| 9 | When I am at the Sample Configuration page | 9 | When I am at the Sample Configuration page |
| 10 | Then I should not see "Destroy" | 10 | Then I should not see "Destroy" |
| 11 | 11 | ||
| 12 | - @kalibro_restart | 12 | + @kalibro_configuration_restart |
| 13 | Scenario: Should not delete a configuration that doesn't belongs to user | 13 | Scenario: Should not delete a configuration that doesn't belongs to user |
| 14 | Given I am a regular user | 14 | Given I am a regular user |
| 15 | And I am signed in | 15 | And I am signed in |
| @@ -17,7 +17,7 @@ Feature: Configuration Deletion | @@ -17,7 +17,7 @@ Feature: Configuration Deletion | ||
| 17 | When I am at the Sample Configuration page | 17 | When I am at the Sample Configuration page |
| 18 | Then I should not see "Destroy" | 18 | Then I should not see "Destroy" |
| 19 | 19 | ||
| 20 | - @kalibro_restart | 20 | + @kalibro_configuration_restart |
| 21 | Scenario: Should delete a configuration that I own | 21 | Scenario: Should delete a configuration that I own |
| 22 | Given I am a regular user | 22 | Given I am a regular user |
| 23 | And I am signed in | 23 | And I am signed in |
features/mezuro_configuration/edition.feature
| @@ -3,7 +3,7 @@ Feature: Configuration | @@ -3,7 +3,7 @@ Feature: Configuration | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to edit my configurations | 4 | I should be able to edit my configurations |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Should go to the edit page from a configuration that I own | 7 | Scenario: Should go to the edit page from a configuration that I own |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -12,7 +12,7 @@ Feature: Configuration | @@ -12,7 +12,7 @@ Feature: Configuration | ||
| 12 | When I click the Edit link | 12 | When I click the Edit link |
| 13 | Then I should be in the Edit Configuration page | 13 | Then I should be in the Edit Configuration page |
| 14 | 14 | ||
| 15 | - @kalibro_restart | 15 | + @kalibro_configuration_restart |
| 16 | Scenario: Should not show edit links from configurations that doesn't belongs to me | 16 | Scenario: Should not show edit links from configurations that doesn't belongs to me |
| 17 | Given I am a regular user | 17 | Given I am a regular user |
| 18 | And I am signed in | 18 | And I am signed in |
| @@ -20,7 +20,7 @@ Feature: Configuration | @@ -20,7 +20,7 @@ Feature: Configuration | ||
| 20 | And I am at the All Configurations page | 20 | And I am at the All Configurations page |
| 21 | Then I should not see Edit within table | 21 | Then I should not see Edit within table |
| 22 | 22 | ||
| 23 | - @kalibro_restart | 23 | + @kalibro_configuration_restart |
| 24 | Scenario: Should not render the edit page if the configuration doesn't belongs to the current user | 24 | Scenario: Should not render the edit page if the configuration doesn't belongs to the current user |
| 25 | Given I am a regular user | 25 | Given I am a regular user |
| 26 | And I am signed in | 26 | And I am signed in |
| @@ -29,7 +29,7 @@ Feature: Configuration | @@ -29,7 +29,7 @@ Feature: Configuration | ||
| 29 | When I visit the sample configuration edit page | 29 | When I visit the sample configuration edit page |
| 30 | Then I should see "You're not allowed to do this operation" | 30 | Then I should see "You're not allowed to do this operation" |
| 31 | 31 | ||
| 32 | - @kalibro_restart | 32 | + @kalibro_configuration_restart |
| 33 | Scenario: Filling up the form | 33 | Scenario: Filling up the form |
| 34 | Given I am a regular user | 34 | Given I am a regular user |
| 35 | And I am signed in | 35 | And I am signed in |
| @@ -39,7 +39,7 @@ Feature: Configuration | @@ -39,7 +39,7 @@ Feature: Configuration | ||
| 39 | Then The field "kalibro_configuration[name]" should be filled with the sample configuration "name" | 39 | Then The field "kalibro_configuration[name]" should be filled with the sample configuration "name" |
| 40 | And The field "kalibro_configuration[description]" should be filled with the sample configuration "description" | 40 | And The field "kalibro_configuration[description]" should be filled with the sample configuration "description" |
| 41 | 41 | ||
| 42 | - @kalibro_restart | 42 | + @kalibro_configuration_restart |
| 43 | Scenario: With valid attributes | 43 | Scenario: With valid attributes |
| 44 | Given I am a regular user | 44 | Given I am a regular user |
| 45 | And I am signed in | 45 | And I am signed in |
| @@ -51,7 +51,7 @@ Feature: Configuration | @@ -51,7 +51,7 @@ Feature: Configuration | ||
| 51 | Then I should see "Kalibro" | 51 | Then I should see "Kalibro" |
| 52 | And I should see "Web Service to collect metrics" | 52 | And I should see "Web Service to collect metrics" |
| 53 | 53 | ||
| 54 | - @kalibro_restart | 54 | + @kalibro_configuration_restart |
| 55 | Scenario: With configuration name already taken | 55 | Scenario: With configuration name already taken |
| 56 | Given I am a regular user | 56 | Given I am a regular user |
| 57 | And I am signed in | 57 | And I am signed in |
| @@ -62,7 +62,7 @@ Feature: Configuration | @@ -62,7 +62,7 @@ Feature: Configuration | ||
| 62 | When I press the Save button | 62 | When I press the Save button |
| 63 | Then I should see "Name There is already a KalibroConfiguration with name Qt-Calculator!" | 63 | Then I should see "Name There is already a KalibroConfiguration with name Qt-Calculator!" |
| 64 | 64 | ||
| 65 | - @kalibro_restart | 65 | + @kalibro_configuration_restart |
| 66 | Scenario: Editing just the description | 66 | Scenario: Editing just the description |
| 67 | Given I am a regular user | 67 | Given I am a regular user |
| 68 | And I am signed in | 68 | And I am signed in |
| @@ -72,7 +72,7 @@ Feature: Configuration | @@ -72,7 +72,7 @@ Feature: Configuration | ||
| 72 | When I press the Save button | 72 | When I press the Save button |
| 73 | And I should see "Web Service to collect metrics" | 73 | And I should see "Web Service to collect metrics" |
| 74 | 74 | ||
| 75 | - @kalibro_restart | 75 | + @kalibro_configuration_restart |
| 76 | Scenario: With blank configuration name | 76 | Scenario: With blank configuration name |
| 77 | Given I am a regular user | 77 | Given I am a regular user |
| 78 | And I am signed in | 78 | And I am signed in |
features/mezuro_configuration/listing.feature
| @@ -11,7 +11,7 @@ Feature: Configuration listing | @@ -11,7 +11,7 @@ Feature: Configuration listing | ||
| 11 | And I should see "Description" | 11 | And I should see "Description" |
| 12 | And I should see "You must be logged in to create new Configurations." | 12 | And I should see "You must be logged in to create new Configurations." |
| 13 | 13 | ||
| 14 | - @kalibro_restart | 14 | + @kalibro_configuration_restart |
| 15 | Scenario: Should list the existing configurations | 15 | Scenario: Should list the existing configurations |
| 16 | Given I am a regular user | 16 | Given I am a regular user |
| 17 | And I am signed in | 17 | And I am signed in |
| @@ -20,7 +20,7 @@ Feature: Configuration listing | @@ -20,7 +20,7 @@ Feature: Configuration listing | ||
| 20 | Then the sample configuration should be there | 20 | Then the sample configuration should be there |
| 21 | And I should not see "You must be logged in to create new Configurations." | 21 | And I should not see "You must be logged in to create new Configurations." |
| 22 | 22 | ||
| 23 | - @kalibro_restart | 23 | + @kalibro_configuration_restart |
| 24 | Scenario: Should show the existing configuration | 24 | Scenario: Should show the existing configuration |
| 25 | Given I am a regular user | 25 | Given I am a regular user |
| 26 | And I am signed in | 26 | And I am signed in |
features/mezuro_configuration/show.feature
| @@ -3,7 +3,7 @@ Feature: Show Configuration | @@ -3,7 +3,7 @@ Feature: Show Configuration | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to see each of them | 4 | I should be able to see each of them |
| 5 | 5 | ||
| 6 | -@kalibro_restart | 6 | +@kalibro_configuration_restart |
| 7 | Scenario: Checking configuration contents | 7 | Scenario: Checking configuration contents |
| 8 | Given I have a sample configuration | 8 | Given I have a sample configuration |
| 9 | When I am at the Sample Configuration page | 9 | When I am at the Sample Configuration page |
features/mezuro_range/create.feature
| @@ -3,7 +3,7 @@ Feature: Create range | @@ -3,7 +3,7 @@ Feature: Create range | ||
| 3 | As a metric specialist | 3 | As a metric specialist |
| 4 | I should be able to fill up a form with its informations and submit it | 4 | I should be able to fill up a form with its informations and submit it |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Visiting range creation page when the user own an non-empty reading group | 7 | Scenario: Visiting range creation page when the user own an non-empty reading group |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -19,7 +19,7 @@ Feature: Create range | @@ -19,7 +19,7 @@ Feature: Create range | ||
| 19 | And I should see "Comments" | 19 | And I should see "Comments" |
| 20 | And I should see "Reading" | 20 | And I should see "Reading" |
| 21 | 21 | ||
| 22 | - @kalibro_restart | 22 | + @kalibro_configuration_restart |
| 23 | Scenario: Visiting range creation page when the user don't own the reading group and this reading group is empty | 23 | Scenario: Visiting range creation page when the user don't own the reading group and this reading group is empty |
| 24 | Given I am a regular user | 24 | Given I am a regular user |
| 25 | And I am signed in | 25 | And I am signed in |
| @@ -35,7 +35,7 @@ Feature: Create range | @@ -35,7 +35,7 @@ Feature: Create range | ||
| 35 | And I should see "You must have Readings within your associated Reading Group to create a new Range." | 35 | And I should see "You must have Readings within your associated Reading Group to create a new Range." |
| 36 | And I should see "The Reading Group of your Metric Configuration belongs to another user and you are not allowed to modify it." | 36 | And I should see "The Reading Group of your Metric Configuration belongs to another user and you are not allowed to modify it." |
| 37 | 37 | ||
| 38 | - @kalibro_restart | 38 | + @kalibro_configuration_restart |
| 39 | Scenario: Visiting range creation page when the user own an empty reading group (testing link to New Reading) | 39 | Scenario: Visiting range creation page when the user own an empty reading group (testing link to New Reading) |
| 40 | Given I am a regular user | 40 | Given I am a regular user |
| 41 | And I am signed in | 41 | And I am signed in |
| @@ -55,7 +55,7 @@ Feature: Create range | @@ -55,7 +55,7 @@ Feature: Create range | ||
| 55 | And I should see "Grade" | 55 | And I should see "Grade" |
| 56 | And I should see "Color" | 56 | And I should see "Color" |
| 57 | 57 | ||
| 58 | - @kalibro_restart | 58 | + @kalibro_configuration_restart |
| 59 | Scenario: With valid fields and owning a non-empty reading group | 59 | Scenario: With valid fields and owning a non-empty reading group |
| 60 | Given I am a regular user | 60 | Given I am a regular user |
| 61 | And I am signed in | 61 | And I am signed in |
| @@ -71,7 +71,7 @@ Feature: Create range | @@ -71,7 +71,7 @@ Feature: Create range | ||
| 71 | When I press the Save button | 71 | When I press the Save button |
| 72 | Then I should be at metric configuration sample page | 72 | Then I should be at metric configuration sample page |
| 73 | 73 | ||
| 74 | - @kalibro_restart | 74 | + @kalibro_configuration_restart |
| 75 | Scenario: With invalid fields and owning a non-empty reading group (Beginning > End) | 75 | Scenario: With invalid fields and owning a non-empty reading group (Beginning > End) |
| 76 | Given I am a regular user | 76 | Given I am a regular user |
| 77 | And I am signed in | 77 | And I am signed in |
| @@ -89,7 +89,7 @@ Feature: Create range | @@ -89,7 +89,7 @@ Feature: Create range | ||
| 89 | And I should see "1 error prohibited this MezuroRange from being saved" | 89 | And I should see "1 error prohibited this MezuroRange from being saved" |
| 90 | And I should see "[666.0, 42.0[ is not a valid range" | 90 | And I should see "[666.0, 42.0[ is not a valid range" |
| 91 | 91 | ||
| 92 | - @kalibro_restart | 92 | + @kalibro_configuration_restart |
| 93 | Scenario: With an invalid beggining (not a number) | 93 | Scenario: With an invalid beggining (not a number) |
| 94 | Given I am a regular user | 94 | Given I am a regular user |
| 95 | And I am signed in | 95 | And I am signed in |
| @@ -107,7 +107,7 @@ Feature: Create range | @@ -107,7 +107,7 @@ Feature: Create range | ||
| 107 | And I should see "1 error prohibited this MezuroRange from being saved" | 107 | And I should see "1 error prohibited this MezuroRange from being saved" |
| 108 | And I should see "Beginning is not a number" | 108 | And I should see "Beginning is not a number" |
| 109 | 109 | ||
| 110 | - @kalibro_restart | 110 | + @kalibro_configuration_restart |
| 111 | Scenario: With an invalid end (not a number) | 111 | Scenario: With an invalid end (not a number) |
| 112 | Given I am a regular user | 112 | Given I am a regular user |
| 113 | And I am signed in | 113 | And I am signed in |
| @@ -124,7 +124,7 @@ Feature: Create range | @@ -124,7 +124,7 @@ Feature: Create range | ||
| 124 | Then I should see "1 error prohibited this MezuroRange from being saved" | 124 | Then I should see "1 error prohibited this MezuroRange from being saved" |
| 125 | And I should be at the New Range page | 125 | And I should be at the New Range page |
| 126 | 126 | ||
| 127 | - @kalibro_restart | 127 | + @kalibro_configuration_restart |
| 128 | Scenario: With an already taken beginning | 128 | Scenario: With an already taken beginning |
| 129 | Given I am a regular user | 129 | Given I am a regular user |
| 130 | And I am signed in | 130 | And I am signed in |
| @@ -142,7 +142,7 @@ Feature: Create range | @@ -142,7 +142,7 @@ Feature: Create range | ||
| 142 | Then I should be at the New Range page | 142 | Then I should be at the New Range page |
| 143 | And I should see "Beginning There is already a MezuroRange with beginning 2.0! Please, choose another one." | 143 | And I should see "Beginning There is already a MezuroRange with beginning 2.0! Please, choose another one." |
| 144 | 144 | ||
| 145 | - @kalibro_restart @javascript | 145 | + @kalibro_configuration_restart @javascript |
| 146 | Scenario: Should create range with [-INF, INF] threshold | 146 | Scenario: Should create range with [-INF, INF] threshold |
| 147 | Given I am a regular user | 147 | Given I am a regular user |
| 148 | And I am signed in | 148 | And I am signed in |
| @@ -160,7 +160,7 @@ Feature: Create range | @@ -160,7 +160,7 @@ Feature: Create range | ||
| 160 | And I should see "-INF" | 160 | And I should see "-INF" |
| 161 | And I should see "INF" | 161 | And I should see "INF" |
| 162 | 162 | ||
| 163 | - @kalibro_restart @javascript | 163 | + @kalibro_configuration_restart @javascript |
| 164 | Scenario: Two valid ranges (one with INF) | 164 | Scenario: Two valid ranges (one with INF) |
| 165 | Given I am a regular user | 165 | Given I am a regular user |
| 166 | And I am signed in | 166 | And I am signed in |
features/mezuro_range/deletion.feature
| @@ -3,7 +3,7 @@ Feature: Range Deletion | @@ -3,7 +3,7 @@ Feature: Range Deletion | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | The system should have an interface to it | 4 | The system should have an interface to it |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Should delete a range that I own | 7 | Scenario: Should delete a range that I own |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -17,7 +17,7 @@ Feature: Range Deletion | @@ -17,7 +17,7 @@ Feature: Range Deletion | ||
| 17 | Then I should be at metric configuration sample page | 17 | Then I should be at metric configuration sample page |
| 18 | And I should see "There are no Ranges yet!" | 18 | And I should see "There are no Ranges yet!" |
| 19 | 19 | ||
| 20 | - @kalibro_restart | 20 | + @kalibro_configuration_restart |
| 21 | Scenario: Should not see the destroy range link in the range that I not own | 21 | Scenario: Should not see the destroy range link in the range that I not own |
| 22 | Given I am a regular user | 22 | Given I am a regular user |
| 23 | And I am signed in | 23 | And I am signed in |
features/mezuro_range/edit.feature
| @@ -3,7 +3,7 @@ Feature: Mezuro Range Edit | @@ -3,7 +3,7 @@ Feature: Mezuro Range Edit | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to edit my mezuro ranges | 4 | I should be able to edit my mezuro ranges |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: editing a mezuro range successfully | 7 | Scenario: editing a mezuro range successfully |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -21,7 +21,7 @@ Feature: Mezuro Range Edit | @@ -21,7 +21,7 @@ Feature: Mezuro Range Edit | ||
| 21 | And I press the Save button | 21 | And I press the Save button |
| 22 | Then I should see "2.2" | 22 | Then I should see "2.2" |
| 23 | 23 | ||
| 24 | - @kalibro_restart | 24 | + @kalibro_configuration_restart |
| 25 | Scenario: editing a mezuro range with blank fields | 25 | Scenario: editing a mezuro range with blank fields |
| 26 | Given I am a regular user | 26 | Given I am a regular user |
| 27 | And I am signed in | 27 | And I am signed in |
features/project/show.feature
| @@ -3,7 +3,7 @@ Feature: Show Project | @@ -3,7 +3,7 @@ Feature: Show Project | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to see each of them | 4 | I should be able to see each of them |
| 5 | 5 | ||
| 6 | -@kalibro_restart @kalibro_processor_restart | 6 | +@kalibro_configuration_restart @kalibro_processor_restart |
| 7 | Scenario: Should not show the create repository link to user that doesn't own the project | 7 | Scenario: Should not show the create repository link to user that doesn't own the project |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I have a sample project | 9 | And I have a sample project |
| @@ -32,7 +32,7 @@ Scenario: Considering the project has no repositories | @@ -32,7 +32,7 @@ Scenario: Considering the project has no repositories | ||
| 32 | When I am at the Sample Project page | 32 | When I am at the Sample Project page |
| 33 | Then I should see "There are no Repositories yet!" | 33 | Then I should see "There are no Repositories yet!" |
| 34 | 34 | ||
| 35 | -@kalibro_restart @kalibro_processor_restart | 35 | +@kalibro_configuration_restart @kalibro_processor_restart |
| 36 | Scenario: Considering the project has repositories | 36 | Scenario: Considering the project has repositories |
| 37 | Given I have a sample project | 37 | Given I have a sample project |
| 38 | And I have a sample configuration with native metrics | 38 | And I have a sample configuration with native metrics |
features/reading/delete.feature
| @@ -3,7 +3,7 @@ Feature: Reading Deletion | @@ -3,7 +3,7 @@ Feature: Reading Deletion | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | The system should have an interface to it | 4 | The system should have an interface to it |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Should delete a reading that I own | 7 | Scenario: Should delete a reading that I own |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -13,7 +13,7 @@ Feature: Reading Deletion | @@ -13,7 +13,7 @@ Feature: Reading Deletion | ||
| 13 | And I click the Destroy link | 13 | And I click the Destroy link |
| 14 | Then I should see "There are no Readings yet!" | 14 | Then I should see "There are no Readings yet!" |
| 15 | 15 | ||
| 16 | - @kalibro_restart | 16 | + @kalibro_configuration_restart |
| 17 | Scenario: Should not see the destroy reading link in the reading groups that I not own | 17 | Scenario: Should not see the destroy reading link in the reading groups that I not own |
| 18 | Given I am a regular user | 18 | Given I am a regular user |
| 19 | And I am signed in | 19 | And I am signed in |
features/reading/edit.feature
| @@ -3,7 +3,7 @@ Feature: Reading Edit | @@ -3,7 +3,7 @@ Feature: Reading Edit | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to edit my readings | 4 | I should be able to edit my readings |
| 5 | 5 | ||
| 6 | -@kalibro_restart | 6 | +@kalibro_configuration_restart |
| 7 | Scenario: editing a reading successfully | 7 | Scenario: editing a reading successfully |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -17,7 +17,7 @@ Feature: Reading Edit | @@ -17,7 +17,7 @@ Feature: Reading Edit | ||
| 17 | And I press the Save button | 17 | And I press the Save button |
| 18 | Then I should see "Bad" | 18 | Then I should see "Bad" |
| 19 | 19 | ||
| 20 | - @kalibro_restart | 20 | + @kalibro_configuration_restart |
| 21 | Scenario: editing a reading with blank fields | 21 | Scenario: editing a reading with blank fields |
| 22 | Given I am a regular user | 22 | Given I am a regular user |
| 23 | And I am signed in | 23 | And I am signed in |
| @@ -32,7 +32,7 @@ Feature: Reading Edit | @@ -32,7 +32,7 @@ Feature: Reading Edit | ||
| 32 | And I should see "Grade can't be blank" | 32 | And I should see "Grade can't be blank" |
| 33 | And I should see "Color can't be blank" | 33 | And I should see "Color can't be blank" |
| 34 | 34 | ||
| 35 | - @kalibro_restart | 35 | + @kalibro_configuration_restart |
| 36 | Scenario: editing a reading with already taken name | 36 | Scenario: editing a reading with already taken name |
| 37 | Given I am a regular user | 37 | Given I am a regular user |
| 38 | And I am signed in | 38 | And I am signed in |
| @@ -44,7 +44,7 @@ Feature: Reading Edit | @@ -44,7 +44,7 @@ Feature: Reading Edit | ||
| 44 | And I press the Save button | 44 | And I press the Save button |
| 45 | Then I should see "Label There is already a Reading with label Average! Please, choose another one." | 45 | Then I should see "Label There is already a Reading with label Average! Please, choose another one." |
| 46 | 46 | ||
| 47 | - @kalibro_restart | 47 | + @kalibro_configuration_restart |
| 48 | Scenario: editing a reading with non numerical value | 48 | Scenario: editing a reading with non numerical value |
| 49 | Given I am a regular user | 49 | Given I am a regular user |
| 50 | And I am signed in | 50 | And I am signed in |
features/reading/new.feature
| @@ -3,7 +3,7 @@ Feature: New reading | @@ -3,7 +3,7 @@ Feature: New reading | ||
| 3 | As a metric specialist | 3 | As a metric specialist |
| 4 | I should be able to fill up a form with its informations and submit it | 4 | I should be able to fill up a form with its informations and submit it |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Visiting reading creation page | 7 | Scenario: Visiting reading creation page |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -16,7 +16,7 @@ Feature: New reading | @@ -16,7 +16,7 @@ Feature: New reading | ||
| 16 | And I should see "Color" | 16 | And I should see "Color" |
| 17 | And I press the Pick color button | 17 | And I press the Pick color button |
| 18 | 18 | ||
| 19 | - @kalibro_restart | 19 | + @kalibro_configuration_restart |
| 20 | Scenario: With valid fields | 20 | Scenario: With valid fields |
| 21 | Given I am a regular user | 21 | Given I am a regular user |
| 22 | And I am signed in | 22 | And I am signed in |
| @@ -28,7 +28,7 @@ Feature: New reading | @@ -28,7 +28,7 @@ Feature: New reading | ||
| 28 | When I press the Save button | 28 | When I press the Save button |
| 29 | Then I should be in the Sample Reading Group page | 29 | Then I should be in the Sample Reading Group page |
| 30 | 30 | ||
| 31 | - @kalibro_restart @javascript | 31 | + @kalibro_configuration_restart @javascript |
| 32 | Scenario: Checking color picker existence | 32 | Scenario: Checking color picker existence |
| 33 | Given I am a regular user | 33 | Given I am a regular user |
| 34 | And I am signed in | 34 | And I am signed in |
| @@ -37,7 +37,7 @@ Feature: New reading | @@ -37,7 +37,7 @@ Feature: New reading | ||
| 37 | When I press the Pick color button | 37 | When I press the Pick color button |
| 38 | Then I should see a color picker Canvas | 38 | Then I should see a color picker Canvas |
| 39 | 39 | ||
| 40 | - @kalibro_restart @javascript | 40 | + @kalibro_configuration_restart @javascript |
| 41 | Scenario: Selecting a valid color with color picker | 41 | Scenario: Selecting a valid color with color picker |
| 42 | Given I am a regular user | 42 | Given I am a regular user |
| 43 | And I am signed in | 43 | And I am signed in |
| @@ -50,7 +50,7 @@ Feature: New reading | @@ -50,7 +50,7 @@ Feature: New reading | ||
| 50 | And I press the Save button | 50 | And I press the Save button |
| 51 | Then I should be in the Sample Reading Group page | 51 | Then I should be in the Sample Reading Group page |
| 52 | 52 | ||
| 53 | - @kalibro_restart | 53 | + @kalibro_configuration_restart |
| 54 | Scenario: With an existing label (Label uniqueness test) | 54 | Scenario: With an existing label (Label uniqueness test) |
| 55 | Given I am a regular user | 55 | Given I am a regular user |
| 56 | And I am signed in | 56 | And I am signed in |
| @@ -64,7 +64,7 @@ Feature: New reading | @@ -64,7 +64,7 @@ Feature: New reading | ||
| 64 | Then I should see "1 error prohibited this Reading from being saved" | 64 | Then I should see "1 error prohibited this Reading from being saved" |
| 65 | And I should be at the New Reading page | 65 | And I should be at the New Reading page |
| 66 | 66 | ||
| 67 | - @kalibro_restart | 67 | + @kalibro_configuration_restart |
| 68 | Scenario: With an invalid grade | 68 | Scenario: With an invalid grade |
| 69 | Given I am a regular user | 69 | Given I am a regular user |
| 70 | And I am signed in | 70 | And I am signed in |
| @@ -77,7 +77,7 @@ Feature: New reading | @@ -77,7 +77,7 @@ Feature: New reading | ||
| 77 | Then I should see "Grade is not a number" | 77 | Then I should see "Grade is not a number" |
| 78 | And I should be at the New Reading page | 78 | And I should be at the New Reading page |
| 79 | 79 | ||
| 80 | - @kalibro_restart | 80 | + @kalibro_configuration_restart |
| 81 | Scenario: With an invalid color | 81 | Scenario: With an invalid color |
| 82 | Given I am a regular user | 82 | Given I am a regular user |
| 83 | And I am signed in | 83 | And I am signed in |
features/reading_group/create.feature
| @@ -3,12 +3,12 @@ Feature: Reading Group Creation | @@ -3,12 +3,12 @@ Feature: Reading Group Creation | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to create reading groups | 4 | I should be able to create reading groups |
| 5 | 5 | ||
| 6 | -@kalibro_restart | 6 | +@kalibro_configuration_restart |
| 7 | Scenario: Should not create reading groups without login | 7 | Scenario: Should not create reading groups without login |
| 8 | Given I am at the All Reading Groups page | 8 | Given I am at the All Reading Groups page |
| 9 | Then I should not see "New Reading Group" | 9 | Then I should not see "New Reading Group" |
| 10 | 10 | ||
| 11 | -@kalibro_restart | 11 | +@kalibro_configuration_restart |
| 12 | Scenario: Reading Group creation | 12 | Scenario: Reading Group creation |
| 13 | Given I am a regular user | 13 | Given I am a regular user |
| 14 | And I am signed in | 14 | And I am signed in |
| @@ -21,7 +21,7 @@ Scenario: Reading Group creation | @@ -21,7 +21,7 @@ Scenario: Reading Group creation | ||
| 21 | And I should see "New Reading" | 21 | And I should see "New Reading" |
| 22 | And I should see "Destroy Reading Group" | 22 | And I should see "Destroy Reading Group" |
| 23 | 23 | ||
| 24 | -@kalibro_restart | 24 | +@kalibro_configuration_restart |
| 25 | Scenario: reading group creation with already taken name | 25 | Scenario: reading group creation with already taken name |
| 26 | Given I am a regular user | 26 | Given I am a regular user |
| 27 | And I am signed in | 27 | And I am signed in |
| @@ -32,7 +32,7 @@ Scenario: reading group creation with already taken name | @@ -32,7 +32,7 @@ Scenario: reading group creation with already taken name | ||
| 32 | When I press the Save button | 32 | When I press the Save button |
| 33 | Then I should see "Name There is already a ReadingGroup with name Group!" | 33 | Then I should see "Name There is already a ReadingGroup with name Group!" |
| 34 | 34 | ||
| 35 | -@kalibro_restart | 35 | +@kalibro_configuration_restart |
| 36 | Scenario: reading group creation with blank name | 36 | Scenario: reading group creation with blank name |
| 37 | Given I am a regular user | 37 | Given I am a regular user |
| 38 | And I am signed in | 38 | And I am signed in |
features/reading_group/delete.feature
| @@ -3,13 +3,13 @@ Feature: Reading Group Deletion | @@ -3,13 +3,13 @@ Feature: Reading Group Deletion | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | The system should have an interface to it | 4 | The system should have an interface to it |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Should not delete a reading group without user authentication | 7 | Scenario: Should not delete a reading group without user authentication |
| 8 | Given I have a sample reading group | 8 | Given I have a sample reading group |
| 9 | When I visit the Sample Reading Group page | 9 | When I visit the Sample Reading Group page |
| 10 | Then I should not see "Destroy" | 10 | Then I should not see "Destroy" |
| 11 | 11 | ||
| 12 | - @kalibro_restart | 12 | + @kalibro_configuration_restart |
| 13 | Scenario: Should not delete a reading group that doesn't belongs to user | 13 | Scenario: Should not delete a reading group that doesn't belongs to user |
| 14 | Given I am a regular user | 14 | Given I am a regular user |
| 15 | And I am signed in | 15 | And I am signed in |
| @@ -17,7 +17,7 @@ Feature: Reading Group Deletion | @@ -17,7 +17,7 @@ Feature: Reading Group Deletion | ||
| 17 | When I visit the Sample Reading Group page | 17 | When I visit the Sample Reading Group page |
| 18 | Then I should not see "Destroy" | 18 | Then I should not see "Destroy" |
| 19 | 19 | ||
| 20 | - @kalibro_restart | 20 | + @kalibro_configuration_restart |
| 21 | Scenario: Should delete a reading group that I own | 21 | Scenario: Should delete a reading group that I own |
| 22 | Given I am a regular user | 22 | Given I am a regular user |
| 23 | And I am signed in | 23 | And I am signed in |
features/reading_group/edit.feature
| @@ -3,7 +3,7 @@ Feature: Reading Group | @@ -3,7 +3,7 @@ Feature: Reading Group | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to edit my reading groups | 4 | I should be able to edit my reading groups |
| 5 | 5 | ||
| 6 | - @kalibro_restart | 6 | + @kalibro_configuration_restart |
| 7 | Scenario: Should go to the edit page from a reading group that I own | 7 | Scenario: Should go to the edit page from a reading group that I own |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -12,7 +12,7 @@ Feature: Reading Group | @@ -12,7 +12,7 @@ Feature: Reading Group | ||
| 12 | When I click the Edit link | 12 | When I click the Edit link |
| 13 | Then I should be in the Edit Reading Group page | 13 | Then I should be in the Edit Reading Group page |
| 14 | 14 | ||
| 15 | - @kalibro_restart | 15 | + @kalibro_configuration_restart |
| 16 | Scenario: Should not show edit links from reading groups that doesn't belongs to me | 16 | Scenario: Should not show edit links from reading groups that doesn't belongs to me |
| 17 | Given I am a regular user | 17 | Given I am a regular user |
| 18 | And I am signed in | 18 | And I am signed in |
| @@ -20,7 +20,7 @@ Feature: Reading Group | @@ -20,7 +20,7 @@ Feature: Reading Group | ||
| 20 | And I am at the All Reading Groups page | 20 | And I am at the All Reading Groups page |
| 21 | Then I should not see Edit within table | 21 | Then I should not see Edit within table |
| 22 | 22 | ||
| 23 | - @kalibro_restart | 23 | + @kalibro_configuration_restart |
| 24 | Scenario: Should not render the edit page if the reading group doesn't belongs to the current user | 24 | Scenario: Should not render the edit page if the reading group doesn't belongs to the current user |
| 25 | Given I am a regular user | 25 | Given I am a regular user |
| 26 | And I am signed in | 26 | And I am signed in |
| @@ -29,7 +29,7 @@ Feature: Reading Group | @@ -29,7 +29,7 @@ Feature: Reading Group | ||
| 29 | When I visit the sample reading group edit page | 29 | When I visit the sample reading group edit page |
| 30 | Then I should see "You're not allowed to do this operation" | 30 | Then I should see "You're not allowed to do this operation" |
| 31 | 31 | ||
| 32 | - @kalibro_restart | 32 | + @kalibro_configuration_restart |
| 33 | Scenario: Filling up the form | 33 | Scenario: Filling up the form |
| 34 | Given I am a regular user | 34 | Given I am a regular user |
| 35 | And I am signed in | 35 | And I am signed in |
| @@ -39,7 +39,7 @@ Feature: Reading Group | @@ -39,7 +39,7 @@ Feature: Reading Group | ||
| 39 | Then The field "reading_group[name]" should be filled with the sample reading group "name" | 39 | Then The field "reading_group[name]" should be filled with the sample reading group "name" |
| 40 | And The field "reading_group[description]" should be filled with the sample reading group "description" | 40 | And The field "reading_group[description]" should be filled with the sample reading group "description" |
| 41 | 41 | ||
| 42 | - @kalibro_restart | 42 | + @kalibro_configuration_restart |
| 43 | Scenario: With valid attributes | 43 | Scenario: With valid attributes |
| 44 | Given I am a regular user | 44 | Given I am a regular user |
| 45 | And I am signed in | 45 | And I am signed in |
| @@ -51,7 +51,7 @@ Feature: Reading Group | @@ -51,7 +51,7 @@ Feature: Reading Group | ||
| 51 | Then I should see "My Reading Group" | 51 | Then I should see "My Reading Group" |
| 52 | And I should see "New Reading Group" | 52 | And I should see "New Reading Group" |
| 53 | 53 | ||
| 54 | - @kalibro_restart | 54 | + @kalibro_configuration_restart |
| 55 | Scenario: With reading group name already taken | 55 | Scenario: With reading group name already taken |
| 56 | Given I am a regular user | 56 | Given I am a regular user |
| 57 | And I am signed in | 57 | And I am signed in |
| @@ -62,7 +62,7 @@ Feature: Reading Group | @@ -62,7 +62,7 @@ Feature: Reading Group | ||
| 62 | When I press the Save button | 62 | When I press the Save button |
| 63 | Then I should see "Name There is already a ReadingGroup with name A Reading!" | 63 | Then I should see "Name There is already a ReadingGroup with name A Reading!" |
| 64 | 64 | ||
| 65 | - @kalibro_restart | 65 | + @kalibro_configuration_restart |
| 66 | Scenario: Editing just the description | 66 | Scenario: Editing just the description |
| 67 | Given I am a regular user | 67 | Given I am a regular user |
| 68 | And I am signed in | 68 | And I am signed in |
| @@ -72,7 +72,7 @@ Feature: Reading Group | @@ -72,7 +72,7 @@ Feature: Reading Group | ||
| 72 | When I press the Save button | 72 | When I press the Save button |
| 73 | Then I should see "New Reading Group" | 73 | Then I should see "New Reading Group" |
| 74 | 74 | ||
| 75 | - @kalibro_restart | 75 | + @kalibro_configuration_restart |
| 76 | Scenario: With blank reading group name | 76 | Scenario: With blank reading group name |
| 77 | Given I am a regular user | 77 | Given I am a regular user |
| 78 | And I am signed in | 78 | And I am signed in |
features/reading_group/show.feature
| @@ -3,7 +3,7 @@ Feature: Show Reading Group | @@ -3,7 +3,7 @@ Feature: Show Reading Group | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to see each of them | 4 | I should be able to see each of them |
| 5 | 5 | ||
| 6 | -@kalibro_restart | 6 | +@kalibro_configuration_restart |
| 7 | Scenario: Should not show the create, edit and destroy reading link to user that doesn't own the reading group | 7 | Scenario: Should not show the create, edit and destroy reading link to user that doesn't own the reading group |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I have a sample reading group | 9 | And I have a sample reading group |
| @@ -14,7 +14,7 @@ Scenario: Should not show the create, edit and destroy reading link to user that | @@ -14,7 +14,7 @@ Scenario: Should not show the create, edit and destroy reading link to user that | ||
| 14 | And I should not see Edit within table | 14 | And I should not see Edit within table |
| 15 | And I should not see "Destroy" | 15 | And I should not see "Destroy" |
| 16 | 16 | ||
| 17 | -@kalibro_restart | 17 | +@kalibro_configuration_restart |
| 18 | Scenario: Should show the links for the user that owns the reading group | 18 | Scenario: Should show the links for the user that owns the reading group |
| 19 | Given I am a regular user | 19 | Given I am a regular user |
| 20 | And I am signed in | 20 | And I am signed in |
| @@ -27,7 +27,7 @@ Scenario: Should show the links for the user that owns the reading group | @@ -27,7 +27,7 @@ Scenario: Should show the links for the user that owns the reading group | ||
| 27 | And I should see "Destroy" | 27 | And I should see "Destroy" |
| 28 | And I should see "Destroy Reading Group" | 28 | And I should see "Destroy Reading Group" |
| 29 | 29 | ||
| 30 | -@kalibro_restart | 30 | +@kalibro_configuration_restart |
| 31 | Scenario: Should show the information of the sample reading | 31 | Scenario: Should show the information of the sample reading |
| 32 | Given I have a sample reading group | 32 | Given I have a sample reading group |
| 33 | And I have a sample reading within the sample reading group | 33 | And I have a sample reading within the sample reading group |
| @@ -39,7 +39,7 @@ Scenario: Should show the information of the sample reading | @@ -39,7 +39,7 @@ Scenario: Should show the information of the sample reading | ||
| 39 | And I should see "Color" | 39 | And I should see "Color" |
| 40 | And I should see the information of the sample reading | 40 | And I should see the information of the sample reading |
| 41 | 41 | ||
| 42 | -@kalibro_restart | 42 | +@kalibro_configuration_restart |
| 43 | Scenario: Should show a message when there is no readings | 43 | Scenario: Should show a message when there is no readings |
| 44 | Given I have a sample reading group | 44 | Given I have a sample reading group |
| 45 | When I visit the Sample Reading Group page | 45 | When I visit the Sample Reading Group page |
features/repository/create.feature
| @@ -3,7 +3,7 @@ Feature: Repository Creation | @@ -3,7 +3,7 @@ Feature: Repository Creation | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to create repositories | 4 | I should be able to create repositories |
| 5 | 5 | ||
| 6 | -@kalibro_restart @kalibro_processor_restart @javascript | 6 | +@kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 7 | Scenario: repository creation | 7 | Scenario: repository creation |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -20,7 +20,7 @@ Scenario: repository creation | @@ -20,7 +20,7 @@ Scenario: repository creation | ||
| 20 | When I press the Save button | 20 | When I press the Save button |
| 21 | Then I should see the saved repository's content | 21 | Then I should see the saved repository's content |
| 22 | 22 | ||
| 23 | -@kalibro_restart @kalibro_processor_restart @javascript | 23 | +@kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 24 | Scenario: repository creation blank validations | 24 | Scenario: repository creation blank validations |
| 25 | Given I am a regular user | 25 | Given I am a regular user |
| 26 | And I am signed in | 26 | And I am signed in |
| @@ -37,7 +37,7 @@ Scenario: repository creation blank validations | @@ -37,7 +37,7 @@ Scenario: repository creation blank validations | ||
| 37 | Then I should see "Name can't be blank" | 37 | Then I should see "Name can't be blank" |
| 38 | And I should see "Address can't be blank" | 38 | And I should see "Address can't be blank" |
| 39 | 39 | ||
| 40 | -@kalibro_restart @kalibro_processor_restart @javascript | 40 | +@kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 41 | Scenario: repository creation with name already taken | 41 | Scenario: repository creation with name already taken |
| 42 | Given I am a regular user | 42 | Given I am a regular user |
| 43 | And I am signed in | 43 | And I am signed in |
features/repository/delete.feature
| @@ -3,7 +3,7 @@ Feature: Project Deletion | @@ -3,7 +3,7 @@ Feature: Project Deletion | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | The system should have an interface to it | 4 | The system should have an interface to it |
| 5 | 5 | ||
| 6 | - @kalibro_restart @kalibro_processor_restart | 6 | + @kalibro_configuration_restart @kalibro_processor_restart |
| 7 | Scenario: Should delete a project that I own | 7 | Scenario: Should delete a project that I own |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
features/repository/edit.feature
| @@ -3,7 +3,7 @@ Feature: Repository Edit | @@ -3,7 +3,7 @@ Feature: Repository Edit | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to edit my repositories | 4 | I should be able to edit my repositories |
| 5 | 5 | ||
| 6 | - @kalibro_restart @kalibro_processor_restart | 6 | + @kalibro_configuration_restart @kalibro_processor_restart |
| 7 | Scenario: editing a repository successfully | 7 | Scenario: editing a repository successfully |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -25,7 +25,7 @@ Feature: Repository Edit | @@ -25,7 +25,7 @@ Feature: Repository Edit | ||
| 25 | And I should see "Weekly" | 25 | And I should see "Weekly" |
| 26 | And I should see "EU DataGrid Software License (EUDatagrid)" | 26 | And I should see "EU DataGrid Software License (EUDatagrid)" |
| 27 | 27 | ||
| 28 | - @kalibro_restart @kalibro_processor_restart | 28 | + @kalibro_configuration_restart @kalibro_processor_restart |
| 29 | Scenario: editing a repository with blank fields | 29 | Scenario: editing a repository with blank fields |
| 30 | Given I am a regular user | 30 | Given I am a regular user |
| 31 | And I am signed in | 31 | And I am signed in |
| @@ -39,7 +39,7 @@ Feature: Repository Edit | @@ -39,7 +39,7 @@ Feature: Repository Edit | ||
| 39 | Then I should see "Name can't be blank" | 39 | Then I should see "Name can't be blank" |
| 40 | And I should see "Address can't be blank" | 40 | And I should see "Address can't be blank" |
| 41 | 41 | ||
| 42 | - @kalibro_restart @kalibro_processor_restart | 42 | + @kalibro_configuration_restart @kalibro_processor_restart |
| 43 | Scenario: editing a repository with already taken name | 43 | Scenario: editing a repository with already taken name |
| 44 | Given I am a regular user | 44 | Given I am a regular user |
| 45 | And I am signed in | 45 | And I am signed in |
features/repository/show/date_select.feature
| @@ -3,7 +3,7 @@ Feature: Date Select | @@ -3,7 +3,7 @@ Feature: Date Select | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should be able to select a specific date | 4 | I should be able to select a specific date |
| 5 | 5 | ||
| 6 | - @kalibro_restart @kalibro_processor_restart @javascript | 6 | + @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 7 | Scenario: With a specific date selected | 7 | Scenario: With a specific date selected |
| 8 | Given I have a sample project | 8 | Given I have a sample project |
| 9 | And I have a sample configuration with native metrics | 9 | And I have a sample configuration with native metrics |
features/repository/show/metric_results.feature
| @@ -3,7 +3,7 @@ Feature: Repository metric results | @@ -3,7 +3,7 @@ Feature: Repository metric results | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should see the metric results table with its graphics | 4 | I should see the metric results table with its graphics |
| 5 | 5 | ||
| 6 | - @kalibro_restart @kalibro_processor_restart @javascript | 6 | + @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 7 | Scenario: Should show the message when the graphic of the given metric have only a single point | 7 | Scenario: Should show the message when the graphic of the given metric have only a single point |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -23,7 +23,7 @@ Feature: Repository metric results | @@ -23,7 +23,7 @@ Feature: Repository metric results | ||
| 23 | When I wait up for the ajax request | 23 | When I wait up for the ajax request |
| 24 | Then I should see "There is only one point and it will not be printed into a chart." | 24 | Then I should see "There is only one point and it will not be printed into a chart." |
| 25 | 25 | ||
| 26 | - @kalibro_restart @kalibro_processor_restart @javascript | 26 | + @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 27 | Scenario: Should show the no range message after a process without range | 27 | Scenario: Should show the no range message after a process without range |
| 28 | Given I am a regular user | 28 | Given I am a regular user |
| 29 | And I am signed in | 29 | And I am signed in |
| @@ -40,7 +40,7 @@ Feature: Repository metric results | @@ -40,7 +40,7 @@ Feature: Repository metric results | ||
| 40 | And I see a sample metric's name | 40 | And I see a sample metric's name |
| 41 | Then I should see "Missing range" | 41 | Then I should see "Missing range" |
| 42 | 42 | ||
| 43 | - @kalibro_restart @kalibro_processor_restart @javascript | 43 | + @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 44 | Scenario: Should show the error message when the process fails | 44 | Scenario: Should show the error message when the process fails |
| 45 | Given I am a regular user | 45 | Given I am a regular user |
| 46 | And I am signed in | 46 | And I am signed in |
features/repository/show/modules_tree.feature
| @@ -3,7 +3,7 @@ Feature: Repository modules tree | @@ -3,7 +3,7 @@ Feature: Repository modules tree | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should see the tree and be able to navigate over it | 4 | I should see the tree and be able to navigate over it |
| 5 | 5 | ||
| 6 | - @kalibro_restart @kalibro_processor_restart @javascript | 6 | + @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 7 | Scenario: Should show modules directories root when the process has been finished | 7 | Scenario: Should show modules directories root when the process has been finished |
| 8 | Given I am a regular user | 8 | Given I am a regular user |
| 9 | And I am signed in | 9 | And I am signed in |
| @@ -19,7 +19,7 @@ Feature: Repository modules tree | @@ -19,7 +19,7 @@ Feature: Repository modules tree | ||
| 19 | And I wait for "5" seconds | 19 | And I wait for "5" seconds |
| 20 | Then I should see the given module result | 20 | Then I should see the given module result |
| 21 | 21 | ||
| 22 | - @kalibro_restart @kalibro_processor_restart @javascript | 22 | + @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 23 | Scenario: Should show children of root when the process has been finished | 23 | Scenario: Should show children of root when the process has been finished |
| 24 | Given I am a regular user | 24 | Given I am a regular user |
| 25 | And I am signed in | 25 | And I am signed in |
| @@ -39,7 +39,7 @@ Feature: Repository modules tree | @@ -39,7 +39,7 @@ Feature: Repository modules tree | ||
| 39 | And I should see "Grade" | 39 | And I should see "Grade" |
| 40 | 40 | ||
| 41 | # This test is broken under analizo 1.17.0: https://www.pivotaltracker.com/story/show/80377258 | 41 | # This test is broken under analizo 1.17.0: https://www.pivotaltracker.com/story/show/80377258 |
| 42 | - @wip @kalibro_restart @kalibro_processor_restart @javascript | 42 | + @wip @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 43 | Scenario: Module navigation | 43 | Scenario: Module navigation |
| 44 | Given I am a regular user | 44 | Given I am a regular user |
| 45 | And I am signed in | 45 | And I am signed in |
features/repository/show/repository_info.feature
| @@ -3,7 +3,7 @@ Feature: Show Repository | @@ -3,7 +3,7 @@ Feature: Show Repository | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I should see it's informations | 4 | I should see it's informations |
| 5 | 5 | ||
| 6 | - @kalibro_restart @kalibro_processor_restart @javascript | 6 | + @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 7 | Scenario: Testing the repository values | 7 | Scenario: Testing the repository values |
| 8 | Given I have a sample project | 8 | Given I have a sample project |
| 9 | And I have a sample configuration with native metrics | 9 | And I have a sample configuration with native metrics |
| @@ -19,7 +19,7 @@ Feature: Show Repository | @@ -19,7 +19,7 @@ Feature: Show Repository | ||
| 19 | And I should see "License" | 19 | And I should see "License" |
| 20 | And I should see the given repository's content | 20 | And I should see the given repository's content |
| 21 | 21 | ||
| 22 | - @kalibro_restart @kalibro_processor_restart @javascript | 22 | + @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 23 | Scenario: With a ready processing and asking to reprocess | 23 | Scenario: With a ready processing and asking to reprocess |
| 24 | Given I am a regular user | 24 | Given I am a regular user |
| 25 | And I am signed in | 25 | And I am signed in |
| @@ -50,7 +50,7 @@ Feature: Show Repository | @@ -50,7 +50,7 @@ Feature: Show Repository | ||
| 50 | When I click the Reprocess link | 50 | When I click the Reprocess link |
| 51 | Then I should see "PREPARING" | 51 | Then I should see "PREPARING" |
| 52 | 52 | ||
| 53 | - @kalibro_restart @kalibro_processor_restart @javascript | 53 | + @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| 54 | Scenario: Just after start to process | 54 | Scenario: Just after start to process |
| 55 | Given I am a regular user | 55 | Given I am a regular user |
| 56 | And I am signed in | 56 | And I am signed in |