Skip to content
Browse files

fix frame tests

  • Loading branch information...
1 parent 72a4dc1 commit 9c13e0750cf6ece00980cbce84cac8a24bc16730 @jarmo jarmo committed Mar 12, 2012
Showing with 0 additions and 41 deletions.
  1. +0 −41 watir/unittests/frame_test.rb
View
41 watir/unittests/frame_test.rb
@@ -112,47 +112,6 @@ def test_iframes_id
end
-class TC_show_frames < Test::Unit::TestCase
- include CaptureIOHelper
-
- def capture_and_compare(page, expected)
- goto_page page
- actual = capture_stdout { browser.showFrames }
- assert_equal(expected, actual)
- end
-
- tag_method :test_show_nested_frames, :fails_on_firefox
-
- def test_show_nested_frames
- capture_and_compare("nestedFrames.html", <<END_OF_MESSAGE)
-there are 2 frames
-frame index: 1 name: nestedFrame
-frame index: 2 name: nestedFrame2
-END_OF_MESSAGE
- end
-
- tag_method :test_button_frames, :fails_on_firefox
-
- def test_button_frames
- capture_and_compare("frame_buttons.html", <<END_OF_MESSAGE)
-there are 2 frames
-frame index: 1 name: buttonFrame
-frame index: 2 name: buttonFrame2
-END_OF_MESSAGE
- end
-
- tag_method :test_iframes, :fails_on_firefox
-
- def test_iframes
- capture_and_compare("iframeTest.html", <<END_OF_MESSAGE)
-there are 2 frames
-frame index: 1 name: senderFrame
-frame index: 2 name: receiverFrame
-END_OF_MESSAGE
- end
-
-end
-
class TC_Frames_click_no_wait < Test::Unit::TestCase
def setup
goto_page "frame_buttons.html"

0 comments on commit 9c13e07

Please sign in to comment.
Something went wrong with that request. Please try again.