Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Unified Diff: chrome/test/functional/gtalk/test_basic.py

Issue 10535022: Re-enable gtalk test. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/gtalk/test_basic.py
===================================================================
--- chrome/test/functional/gtalk/test_basic.py (revision 140631)
+++ chrome/test/functional/gtalk/test_basic.py (working copy)
@@ -232,6 +232,12 @@
self.assertTrue(self.WaitUntil(lambda: bool(self.GetMoleInfo(1))),
msg='Timed out waiting for second mole window to open.')
+ # Wait for mole content to load
+ self.WaitUntilCondition(
+ lambda: self.RunInMole('window.document.body.innerHTML', 1),
+ lambda html: html and 'Ping!' in html,
+ msg='Timed out waiting for Ping! to appear in mole DOM.')
+
# Disable the extension.
extension = self.GetGTalkExtensionInfo()
self.SetExtensionStateById(extension['id'], enable=False,
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698