Changed problem-editor scenario to pass in both firefox and chrome
This commit is contained in:
@@ -44,17 +44,15 @@ Feature: Problem Editor
|
||||
When I edit and select Settings
|
||||
Then if I set the weight to "abc", it remains unset
|
||||
|
||||
# CHROME ONLY, firefox will behave differently, it will display as 2.34 and persist as 2 due to HTML4
|
||||
Scenario: User cannot type decimal values integer number field
|
||||
Given I have created a Blank Common Problem
|
||||
When I edit and select Settings
|
||||
Then if I set the max attempts to "2.34", it displays initially as "234", and is persisted as "234"
|
||||
Then if I set the max attempts to "2.34", it will persist as a valid integer
|
||||
|
||||
# CHROME ONLY, Firefox will behave differently, it will display as -3 and persist as 3 due to HTML4
|
||||
Scenario: User cannot type out of range values in an integer number field
|
||||
Given I have created a Blank Common Problem
|
||||
When I edit and select Settings
|
||||
Then if I set the max attempts to "-3", it displays initially as "-3", and is persisted as "0"
|
||||
Then if I set the max attempts to "-3", it will persist as a valid integer
|
||||
|
||||
Scenario: Settings changes are not saved on Cancel
|
||||
Given I have created a Blank Common Problem
|
||||
|
||||
Reference in New Issue
Block a user