Altered to run in sequence on the integration test

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3470 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-02-05 16:04:35 +00:00
parent 78ba3ccab8
commit b1bbafd416
8 changed files with 33 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ class Test_03_housings_screen < Test::Unit::TestCase
def test_01_housing_screen_appears
@@ie.goto(HOUSING)
#we'll need to login
login(DK, DK_PWD)
login(MIPADMIN, MIPADMIN_PWD)
assert(@@ie.contains_text('Housings'),'The housing screen did not appear')
assert(@@ie.contains_text('Housing Code'),'The housing code column did not appear')
assert(@@ie.contains_text('Housing Type'),'The housing type column did not appear')
@@ -248,7 +248,12 @@ class Test_03_housings_screen < Test::Unit::TestCase
#~ assert_nil(@@ie.contains_text('ACTARIS'),'The new record with manufacturer dresser did appear')
#~ assert(@@ie.contains_text('Error'),'An error was not generated')
#~ end
def test_50_logout
menu('Logout')
assert(@@ie.button(:value, 'Login').exists?,'The Login button was not available')
@@ie.button(:value, 'Login').click
@@ie.wait
end
end