altered tesst after updaing watir on loordv01, watir is now more strict when it comes to finding tags, you can't say,"find a text_field" and it will find the radio button version for you.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@6165 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#---
|
||||
class Test_04_drawings_screen < Test::Unit::TestCase
|
||||
#
|
||||
#Test we can logon to the system using the webmip administrator user<65>s login credentials and check that
|
||||
#Test we can logon to the system using the webmip administrator user<65>s login credentials and check that
|
||||
#all the columns required for the report appears with the button to create a new drawings record
|
||||
#
|
||||
def test_01_drawing_screen_appears
|
||||
@@ -65,7 +65,7 @@ class Test_04_drawings_screen < Test::Unit::TestCase
|
||||
#
|
||||
def test_04_update_drawing
|
||||
@@ie.link(:text, 'D1').click
|
||||
assert(@@ie.text_field(:id, 'P53_CODE').verify_contains('D1'),'The drawing code field did not contain value D1')
|
||||
assert(@@ie.contains_text('D1'),'The drawing code field did not contain value D1')
|
||||
assert(@@ie.text_field(:id, 'P53_DESCRIPTION').verify_contains('Drawing for housing'),'The drawing description field did not contain value Drawing for housing')
|
||||
assert(@@ie.button(:id, 'cancel').exists?,'The cancel button was not available')
|
||||
assert(@@ie.button(:id, 'delete').exists?,'The delete button was not available')
|
||||
|
||||
Reference in New Issue
Block a user