Index: client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py |
diff --git a/client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py b/client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py |
index 1cc4240021ca8eaead47f26fb5e206a59fec0d75..20f7da50dc497520bd3918cb4708e22106b866e9 100755 |
--- a/client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py |
+++ b/client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py |
@@ -76,9 +76,11 @@ class realtimecomm_GTalkPlayground(test.test): |
page = 'videoplayground.html' |
para = 'callType=v' |
playground_url = "%s/%s?%s" % (path, page, para) |
- session = site_ui.ChromeSession(playground_url) |
- time.sleep(60) |
- session.close() |
+ utils.run('su chronos -c \'DISPLAY=:0 \ |
+ XAUTHORITY=/home/chronos/.Xauthority \ |
+ /opt/google/chrome/chrome \ |
+ --no-first-run %s\' &' % playground_url) |
+ time.sleep(120) |
# Verify log |
self.run_verification() |