mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-23 10:40:13 +01:00
add cucumber tests for switching single and multiple actions forms
This commit is contained in:
parent
26cd345cbe
commit
c9ce82d533
7 changed files with 118 additions and 7 deletions
16
features/step_definitions/shared_new_todo_steps.rb
Normal file
16
features/step_definitions/shared_new_todo_steps.rb
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
Then /^the single action form should be visible$/ do
|
||||
selenium.is_visible("todo_new_action").should == true
|
||||
end
|
||||
|
||||
Then /^the single action form should not be visible$/ do
|
||||
selenium.is_visible("todo_new_action").should == false
|
||||
end
|
||||
|
||||
Then /^the multiple action form should be visible$/ do
|
||||
selenium.is_visible("todo_multi_add").should == true
|
||||
end
|
||||
|
||||
Then /^the multiple action form should not be visible$/ do
|
||||
selenium.is_visible("todo_multi_add").should == false
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue