Commit f25ba09b6e64e9fc238b7cace7eeb477668be0d8
1 parent
cbda52f1
Exists in
colab
and in
4 other branches
Acceptance test for [-INF, INF] threshold
Showing
1 changed file
with
19 additions
and
0 deletions
Show diff stats
features/mezuro_range/create.feature
| ... | ... | @@ -141,3 +141,22 @@ Feature: Create range |
| 141 | 141 | When I press the Save button |
| 142 | 142 | Then I should be at the New Range page |
| 143 | 143 | And I should see "1 error prohibited this MezuroRange from getting saved" |
| 144 | + | |
| 145 | + @kalibro_restart @javascript | |
| 146 | + Scenario: Should create range with [-INF, INF] threshold | |
| 147 | + Given I am a regular user | |
| 148 | + And I am signed in | |
| 149 | + And I own a sample configuration | |
| 150 | + And I own a sample reading group | |
| 151 | + And I have a sample metric configuration within the given mezuro configuration | |
| 152 | + And I have a sample reading within the sample reading group labeled "My Reading" | |
| 153 | + And I have a sample range within the sample metric configuration with beginning "2" | |
| 154 | + And I am at the New Range page | |
| 155 | + And I click the -∞ link | |
| 156 | + And I click the ∞ link | |
| 157 | + And I fill the Comments field with "My Comment" | |
| 158 | + And I set the select field "Reading" as "My Reading" | |
| 159 | + When I press the Save button | |
| 160 | + Then I should be at metric configuration sample page | |
| 161 | + And I should see "-INF" | |
| 162 | + And I should see "INF" | |
| 144 | 163 | \ No newline at end of file | ... | ... |