summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-01-03 22:30:52 +0100
committerWojtek Kosior <koszko@koszko.org>2022-01-03 22:30:52 +0100
commit280d3c42d9d519d381b8bae64e1dfc7e2cf42a2f (patch)
treede9cdc78b1ce0c136d208e1b5dc8dcf2e2d02e00 /test
parenta00926f143147ac70656a995f3c97959567c3884 (diff)
downloadbrowser-extension-280d3c42d9d519d381b8bae64e1dfc7e2cf42a2f.tar.gz
browser-extension-280d3c42d9d519d381b8bae64e1dfc7e2cf42a2f.zip
improve and test the dafult policy dialog
This commit also fixes some bugs that manifested themselves spuriously.
Diffstat (limited to 'test')
-rw-r--r--test/unit/conftest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/conftest.py b/test/unit/conftest.py
index e7be339..070459e 100644
--- a/test/unit/conftest.py
+++ b/test/unit/conftest.py
@@ -75,6 +75,8 @@ def webextension(driver, request):
EC.url_matches('^moz-extension://.*')
)
yield
+ close_all_but_one_window(driver)
+ driver.get('https://gotmyowndoma.in/')
driver.uninstall_addon(addon_id)
ext_path.unlink()