unittests/windows/modal_dialog_test.rb in watir-1.5.4 vs unittests/windows/modal_dialog_test.rb in watir-1.5.5
- old
+ new
@@ -1,17 +1,17 @@
# feature tests for modal web dialog support
-# revision: $Revision: 1230 $
+# revision: $Revision: 1348 $
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..') if $0 == __FILE__
require 'unittests/setup'
require 'watir/close_all'
if VERSION == '1.8.2'
class TC_ModalDialog < Watir::TestCase
include Watir
def setup
- $ie.goto($htmlRoot + 'modal_dialog_launcher.html')
+ goto_page 'modal_dialog_launcher.html'
end
def teardown
if $ie
while $ie.close_modal do; end
\ No newline at end of file