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:
@@ -9,7 +9,7 @@ class Test_05_base_screen < Test::Unit::TestCase
|
||||
def test_01_bases_screen_appears
|
||||
@@ie.goto(BASE)
|
||||
#we'll need to login
|
||||
login(DK, DK_PWD)
|
||||
login(MIPADMIN, MIPADMIN_PWD)
|
||||
assert(@@ie.contains_text('Bases'),'The bases screen did not appear')
|
||||
assert(@@ie.contains_text('Base Description'),'The base description column did not appear')
|
||||
assert(@@ie.contains_text('Depth'),'The Depth column did not appear')
|
||||
@@ -300,6 +300,12 @@ class Test_05_base_screen < Test::Unit::TestCase
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user