Skip to content

Commit

Permalink
fix(step): isEnabled step may apply to an element
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-dezandee committed Jun 28, 2016
1 parent 98bf1ee commit 9b8b8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/step_definitions/assert_dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ export default [
[/the "([^"]*)" element should not be visible$/, elementState('isVisible', false)],
[/the "([^"]*)" element should exist$/, elementState('isExisting', true)],
[/the "([^"]*)" element should not exist$/, elementState('isExisting', false)],
[/the "([^"]*)" field should be enabled$/, elementState('isEnabled', true)],
[/the "([^"]*)" field should be disabled$/, elementState('isEnabled', false)],
[/the "([^"]*)" (?:field|element) should be enabled$/, elementState('isEnabled', true)],
[/the "([^"]*)" (?:field|element) should be disabled$/, elementState('isEnabled', false)],
[/the "([^"]*)" checkbox should be checked$/, elementState('isChecked', true)],
[/the checkbox "([^"]*)" (?:is|should be) checked$/, elementState('isChecked', true)],
[/the "([^"]*)" checkbox should not be checked$/, elementState('isChecked', false)],
Expand Down

0 comments on commit 9b8b8a9

Please sign in to comment.