From: Jan Provaznik <jprovazn(a)redhat.com>
Uncommented test fo sw selection because I re-enabled collection selection.
---
src/features/template.feature | 42 ++++++++++++++++++++--------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/src/features/template.feature b/src/features/template.feature
index e4cf867..e36ee72 100644
--- a/src/features/template.feature
+++ b/src/features/template.feature
@@ -32,27 +32,27 @@ Feature: Manage Templates
Then I should see "New Template"
And I should see "libdeltacloud"
- #Scenario: Add group and remove package to/from the template
- # Given I am on the templates page
- # When I press "Template"
- # Then I should be on the new template page
- # When I fill in the following:
- # | tpl_name | mocktemplate |
- # And I press "Add Software"
- # Then I should see "Managed Content Selection"
- # When I press "Collections"
- # And I check "group_deltacloud"
- # And I press "Add Selected"
- # Then I should see "Managed Content to Bundle"
- # And the "tpl[name]" field by name should contain "mocktemplate"
- # And the page should contain "#package_libdeltacloud" selector
- # When I press "remove_package_libdeltacloud"
- # Then I should see "Managed Content to Bundle"
- # And the page should not contain "#package_libdeltacloud" selector
- # When I press "Save"
- # Then I should be on the templates page
- # And I should see "Template saved"
- # And I should see "mocktemplate"
+ Scenario: Add group and remove package to/from the template
+ Given I am on the templates page
+ When I press "Template"
+ Then I should be on the new template page
+ When I fill in the following:
+ | tpl_name | mocktemplate |
+ And I press "Add Software"
+ Then I should see "Managed Content Selection"
+ When I press "Collections"
+ And I check "group_deltacloud"
+ And I press "Add Selected"
+ Then I should see "Managed Content to Bundle"
+ And the "tpl[name]" field by name should contain "mocktemplate"
+ And the page should contain "#package_libdeltacloud" selector
+ When I press "remove_package_libdeltacloud"
+ Then I should see "Managed Content to Bundle"
+ And the page should not contain "#package_libdeltacloud" selector
+ When I press "Save"
+ Then I should be on the templates page
+ And I should see "Template saved"
+ And I should see "mocktemplate"
Scenario: Sorting templates
Given there is a "mock1" template
--
1.7.2.3