Bug 1068178 - Fix Loop functional test bustage, rs=Standard8, NPOTB, so DONTBUILD
authorDan Mosedale <dmose@meer.net>
Tue, 16 Sep 2014 11:47:39 -0700
changeset 226634 19f2399950b5e310f78cfd501cce4002ad3d61e2
parent 226633 a6733cf963700c265adb6f9e61c83444099dbe7f
child 226635 2d94ee52c6d810b7845dc966dc910d01cdea37e2
push id583
push userbhearsum@mozilla.com
push dateMon, 24 Nov 2014 19:04:58 +0000
treeherdermozilla-release@c107e74250f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8, NPOTB, so
bugs1068178
milestone34.0a2
Bug 1068178 - Fix Loop functional test bustage, rs=Standard8, NPOTB, so DONTBUILD
browser/components/loop/test/functional/test_1_browser_call.py
--- a/browser/components/loop/test/functional/test_1_browser_call.py
+++ b/browser/components/loop/test/functional/test_1_browser_call.py
@@ -94,19 +94,21 @@ class Test1BrowserCall(MarionetteTestCas
         return call_url
 
     def start_and_verify_outgoing_call(self):
         # make the call!
         call_button = self.marionette.find_element(By.CLASS_NAME,
                                                    "btn-accept")
         call_button.click()
 
-        # expect a video container on standalone side
-        video = self.wait_for_element_displayed(By.CLASS_NAME, "media")
-        self.assertEqual(video.tag_name, "div", "expect a video container")
+        # make sure the standalone progresses to the pending state
+        pending_header = self.wait_for_element_displayed(By.CLASS_NAME,
+                                                         "pending-header")
+        self.assertEqual(pending_header.tag_name, "header",
+                         "expect a pending header")
 
     def accept_and_verify_incoming_call(self):
         self.marionette.set_context("chrome")
         self.marionette.switch_to_frame()
 
         # XXX should be using wait_for_element_displayed, but need to wait
         # for Marionette bug 1055309 to be fixed.
         chatbox = self.wait_for_element_exists(By.TAG_NAME, 'chatbox')