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

Unified Diff: functional/chromeos_accessibility.py

Issue 10696169: Automating a Chrome crash when Accessibility is turned on. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/test/
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: functional/chromeos_accessibility.py
===================================================================
--- functional/chromeos_accessibility.py (revision 146025)
+++ functional/chromeos_accessibility.py (working copy)
@@ -7,6 +7,7 @@
import os
import subprocess
import sys
+import time
import pyauto_functional
import pyauto
@@ -74,6 +75,13 @@
self.NavigateToURL(url)
self.assertEqual(1, self.FindInPage('title')['match_count'],
msg='Failed to load the page or find the page contents.')
+ # crbug.com/129218: adding a volume change functionality to automate this
+ # issue. Please note that we don't verify any functionality here.
+ default_volume = self.GetVolumeInfo()
+ for test_volume in (50.00, 77.00, 85.00, 20.00):
+ self.SetVolume(test_volume)
+ time.sleep(1)
+ self.SetVolume(default_volume.get('volume'))
def testAccessibilityBeforeLogin(self):
"""Test Accessibility before login."""
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698