OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """WebsiteTest testing class.""" | 5 """WebsiteTest testing class.""" |
6 | 6 |
7 import logging | 7 import logging |
8 import sys | 8 import sys |
9 import time | 9 import time |
10 | 10 |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 self.LoginWhenNotAutofilled() | 403 self.LoginWhenNotAutofilled() |
404 self.Wait(2) | 404 self.Wait(2) |
405 self.environment.SwitchToInternals() | 405 self.environment.SwitchToInternals() |
406 self.environment.CheckForNewMessage( | 406 self.environment.CheckForNewMessage( |
407 environment.MESSAGE_ASK, | 407 environment.MESSAGE_ASK, |
408 True, | 408 True, |
409 "Error: password manager hasn't detected a successful login for the " | 409 "Error: password manager hasn't detected a successful login for the " |
410 "following website : %s \n" % self.name) | 410 "following website : %s \n" % self.name) |
411 finally: | 411 finally: |
412 self.environment.SwitchFromInternals() | 412 self.environment.SwitchFromInternals() |
OLD | NEW |