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

Side by Side Diff: chrome/test/functional/translate.py

Issue 10917042: Revert 154453 - Remove the translate pyauto test to chrome tests and all the supporting automation … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | chrome/test/pyautolib/pyauto.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import glob 6 import glob
7 import logging 7 import logging
8 import os 8 import os
9 import shutil 9 import shutil
10 import tempfile 10 import tempfile
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 def testNoTranslateInfobarAfterNeverTranslate(self): 511 def testNoTranslateInfobarAfterNeverTranslate(self):
512 """Verify Translate Info bar should not stay on the page after opting 512 """Verify Translate Info bar should not stay on the page after opting
513 Never translate the page""" 513 Never translate the page"""
514 url = self._GetDefaultSpanishURL() 514 url = self._GetDefaultSpanishURL()
515 self._NavigateAndWaitForBar(url) 515 self._NavigateAndWaitForBar(url)
516 self.SelectTranslateOption('never_translate_language') 516 self.SelectTranslateOption('never_translate_language')
517 self.assertFalse(self.GetBrowserInfo()['windows'][0]['tabs'][0]['infobars']) 517 self.assertFalse(self.GetBrowserInfo()['windows'][0]['tabs'][0]['infobars'])
518 518
519 if __name__ == '__main__': 519 if __name__ == '__main__':
520 pyauto_functional.Main() 520 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | chrome/test/pyautolib/pyauto.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698