Displaying 2 results from an estimated 2 matches for "add_new_person_link".
2006 Feb 09
1
Alternative take on Selenium in Rails
...l tests are written. So, you end
up with test classes such as:
class PersonSeleniumTest < Test::Unit::TestCase
selenium_test
fixtures :people, :households
def setup
open ''/person/view/1''
end
def test_add_new_person
click ''add_new_person_link''
assert_visible ''add_new_person''
type ''new_person_first_name'', ''Pixel''
type ''new_person_last_name'', ''the Cat''
select ''new_person_gender...
2006 Feb 19
0
Selenium testing plugin
...rite Selenium tests
like this:
class PersonSeleniumTest < Test::Unit::TestCase
fixtures :people
def setup
open :controller => ''person'', :action => ''view'', :id => 1
end
def test_add_new_person
click ''add_new_person_link''
assert_visible ''add_new_person''
type ''new_person_first_name'', ''Pixel''
type ''new_person_last_name'', ''the Cat''
select ''new_person_gender...