listing.feature
1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Feature: Configuration listing
In order to interact with other configurations
As a regular user
I should have various listings
Scenario: Listing configurations
Given I am at the homepage
When I click the Configuration link
Then I should see "Configurations"
And I should see "Name"
And I should see "Description"
And I should see "You must be logged in to create configurations."
@kalibro_configuration_restart
Scenario: Should list the existing configurations
Given I am a regular user
And I am signed in
And I have a sample configuration
And I am at the All Configurations page
Then the sample configuration should be there
And I should not see "You must be logged in to create configurations."
@kalibro_configuration_restart
Scenario: Should show the existing configuration
Given I am a regular user
And I am signed in
And I have a sample configuration
And I am at the All Configurations page
When I click the Show link
Then the sample configuration should be there
@kalibro_configuration_restart
Scenario: Should show only the public or owned configurations
Given I am a regular user
And I am signed in
And I have a sample configuration
And there is a public configuration created
And there is a private configuration created
When I am at the All Configurations page
Then the sample configuration should be there
And the public configuration should be there
And the private configuration should not be there