From a6358db96d8f7ff738e0ff7256f488b6e2dba351 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Thu, 11 Dec 2014 10:41:41 -0200 Subject: [PATCH] kalibro_configuration_restart hook --- Gemfile.lock | 2 +- features/compound_metric_configuration/create.feature | 2 +- features/compound_metric_configuration/edition.feature | 8 ++++---- features/compound_metric_configuration/show.feature | 2 +- features/metric_configuration/create.feature | 6 +++--- features/metric_configuration/delete.feature | 4 ++-- features/metric_configuration/edition.feature | 8 ++++---- features/metric_configuration/listing.feature | 8 ++++---- features/metric_configuration/show.feature | 4 ++-- features/mezuro_configuration/create.feature | 8 ++++---- features/mezuro_configuration/deletion.feature | 6 +++--- features/mezuro_configuration/edition.feature | 16 ++++++++-------- features/mezuro_configuration/listing.feature | 4 ++-- features/mezuro_configuration/show.feature | 2 +- features/mezuro_range/create.feature | 20 ++++++++++---------- features/mezuro_range/deletion.feature | 4 ++-- features/mezuro_range/edit.feature | 4 ++-- features/project/show.feature | 4 ++-- features/reading/delete.feature | 4 ++-- features/reading/edit.feature | 8 ++++---- features/reading/new.feature | 14 +++++++------- features/reading_group/create.feature | 8 ++++---- features/reading_group/delete.feature | 6 +++--- features/reading_group/edit.feature | 16 ++++++++-------- features/reading_group/show.feature | 8 ++++---- features/repository/create.feature | 6 +++--- features/repository/delete.feature | 2 +- features/repository/edit.feature | 6 +++--- features/repository/show/date_select.feature | 2 +- features/repository/show/metric_results.feature | 6 +++--- features/repository/show/modules_tree.feature | 6 +++--- features/repository/show/repository_info.feature | 6 +++--- 32 files changed, 105 insertions(+), 105 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index d5353cb..89b024d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/mezuro/kalibro_client - revision: 59844cd178b34f59a3a307e500782d0860de5ed9 + revision: 212353618d1bc315b26dfd77793654be205397fc specs: kalibro_client (0.0.1) activeresource (~> 4.0.0) diff --git a/features/compound_metric_configuration/create.feature b/features/compound_metric_configuration/create.feature index 63776f6..24b6dbf 100644 --- a/features/compound_metric_configuration/create.feature +++ b/features/compound_metric_configuration/create.feature @@ -3,7 +3,7 @@ Feature: Compound Metric Configuration Creation As a regular user I should be able to create compound metric configurations - @kalibro_restart @javascript + @kalibro_configuration_restart @javascript Scenario: compound metric configuration creation Given I am a regular user And I am signed in diff --git a/features/compound_metric_configuration/edition.feature b/features/compound_metric_configuration/edition.feature index b887576..70bfe08 100644 --- a/features/compound_metric_configuration/edition.feature +++ b/features/compound_metric_configuration/edition.feature @@ -3,7 +3,7 @@ Feature: Compound Metric Configuration edition As a regular user I should edit the informations of compound metric configurations - @kalibro_restart + @kalibro_configuration_restart Scenario: the configuration is not mine Given I am a regular user And I am signed in @@ -14,7 +14,7 @@ Feature: Compound Metric Configuration edition When I am at the Sample Configuration page Then I should not see Edit within table - @kalibro_restart + @kalibro_configuration_restart Scenario: editing a compound metric configuration successfully Given I am a regular user And I am signed in @@ -30,7 +30,7 @@ Feature: Compound Metric Configuration edition Then I should see "Another_code" And I should see "Compound Metric Configuration was successfully updated." - @kalibro_restart + @kalibro_configuration_restart Scenario: trying to edit with blank fields Given I am a regular user And I am signed in @@ -51,7 +51,7 @@ Feature: Compound Metric Configuration edition And I should see "Weight can't be blank" - @kalibro_restart + @kalibro_configuration_restart Scenario: trying to edit with an existing code Given I am a regular user And I am signed in diff --git a/features/compound_metric_configuration/show.feature b/features/compound_metric_configuration/show.feature index ce74ed9..b75f1bd 100644 --- a/features/compound_metric_configuration/show.feature +++ b/features/compound_metric_configuration/show.feature @@ -3,7 +3,7 @@ Feature: Show Compound Metric Configuration As a regular user I should be able to see each of them - @kalibro_restart + @kalibro_configuration_restart Scenario: Checking metric configuration show link Given I have a sample configuration And I have a sample reading group diff --git a/features/metric_configuration/create.feature b/features/metric_configuration/create.feature index c88ca29..8329422 100644 --- a/features/metric_configuration/create.feature +++ b/features/metric_configuration/create.feature @@ -3,13 +3,13 @@ Feature: Metric Configuration Creation As a regular user I should be able to create metric configurations - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not create metric configurations without login Given I have a sample configuration And I am at the Sample Configuration page Then I should not see "New Metric Configuration" - @kalibro_restart @javascript + @kalibro_configuration_restart @javascript Scenario: metric configuration creation Given I am a regular user And I am signed in @@ -26,7 +26,7 @@ Feature: Metric Configuration Creation Then I should see "Total Lines of Code" Then I should see "2" - @kalibro_restart @javascript + @kalibro_configuration_restart @javascript Scenario: metric configuration creation Given I am a regular user And I am signed in diff --git a/features/metric_configuration/delete.feature b/features/metric_configuration/delete.feature index 052cbc9..d89e7e3 100644 --- a/features/metric_configuration/delete.feature +++ b/features/metric_configuration/delete.feature @@ -3,7 +3,7 @@ Feature: Metric Configuration Deletion As a regular user The system should have an interface to it - @kalibro_restart + @kalibro_configuration_restart Scenario: Should delete a metric configuration that I own Given I am a regular user And I am signed in @@ -14,7 +14,7 @@ Feature: Metric Configuration Deletion And I click the Destroy link Then I should see "There are no Metric Configurations yet!" - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not see the destroy metric configuration link in the mezuro configuration that I not own Given I am a regular user And I am signed in diff --git a/features/metric_configuration/edition.feature b/features/metric_configuration/edition.feature index 97a4390..42daa28 100644 --- a/features/metric_configuration/edition.feature +++ b/features/metric_configuration/edition.feature @@ -3,7 +3,7 @@ Feature: Metric Configuration edition As a regular user I should edit the informations of metric configurations - @kalibro_restart + @kalibro_configuration_restart Scenario: the configuration is not mine Given I am a regular user And I am signed in @@ -13,7 +13,7 @@ Feature: Metric Configuration edition When I am at the Sample Configuration page Then I should not see Edit within table - @kalibro_restart + @kalibro_configuration_restart Scenario: editing a metric configuration successfully Given I am a regular user And I am signed in @@ -26,7 +26,7 @@ Feature: Metric Configuration edition And I press the Save button Then I should see "3.0" - @kalibro_restart + @kalibro_configuration_restart Scenario: trying to edit with blank fields Given I am a regular user And I am signed in @@ -38,7 +38,7 @@ Feature: Metric Configuration edition And I press the Save button Then I should see "Weight can't be blank" - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not edit a metric configuration with invalid weight Given I am a regular user And I am signed in diff --git a/features/metric_configuration/listing.feature b/features/metric_configuration/listing.feature index ab3d2bc..c3d15fc 100644 --- a/features/metric_configuration/listing.feature +++ b/features/metric_configuration/listing.feature @@ -3,7 +3,7 @@ Feature: Configuration listing As a regular user I should see the metric configurations of a given configuration - @kalibro_restart + @kalibro_configuration_restart Scenario: When there are no metric configurations Given I have a sample configuration When I am at the Sample Configuration page @@ -12,7 +12,7 @@ Feature: Configuration listing And I should see "Weight" And I should see "There are no Metric Configurations yet!" - @kalibro_restart + @kalibro_configuration_restart Scenario: When there are metric configurations Given I have a sample configuration And I have a sample reading group @@ -20,7 +20,7 @@ Feature: Configuration listing When I am at the Sample Configuration page Then I should see the sample metric configuration content - @kalibro_restart + @kalibro_configuration_restart Scenario: I should see the add metric link when I am the owner of the given configuration Given I am a regular user And I am signed in @@ -28,7 +28,7 @@ Feature: Configuration listing When I am at the Sample Configuration page Then I should see "Add Metric" - @kalibro_restart + @kalibro_configuration_restart Scenario: I should not see the add metric link when I am at a given configuration page Given I am a regular user And I am signed in diff --git a/features/metric_configuration/show.feature b/features/metric_configuration/show.feature index dfaeb14..40efda1 100644 --- a/features/metric_configuration/show.feature +++ b/features/metric_configuration/show.feature @@ -3,7 +3,7 @@ Feature: Show Metric Configuration As a regular user I should be able to see each of them - @kalibro_restart + @kalibro_configuration_restart Scenario: Checking metric configuration show link Given I have a sample configuration And I have a sample reading group @@ -15,7 +15,7 @@ Feature: Show Metric Configuration Then I should be at metric configuration sample page And I should see the sample range - @kalibro_restart @javascript + @kalibro_configuration_restart @javascript Scenario: When there's a range created and I want to see its comments Given I have a sample configuration And I have a sample reading group diff --git a/features/mezuro_configuration/create.feature b/features/mezuro_configuration/create.feature index 61eea03..7a42823 100644 --- a/features/mezuro_configuration/create.feature +++ b/features/mezuro_configuration/create.feature @@ -3,12 +3,12 @@ Feature: Configuration Creation As a regular user I should be able to create configurations - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not create configuration without login Given I am at the All Configurations page Then I should not see "New Configuration" - @kalibro_restart + @kalibro_configuration_restart Scenario: configuration creation Given I am a regular user And I am signed in @@ -19,7 +19,7 @@ Feature: Configuration Creation Then I should see "Kalibro" And I should see "Web Service to collect metrics" - @kalibro_restart + @kalibro_configuration_restart Scenario: configuration creation with already taken name Given I am a regular user And I am signed in @@ -30,7 +30,7 @@ Feature: Configuration Creation When I press the Save button Then I should see "Name There is already a KalibroConfiguration with name Kalibro!" - @kalibro_restart + @kalibro_configuration_restart Scenario: configuration creation with blank name Given I am a regular user And I am signed in diff --git a/features/mezuro_configuration/deletion.feature b/features/mezuro_configuration/deletion.feature index d5e931a..a3fceee 100644 --- a/features/mezuro_configuration/deletion.feature +++ b/features/mezuro_configuration/deletion.feature @@ -3,13 +3,13 @@ Feature: Configuration Deletion As a regular user The system should have an interface to it - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not delete a configuration without user authentication Given I have a sample configuration When I am at the Sample Configuration page Then I should not see "Destroy" - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not delete a configuration that doesn't belongs to user Given I am a regular user And I am signed in @@ -17,7 +17,7 @@ Feature: Configuration Deletion When I am at the Sample Configuration page Then I should not see "Destroy" - @kalibro_restart + @kalibro_configuration_restart Scenario: Should delete a configuration that I own Given I am a regular user And I am signed in diff --git a/features/mezuro_configuration/edition.feature b/features/mezuro_configuration/edition.feature index 4111cbd..ecb0116 100644 --- a/features/mezuro_configuration/edition.feature +++ b/features/mezuro_configuration/edition.feature @@ -3,7 +3,7 @@ Feature: Configuration As a regular user I should be able to edit my configurations - @kalibro_restart + @kalibro_configuration_restart Scenario: Should go to the edit page from a configuration that I own Given I am a regular user And I am signed in @@ -12,7 +12,7 @@ Feature: Configuration When I click the Edit link Then I should be in the Edit Configuration page - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not show edit links from configurations that doesn't belongs to me Given I am a regular user And I am signed in @@ -20,7 +20,7 @@ Feature: Configuration And I am at the All Configurations page Then I should not see Edit within table - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not render the edit page if the configuration doesn't belongs to the current user Given I am a regular user And I am signed in @@ -29,7 +29,7 @@ Feature: Configuration When I visit the sample configuration edit page Then I should see "You're not allowed to do this operation" - @kalibro_restart + @kalibro_configuration_restart Scenario: Filling up the form Given I am a regular user And I am signed in @@ -39,7 +39,7 @@ Feature: Configuration Then The field "kalibro_configuration[name]" should be filled with the sample configuration "name" And The field "kalibro_configuration[description]" should be filled with the sample configuration "description" - @kalibro_restart + @kalibro_configuration_restart Scenario: With valid attributes Given I am a regular user And I am signed in @@ -51,7 +51,7 @@ Feature: Configuration Then I should see "Kalibro" And I should see "Web Service to collect metrics" - @kalibro_restart + @kalibro_configuration_restart Scenario: With configuration name already taken Given I am a regular user And I am signed in @@ -62,7 +62,7 @@ Feature: Configuration When I press the Save button Then I should see "Name There is already a KalibroConfiguration with name Qt-Calculator!" - @kalibro_restart + @kalibro_configuration_restart Scenario: Editing just the description Given I am a regular user And I am signed in @@ -72,7 +72,7 @@ Feature: Configuration When I press the Save button And I should see "Web Service to collect metrics" - @kalibro_restart + @kalibro_configuration_restart Scenario: With blank configuration name Given I am a regular user And I am signed in diff --git a/features/mezuro_configuration/listing.feature b/features/mezuro_configuration/listing.feature index 8257476..60a2c09 100644 --- a/features/mezuro_configuration/listing.feature +++ b/features/mezuro_configuration/listing.feature @@ -11,7 +11,7 @@ Feature: Configuration listing And I should see "Description" And I should see "You must be logged in to create new Configurations." - @kalibro_restart + @kalibro_configuration_restart Scenario: Should list the existing configurations Given I am a regular user And I am signed in @@ -20,7 +20,7 @@ Feature: Configuration listing Then the sample configuration should be there And I should not see "You must be logged in to create new Configurations." - @kalibro_restart + @kalibro_configuration_restart Scenario: Should show the existing configuration Given I am a regular user And I am signed in diff --git a/features/mezuro_configuration/show.feature b/features/mezuro_configuration/show.feature index 8225f56..592e6af 100644 --- a/features/mezuro_configuration/show.feature +++ b/features/mezuro_configuration/show.feature @@ -3,7 +3,7 @@ Feature: Show Configuration As a regular user I should be able to see each of them -@kalibro_restart +@kalibro_configuration_restart Scenario: Checking configuration contents Given I have a sample configuration When I am at the Sample Configuration page diff --git a/features/mezuro_range/create.feature b/features/mezuro_range/create.feature index 5d2f1ea..7948fb3 100644 --- a/features/mezuro_range/create.feature +++ b/features/mezuro_range/create.feature @@ -3,7 +3,7 @@ Feature: Create range As a metric specialist I should be able to fill up a form with its informations and submit it - @kalibro_restart + @kalibro_configuration_restart Scenario: Visiting range creation page when the user own an non-empty reading group Given I am a regular user And I am signed in @@ -19,7 +19,7 @@ Feature: Create range And I should see "Comments" And I should see "Reading" - @kalibro_restart + @kalibro_configuration_restart Scenario: Visiting range creation page when the user don't own the reading group and this reading group is empty Given I am a regular user And I am signed in @@ -35,7 +35,7 @@ Feature: Create range And I should see "You must have Readings within your associated Reading Group to create a new Range." And I should see "The Reading Group of your Metric Configuration belongs to another user and you are not allowed to modify it." - @kalibro_restart + @kalibro_configuration_restart Scenario: Visiting range creation page when the user own an empty reading group (testing link to New Reading) Given I am a regular user And I am signed in @@ -55,7 +55,7 @@ Feature: Create range And I should see "Grade" And I should see "Color" - @kalibro_restart + @kalibro_configuration_restart Scenario: With valid fields and owning a non-empty reading group Given I am a regular user And I am signed in @@ -71,7 +71,7 @@ Feature: Create range When I press the Save button Then I should be at metric configuration sample page - @kalibro_restart + @kalibro_configuration_restart Scenario: With invalid fields and owning a non-empty reading group (Beginning > End) Given I am a regular user And I am signed in @@ -89,7 +89,7 @@ Feature: Create range And I should see "1 error prohibited this MezuroRange from being saved" And I should see "[666.0, 42.0[ is not a valid range" - @kalibro_restart + @kalibro_configuration_restart Scenario: With an invalid beggining (not a number) Given I am a regular user And I am signed in @@ -107,7 +107,7 @@ Feature: Create range And I should see "1 error prohibited this MezuroRange from being saved" And I should see "Beginning is not a number" - @kalibro_restart + @kalibro_configuration_restart Scenario: With an invalid end (not a number) Given I am a regular user And I am signed in @@ -124,7 +124,7 @@ Feature: Create range Then I should see "1 error prohibited this MezuroRange from being saved" And I should be at the New Range page - @kalibro_restart + @kalibro_configuration_restart Scenario: With an already taken beginning Given I am a regular user And I am signed in @@ -142,7 +142,7 @@ Feature: Create range Then I should be at the New Range page And I should see "Beginning There is already a MezuroRange with beginning 2.0! Please, choose another one." - @kalibro_restart @javascript + @kalibro_configuration_restart @javascript Scenario: Should create range with [-INF, INF] threshold Given I am a regular user And I am signed in @@ -160,7 +160,7 @@ Feature: Create range And I should see "-INF" And I should see "INF" - @kalibro_restart @javascript + @kalibro_configuration_restart @javascript Scenario: Two valid ranges (one with INF) Given I am a regular user And I am signed in diff --git a/features/mezuro_range/deletion.feature b/features/mezuro_range/deletion.feature index b60360c..802083b 100644 --- a/features/mezuro_range/deletion.feature +++ b/features/mezuro_range/deletion.feature @@ -3,7 +3,7 @@ Feature: Range Deletion As a regular user The system should have an interface to it - @kalibro_restart + @kalibro_configuration_restart Scenario: Should delete a range that I own Given I am a regular user And I am signed in @@ -17,7 +17,7 @@ Feature: Range Deletion Then I should be at metric configuration sample page And I should see "There are no Ranges yet!" - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not see the destroy range link in the range that I not own Given I am a regular user And I am signed in diff --git a/features/mezuro_range/edit.feature b/features/mezuro_range/edit.feature index ed80c1a..71f6622 100644 --- a/features/mezuro_range/edit.feature +++ b/features/mezuro_range/edit.feature @@ -3,7 +3,7 @@ Feature: Mezuro Range Edit As a regular user I should be able to edit my mezuro ranges - @kalibro_restart + @kalibro_configuration_restart Scenario: editing a mezuro range successfully Given I am a regular user And I am signed in @@ -21,7 +21,7 @@ Feature: Mezuro Range Edit And I press the Save button Then I should see "2.2" - @kalibro_restart + @kalibro_configuration_restart Scenario: editing a mezuro range with blank fields Given I am a regular user And I am signed in diff --git a/features/project/show.feature b/features/project/show.feature index a075b97..e060c4f 100644 --- a/features/project/show.feature +++ b/features/project/show.feature @@ -3,7 +3,7 @@ Feature: Show Project As a regular user I should be able to see each of them -@kalibro_restart @kalibro_processor_restart +@kalibro_configuration_restart @kalibro_processor_restart Scenario: Should not show the create repository link to user that doesn't own the project Given I am a regular user And I have a sample project @@ -32,7 +32,7 @@ Scenario: Considering the project has no repositories When I am at the Sample Project page Then I should see "There are no Repositories yet!" -@kalibro_restart @kalibro_processor_restart +@kalibro_configuration_restart @kalibro_processor_restart Scenario: Considering the project has repositories Given I have a sample project And I have a sample configuration with native metrics diff --git a/features/reading/delete.feature b/features/reading/delete.feature index be180d2..39661cd 100644 --- a/features/reading/delete.feature +++ b/features/reading/delete.feature @@ -3,7 +3,7 @@ Feature: Reading Deletion As a regular user The system should have an interface to it - @kalibro_restart + @kalibro_configuration_restart Scenario: Should delete a reading that I own Given I am a regular user And I am signed in @@ -13,7 +13,7 @@ Feature: Reading Deletion And I click the Destroy link Then I should see "There are no Readings yet!" - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not see the destroy reading link in the reading groups that I not own Given I am a regular user And I am signed in diff --git a/features/reading/edit.feature b/features/reading/edit.feature index 391fbef..dad02e6 100644 --- a/features/reading/edit.feature +++ b/features/reading/edit.feature @@ -3,7 +3,7 @@ Feature: Reading Edit As a regular user I should be able to edit my readings -@kalibro_restart +@kalibro_configuration_restart Scenario: editing a reading successfully Given I am a regular user And I am signed in @@ -17,7 +17,7 @@ Feature: Reading Edit And I press the Save button Then I should see "Bad" - @kalibro_restart + @kalibro_configuration_restart Scenario: editing a reading with blank fields Given I am a regular user And I am signed in @@ -32,7 +32,7 @@ Feature: Reading Edit And I should see "Grade can't be blank" And I should see "Color can't be blank" - @kalibro_restart + @kalibro_configuration_restart Scenario: editing a reading with already taken name Given I am a regular user And I am signed in @@ -44,7 +44,7 @@ Feature: Reading Edit And I press the Save button Then I should see "Label There is already a Reading with label Average! Please, choose another one." - @kalibro_restart + @kalibro_configuration_restart Scenario: editing a reading with non numerical value Given I am a regular user And I am signed in diff --git a/features/reading/new.feature b/features/reading/new.feature index e63527a..2a1cc48 100644 --- a/features/reading/new.feature +++ b/features/reading/new.feature @@ -3,7 +3,7 @@ Feature: New reading As a metric specialist I should be able to fill up a form with its informations and submit it - @kalibro_restart + @kalibro_configuration_restart Scenario: Visiting reading creation page Given I am a regular user And I am signed in @@ -16,7 +16,7 @@ Feature: New reading And I should see "Color" And I press the Pick color button - @kalibro_restart + @kalibro_configuration_restart Scenario: With valid fields Given I am a regular user And I am signed in @@ -28,7 +28,7 @@ Feature: New reading When I press the Save button Then I should be in the Sample Reading Group page - @kalibro_restart @javascript + @kalibro_configuration_restart @javascript Scenario: Checking color picker existence Given I am a regular user And I am signed in @@ -37,7 +37,7 @@ Feature: New reading When I press the Pick color button Then I should see a color picker Canvas - @kalibro_restart @javascript + @kalibro_configuration_restart @javascript Scenario: Selecting a valid color with color picker Given I am a regular user And I am signed in @@ -50,7 +50,7 @@ Feature: New reading And I press the Save button Then I should be in the Sample Reading Group page - @kalibro_restart + @kalibro_configuration_restart Scenario: With an existing label (Label uniqueness test) Given I am a regular user And I am signed in @@ -64,7 +64,7 @@ Feature: New reading Then I should see "1 error prohibited this Reading from being saved" And I should be at the New Reading page - @kalibro_restart + @kalibro_configuration_restart Scenario: With an invalid grade Given I am a regular user And I am signed in @@ -77,7 +77,7 @@ Feature: New reading Then I should see "Grade is not a number" And I should be at the New Reading page - @kalibro_restart + @kalibro_configuration_restart Scenario: With an invalid color Given I am a regular user And I am signed in diff --git a/features/reading_group/create.feature b/features/reading_group/create.feature index 6ed1f08..926128b 100644 --- a/features/reading_group/create.feature +++ b/features/reading_group/create.feature @@ -3,12 +3,12 @@ Feature: Reading Group Creation As a regular user I should be able to create reading groups -@kalibro_restart +@kalibro_configuration_restart Scenario: Should not create reading groups without login Given I am at the All Reading Groups page Then I should not see "New Reading Group" -@kalibro_restart +@kalibro_configuration_restart Scenario: Reading Group creation Given I am a regular user And I am signed in @@ -21,7 +21,7 @@ Scenario: Reading Group creation And I should see "New Reading" And I should see "Destroy Reading Group" -@kalibro_restart +@kalibro_configuration_restart Scenario: reading group creation with already taken name Given I am a regular user And I am signed in @@ -32,7 +32,7 @@ Scenario: reading group creation with already taken name When I press the Save button Then I should see "Name There is already a ReadingGroup with name Group!" -@kalibro_restart +@kalibro_configuration_restart Scenario: reading group creation with blank name Given I am a regular user And I am signed in diff --git a/features/reading_group/delete.feature b/features/reading_group/delete.feature index ae6ff72..696dfe7 100644 --- a/features/reading_group/delete.feature +++ b/features/reading_group/delete.feature @@ -3,13 +3,13 @@ Feature: Reading Group Deletion As a regular user The system should have an interface to it - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not delete a reading group without user authentication Given I have a sample reading group When I visit the Sample Reading Group page Then I should not see "Destroy" - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not delete a reading group that doesn't belongs to user Given I am a regular user And I am signed in @@ -17,7 +17,7 @@ Feature: Reading Group Deletion When I visit the Sample Reading Group page Then I should not see "Destroy" - @kalibro_restart + @kalibro_configuration_restart Scenario: Should delete a reading group that I own Given I am a regular user And I am signed in diff --git a/features/reading_group/edit.feature b/features/reading_group/edit.feature index 76b656b..19f08d2 100644 --- a/features/reading_group/edit.feature +++ b/features/reading_group/edit.feature @@ -3,7 +3,7 @@ Feature: Reading Group As a regular user I should be able to edit my reading groups - @kalibro_restart + @kalibro_configuration_restart Scenario: Should go to the edit page from a reading group that I own Given I am a regular user And I am signed in @@ -12,7 +12,7 @@ Feature: Reading Group When I click the Edit link Then I should be in the Edit Reading Group page - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not show edit links from reading groups that doesn't belongs to me Given I am a regular user And I am signed in @@ -20,7 +20,7 @@ Feature: Reading Group And I am at the All Reading Groups page Then I should not see Edit within table - @kalibro_restart + @kalibro_configuration_restart Scenario: Should not render the edit page if the reading group doesn't belongs to the current user Given I am a regular user And I am signed in @@ -29,7 +29,7 @@ Feature: Reading Group When I visit the sample reading group edit page Then I should see "You're not allowed to do this operation" - @kalibro_restart + @kalibro_configuration_restart Scenario: Filling up the form Given I am a regular user And I am signed in @@ -39,7 +39,7 @@ Feature: Reading Group Then The field "reading_group[name]" should be filled with the sample reading group "name" And The field "reading_group[description]" should be filled with the sample reading group "description" - @kalibro_restart + @kalibro_configuration_restart Scenario: With valid attributes Given I am a regular user And I am signed in @@ -51,7 +51,7 @@ Feature: Reading Group Then I should see "My Reading Group" And I should see "New Reading Group" - @kalibro_restart + @kalibro_configuration_restart Scenario: With reading group name already taken Given I am a regular user And I am signed in @@ -62,7 +62,7 @@ Feature: Reading Group When I press the Save button Then I should see "Name There is already a ReadingGroup with name A Reading!" - @kalibro_restart + @kalibro_configuration_restart Scenario: Editing just the description Given I am a regular user And I am signed in @@ -72,7 +72,7 @@ Feature: Reading Group When I press the Save button Then I should see "New Reading Group" - @kalibro_restart + @kalibro_configuration_restart Scenario: With blank reading group name Given I am a regular user And I am signed in diff --git a/features/reading_group/show.feature b/features/reading_group/show.feature index 3b1517f..daf7b27 100644 --- a/features/reading_group/show.feature +++ b/features/reading_group/show.feature @@ -3,7 +3,7 @@ Feature: Show Reading Group As a regular user I should be able to see each of them -@kalibro_restart +@kalibro_configuration_restart Scenario: Should not show the create, edit and destroy reading link to user that doesn't own the reading group Given I am a regular user 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 And I should not see Edit within table And I should not see "Destroy" -@kalibro_restart +@kalibro_configuration_restart Scenario: Should show the links for the user that owns the reading group Given I am a regular user And I am signed in @@ -27,7 +27,7 @@ Scenario: Should show the links for the user that owns the reading group And I should see "Destroy" And I should see "Destroy Reading Group" -@kalibro_restart +@kalibro_configuration_restart Scenario: Should show the information of the sample reading Given I have a sample reading group And I have a sample reading within the sample reading group @@ -39,7 +39,7 @@ Scenario: Should show the information of the sample reading And I should see "Color" And I should see the information of the sample reading -@kalibro_restart +@kalibro_configuration_restart Scenario: Should show a message when there is no readings Given I have a sample reading group When I visit the Sample Reading Group page diff --git a/features/repository/create.feature b/features/repository/create.feature index 78d26f8..3227537 100644 --- a/features/repository/create.feature +++ b/features/repository/create.feature @@ -3,7 +3,7 @@ Feature: Repository Creation As a regular user I should be able to create repositories -@kalibro_restart @kalibro_processor_restart @javascript +@kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: repository creation Given I am a regular user And I am signed in @@ -20,7 +20,7 @@ Scenario: repository creation When I press the Save button Then I should see the saved repository's content -@kalibro_restart @kalibro_processor_restart @javascript +@kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: repository creation blank validations Given I am a regular user And I am signed in @@ -37,7 +37,7 @@ Scenario: repository creation blank validations Then I should see "Name can't be blank" And I should see "Address can't be blank" -@kalibro_restart @kalibro_processor_restart @javascript +@kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: repository creation with name already taken Given I am a regular user And I am signed in diff --git a/features/repository/delete.feature b/features/repository/delete.feature index b0f89c5..a2fe12a 100644 --- a/features/repository/delete.feature +++ b/features/repository/delete.feature @@ -3,7 +3,7 @@ Feature: Project Deletion As a regular user The system should have an interface to it - @kalibro_restart @kalibro_processor_restart + @kalibro_configuration_restart @kalibro_processor_restart Scenario: Should delete a project that I own Given I am a regular user And I am signed in diff --git a/features/repository/edit.feature b/features/repository/edit.feature index c0a156c..bc21781 100644 --- a/features/repository/edit.feature +++ b/features/repository/edit.feature @@ -3,7 +3,7 @@ Feature: Repository Edit As a regular user I should be able to edit my repositories - @kalibro_restart @kalibro_processor_restart + @kalibro_configuration_restart @kalibro_processor_restart Scenario: editing a repository successfully Given I am a regular user And I am signed in @@ -25,7 +25,7 @@ Feature: Repository Edit And I should see "Weekly" And I should see "EU DataGrid Software License (EUDatagrid)" - @kalibro_restart @kalibro_processor_restart + @kalibro_configuration_restart @kalibro_processor_restart Scenario: editing a repository with blank fields Given I am a regular user And I am signed in @@ -39,7 +39,7 @@ Feature: Repository Edit Then I should see "Name can't be blank" And I should see "Address can't be blank" - @kalibro_restart @kalibro_processor_restart + @kalibro_configuration_restart @kalibro_processor_restart Scenario: editing a repository with already taken name Given I am a regular user And I am signed in diff --git a/features/repository/show/date_select.feature b/features/repository/show/date_select.feature index 51b865d..3d76ba5 100644 --- a/features/repository/show/date_select.feature +++ b/features/repository/show/date_select.feature @@ -3,7 +3,7 @@ Feature: Date Select As a regular user I should be able to select a specific date - @kalibro_restart @kalibro_processor_restart @javascript + @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: With a specific date selected Given I have a sample project And I have a sample configuration with native metrics diff --git a/features/repository/show/metric_results.feature b/features/repository/show/metric_results.feature index 38665b3..8707360 100644 --- a/features/repository/show/metric_results.feature +++ b/features/repository/show/metric_results.feature @@ -3,7 +3,7 @@ Feature: Repository metric results As a regular user I should see the metric results table with its graphics - @kalibro_restart @kalibro_processor_restart @javascript + @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: Should show the message when the graphic of the given metric have only a single point Given I am a regular user And I am signed in @@ -23,7 +23,7 @@ Feature: Repository metric results When I wait up for the ajax request Then I should see "There is only one point and it will not be printed into a chart." - @kalibro_restart @kalibro_processor_restart @javascript + @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: Should show the no range message after a process without range Given I am a regular user And I am signed in @@ -40,7 +40,7 @@ Feature: Repository metric results And I see a sample metric's name Then I should see "Missing range" - @kalibro_restart @kalibro_processor_restart @javascript + @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: Should show the error message when the process fails Given I am a regular user And I am signed in diff --git a/features/repository/show/modules_tree.feature b/features/repository/show/modules_tree.feature index d182bca..4305e34 100644 --- a/features/repository/show/modules_tree.feature +++ b/features/repository/show/modules_tree.feature @@ -3,7 +3,7 @@ Feature: Repository modules tree As a regular user I should see the tree and be able to navigate over it - @kalibro_restart @kalibro_processor_restart @javascript + @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: Should show modules directories root when the process has been finished Given I am a regular user And I am signed in @@ -19,7 +19,7 @@ Feature: Repository modules tree And I wait for "5" seconds Then I should see the given module result - @kalibro_restart @kalibro_processor_restart @javascript + @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: Should show children of root when the process has been finished Given I am a regular user And I am signed in @@ -39,7 +39,7 @@ Feature: Repository modules tree And I should see "Grade" # This test is broken under analizo 1.17.0: https://www.pivotaltracker.com/story/show/80377258 - @wip @kalibro_restart @kalibro_processor_restart @javascript + @wip @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: Module navigation Given I am a regular user And I am signed in diff --git a/features/repository/show/repository_info.feature b/features/repository/show/repository_info.feature index e880b84..f29cd66 100644 --- a/features/repository/show/repository_info.feature +++ b/features/repository/show/repository_info.feature @@ -3,7 +3,7 @@ Feature: Show Repository As a regular user I should see it's informations - @kalibro_restart @kalibro_processor_restart @javascript + @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: Testing the repository values Given I have a sample project And I have a sample configuration with native metrics @@ -19,7 +19,7 @@ Feature: Show Repository And I should see "License" And I should see the given repository's content - @kalibro_restart @kalibro_processor_restart @javascript + @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: With a ready processing and asking to reprocess Given I am a regular user And I am signed in @@ -50,7 +50,7 @@ Feature: Show Repository When I click the Reprocess link Then I should see "PREPARING" - @kalibro_restart @kalibro_processor_restart @javascript + @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: Just after start to process Given I am a regular user And I am signed in -- libgit2 0.21.2