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 205470 ad92c85dce3542c0577a28413f132a3d54820ab2
parent 205469 a683c3c72bffffc6218571cab1eee31ef17288f3
child 205471 176edad2279e267bc66610beb626e4cd66e993b5
push id8769
push userdmosedale@mozilla.com
push dateTue, 16 Sep 2014 18:48:20 +0000
treeherderfx-team@ad92c85dce35 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8, NPOTB, so
bugs1068178
milestone35.0a1
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')