Chromium Code Reviews| Index: chrome/test/functional/fullscreen_mouselock.py |
| diff --git a/chrome/test/functional/fullscreen_mouselock.py b/chrome/test/functional/fullscreen_mouselock.py |
| index 6cc08375db997f1f6ca51c6f938b543dc640541b..4b5ea9109c39de529dcedd2a5c859c4c4559cdc5 100755 |
| --- a/chrome/test/functional/fullscreen_mouselock.py |
| +++ b/chrome/test/functional/fullscreen_mouselock.py |
| @@ -364,6 +364,17 @@ class FullscreenMouselockTest(pyauto.PyUITest): |
| self.assertTrue(self.WaitUntil(lambda: not self.IsMouseLocked()), |
| msg='Mouse lock did not break when page is reloaded.') |
| + def testNoMLBubbleWhenTabLoseFocus(self): |
| + """Verify mouse lock bubble goes away when tab loses focus.""" |
| + self.NavigateToURL(self.GetHttpURLForDataPath( |
| + 'fullscreen_mouselock', 'fullscreen_mouselock.html')) |
| + self._driver.find_element_by_id('lockMouse1').click() |
| + self.assertTrue(self.WaitUntil(self.IsMouseLockPermissionRequested)) |
| + self.RunCommand(pyauto.IDC_NEW_TAB) |
|
Nirnimesh
2012/06/09 08:09:06
Use AppendTab instead
dyu1
2012/06/12 17:01:21
Done.
|
| + self.assertTrue(self.WaitUntil( |
| + lambda: not self.IsFullscreenBubbleDisplayingButtons()), |
| + msg='Mouse lock bubble did not clear when tab lost focus.') |
| + |
| def ExitTabFSToBrowserFS(self): |
| """Verify exiting tab fullscreen leaves browser in browser fullscreen. |