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 228686 ad92c85dce3542c0577a28413f132a3d54820ab2
parent 228685 a683c3c72bffffc6218571cab1eee31ef17288f3
child 228687 176edad2279e267bc66610beb626e4cd66e993b5
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8, NPOTB, so
bugs1068178
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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')