зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1559992 - [marionette] Fix test_modal_dialogs.py TestTabModalAlerts.test_handle_two_dialogs. r=marionette-reviewers,jgraham
The second alert is not expected to immediately be created by the browser. As such the test has to wait for it. Differential Revision: https://phabricator.services.mozilla.com/D105317
This commit is contained in:
Родитель
e44df456bd
Коммит
6e294b04eb
|
@ -148,6 +148,8 @@ class TestTabModalAlerts(BaseAlertTestCase):
|
|||
alert1.send_keys("foo")
|
||||
alert1.accept()
|
||||
|
||||
self.wait_for_alert()
|
||||
|
||||
alert2 = self.marionette.switch_to_alert()
|
||||
alert2.send_keys("bar")
|
||||
alert2.accept()
|
||||
|
|
Загрузка…
Ссылка в новой задаче