deletion.feature
2.08 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
43
44
Feature: Kalibro Range Deletion
In order to be able to remove a kalibro range
As a regular user
The system should have an interface to it
@kalibro_configuration_restart
Scenario: Should delete a kalibro range I own which belongs to a metric configuration
Given I am a regular user
And I am signed in
And I own a sample configuration
And I have a sample reading group
And I have a sample metric configuration within the given mezuro configuration
And I have a sample reading within the sample reading group labeled "My Reading"
And I have a sample range within the sample metric configuration
And I am at the sample metric configuration page
When I click the Destroy link
Then I should be at metric configuration sample page
And I should see "There are no Ranges yet!"
@kalibro_configuration_restart
Scenario: Should delete a kalibro range I own which belongs to a compound metric configuration
Given I am a regular user
And I am signed in
And I own a sample configuration
And I have a sample reading group
And I have a sample compound metric configuration within the given mezuro configuration
And I have a sample reading within the sample reading group labeled "My Reading"
And I have a sample range within the sample compound metric configuration
And I am at the sample compound metric configuration page
When I click the Destroy link
Then I should be at compound metric configuration sample page
And I should see "There are no Ranges yet!"
@kalibro_configuration_restart
Scenario: Should not see the destroy kalibro range link in the kalibro range that I do not own
Given I am a regular user
And I am signed in
And I have a sample configuration
And I have a sample reading group
And I have a sample metric configuration within the given mezuro configuration
And I have a sample reading within the sample reading group labeled "My Reading"
And I have a sample range within the sample metric configuration
When I am at the sample metric configuration page
Then I should not see "Destroy"