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

Unified Diff: chrome/test/functional/pyauto_webdriver.py

Issue 222873002: Remove pyauto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 9 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_functional.py ('k') | chrome/test/functional/remote_host_functional.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/pyauto_webdriver.py
===================================================================
--- chrome/test/functional/pyauto_webdriver.py (revision 261231)
+++ chrome/test/functional/pyauto_webdriver.py (working copy)
@@ -1,33 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2011 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import pyauto_functional
-import pyauto
-
-
-class PyAutoWebDriverTest(pyauto.PyUITest):
- """Tests PyAuto-WebDriver integration."""
-
- def testTypeIntoTextBox(self):
- """Type into a text input box and verify its value."""
- driver = self.NewWebDriver()
- driver.get('about:blank')
- driver.execute_script('document.body.innerHTML = "<input type=\'text\'>"')
- input = driver.find_element_by_tag_name('input')
- self.assertEquals('', input.get_attribute('value'))
- input.send_keys('test')
- self.assertEquals('test', input.get_attribute('value'))
-
- def testCanConnectToRestartedBrowser(self):
- """Restart the browser and connect again with WebDriver."""
- driver = self.NewWebDriver()
- self.RestartBrowser()
- driver = self.NewWebDriver()
- driver.get('about:blank')
- self.assertEquals('about:blank', driver.title)
-
-
-if __name__ == '__main__':
- pyauto_functional.Main()
« no previous file with comments | « chrome/test/functional/pyauto_functional.py ('k') | chrome/test/functional/remote_host_functional.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698