Skip to content

Commit

Permalink
Created test to recreate issue #741
Browse files Browse the repository at this point in the history
  • Loading branch information
vringar authored and vringar committed Sep 25, 2023
1 parent b21b914 commit bca485c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/test_finalize.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from ..automation.utilities import db_utils
from .openwpmtest import OpenWPMTest


class TestExtension(OpenWPMTest):
def get_config(self, data_dir=""):
manager_params, browser_params = self.get_test_config(data_dir)
browser_params[0]["prefs"] = {"dom.disable_open_during_load": True}
return manager_params, browser_params

def test_finalize_with_no_popup(self):
self.visit("https://example.com")
assert not db_utils.any_command_failed()

0 comments on commit bca485c

Please sign in to comment.