Nack, Just one minor point.
The New Pool functionality is not turned off per se, we have just disabled the link to the
new pool page. We can test navigating straight to the New Pool Page URL like in this
scenario: Scenario: Enter invalid characters into Name field
For this scenario: Scenario: Create a new Pool
I think it might be better to just comment out the navigation and start the scenario from
the new pool page.
----- Original Message -----
From: lmartinc(a)redhat.com
To: deltacloud-devel(a)lists.fedorahosted.org
Sent: Thursday, November 18, 2010 12:52:05 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: [deltacloud-devel] [PATCH aggregator] Comment Pool Cucumber test until it's
disabled
From: Ladislav Martincik <lmartinc(a)redhat.com>
---
src/features/pool.feature | 108 +++++++++++++++++++++++----------------------
1 files changed, 55 insertions(+), 53 deletions(-)
diff --git a/src/features/pool.feature b/src/features/pool.feature
index b85b930..51ad615 100644
--- a/src/features/pool.feature
+++ b/src/features/pool.feature
@@ -7,65 +7,67 @@ Feature: Manage Pools
Given I am an authorised user
And I am logged in
- Scenario: Create a new Pool
- Given I am on the pools page
- And there is not a pool named "mockpool"
- When I follow "New pool"
- Then I should be on the new pool page
- And I should see "Create a new Pool"
- When I fill in "pool_name" with "mockpool"
- And I press "Save"
- Then I should be on the show pool page
- And I should see "Pool added"
- And I should see "mockpool"
- And I should have a pool named "mockpool"
+ # NOTE: New pool functionality is turned of for now
+ #
+ # Scenario: Create a new Pool
+ # Given I am on the pools page
+ # And there is not a pool named "mockpool"
+ # When I follow "New pool"
+ # Then I should be on the new pool page
+ # And I should see "Create a new Pool"
+ # When I fill in "pool_name" with "mockpool"
+ # And I press "Save"
+ # Then I should be on the show pool page
+ # And I should see "Pool added"
+ # And I should see "mockpool"
+ # And I should have a pool named "mockpool"
- Scenario: View Pool's Hardware Profiles
- Given I have Pool Creator permissions on a pool named "mockpool"
- And the Pool has the following Hardware Profiles:
- | name | memory | cpu |storage | architecture |
- | m1-small | 1740 | 2 | 160.0 | i386 |
- | m1-large | 4096 | 4 | 850.0 | x86_64 |
- | m1-xlarge | 8192 | 8 | 1690.0 | x86_64 |
- And I am on the instances page
- When I follow "mockpool"
- Then I should be on the show pool page
- When I follow "Hardware Profiles"
- Then I should see the following:
- | m1-small | 1740 | 2 | 160.0 | i386 |
- | m1-large | 4096 | 4 | 850.0 | x86_64 |
- | m1-xlarge | 8192 | 8 | 1690.0 | x86_64 |
+ # Scenario: View Pool's Hardware Profiles
+ # Given I have Pool Creator permissions on a pool named "mockpool"
+ # And the Pool has the following Hardware Profiles:
+ # | name | memory | cpu |storage | architecture |
+ # | m1-small | 1740 | 2 | 160.0 | i386 |
+ # | m1-large | 4096 | 4 | 850.0 | x86_64 |
+ # | m1-xlarge | 8192 | 8 | 1690.0 | x86_64 |
+ # And I am on the instances page
+ # When I follow "mockpool"
+ # Then I should be on the show pool page
+ # When I follow "Hardware Profiles"
+ # Then I should see the following:
+ # | m1-small | 1740 | 2 | 160.0 | i386 |
+ # | m1-large | 4096 | 4 | 850.0 | x86_64 |
+ # | m1-xlarge | 8192 | 8 | 1690.0 | x86_64 |
- Scenario: View Pool's Realms
- Given I have Pool Creator permissions on a pool named "mockpool"
- And the Pool has the following Realms named "Europe, United States"
- And I am on the instances page
- When I follow "mockpool"
- Then I should be on the show pool page
- When I follow "Realms"
- Then I should see "Europe"
- And I should see "United States"
+ # Scenario: View Pool's Realms
+ # Given I have Pool Creator permissions on a pool named "mockpool"
+ # And the Pool has the following Realms named "Europe, United States"
+ # And I am on the instances page
+ # When I follow "mockpool"
+ # Then I should be on the show pool page
+ # When I follow "Realms"
+ # Then I should see "Europe"
+ # And I should see "United States"
- @tag
- Scenario: View Pool's Quota Usage
- Given I have Pool Creator permissions on a pool named "mockpool"
- And the Pool has a quota with following capacities:
- | resource | capacity |
- | maximum_running_instances | 10 |
- | maximum_total_instances | 15 |
- | running_instances | 8 |
- | total_instances | 15 |
- And I am on the instances page
- When I follow "mockpool"
- Then I should be on the show pool page
- When I follow "Quota"
- Then I should see the following:
- | Running Instances | 10 | 8 |
- | Total Instances | 15 | 15 |
+ # @tag
+ # Scenario: View Pool's Quota Usage
+ # Given I have Pool Creator permissions on a pool named "mockpool"
+ # And the Pool has a quota with following capacities:
+ # | resource | capacity |
+ # | maximum_running_instances | 10 |
+ # | maximum_total_instances | 15 |
+ # | running_instances | 8 |
+ # | total_instances | 15 |
+ # And I am on the instances page
+ # When I follow "mockpool"
+ # Then I should be on the show pool page
+ # When I follow "Quota"
+ # Then I should see the following:
+ # | Running Instances | 10 | 8 |
+ # | Total Instances | 15 | 15 |
Scenario: Enter invalid characters into Name field
Given I am an authorised user
And I am on the new pool page
When I fill in "pool[name]" with "@%&*())_@!#!"
And I press "Save"
- Then I should see "Name must only contain: numbers, letters, spaces, '_'
and '-'"
\ No newline at end of file
+ Then I should see "Name must only contain: numbers, letters, spaces, '_'
and '-'"
--
1.7.3.1
_______________________________________________
deltacloud-devel mailing list
deltacloud-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/deltacloud-devel