Skip to content

Commit eb0ccf8

Browse files
vringarvringar
authored andcommitted
Created test to recreate issue #741
1 parent 5e77c98 commit eb0ccf8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/test_finalize.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from ..automation.utilities import db_utils
2+
from .openwpmtest import OpenWPMTest
3+
4+
5+
class TestExtension(OpenWPMTest):
6+
def get_config(self, data_dir=""):
7+
manager_params, browser_params = self.get_test_config(data_dir)
8+
browser_params[0]["prefs"] = {"dom.disable_open_during_load": True}
9+
return manager_params, browser_params
10+
11+
def test_finalize_with_no_popup(self):
12+
self.visit("https://example.com")
13+
assert not db_utils.any_command_failed()

0 commit comments

Comments
 (0)