Skip to content

Commit 3be9dc9

Browse files
committed
[deps] Upgraded openwisp-utils
1 parent 9b51544 commit 3be9dc9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

openwisp_controller/tests/utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ def assertNumQueries(self, num, func=None, *args, using=DEFAULT_DB_ALIAS, **kwar
5959
class DeviceAdminSeleniumTextMixin(SeleniumTestMixin):
6060
def tearDown(self):
6161
super().tearDown()
62-
# Accept unsaved changes alert to allow other tests to run
62+
# Dismiss any unsaved changes alert to prevent it from blocking
63+
# navigation in subsequent tests. If left unresolved, this could
64+
# cause test failures by preventing the browser from loading new pages.
65+
# Ensuring a clean browser state before the next test runs.
6366
try:
6467
self.web_driver.refresh()
6568
except UnexpectedAlertPresentException:

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pytest-django~=4.9.0
22
pytest-asyncio~=0.24.0
33
pytest-cov~=5.0.0
4-
openwisp-utils[qa,selenium] @ https://github.com/openwisp/openwisp-utils/tarball/1.2
4+
openwisp-utils[qa,selenium] @ https://github.com/openwisp/openwisp-utils/tarball/browser-logs
55
channels_redis~=4.2.1
66
django_redis~=5.4.0
77
mock-ssh-server~=0.9.1

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ django-x509 @ https://github.com/openwisp/django-x509/tarball/1.3
66
django-loci @ https://github.com/openwisp/django-loci/tarball/1.2
77
django-flat-json-widget~=0.3.1
88
openwisp-users @ https://github.com/openwisp/openwisp-users/tarball/1.2
9-
openwisp-utils[celery] @ https://github.com/openwisp/openwisp-utils/tarball/1.2
9+
openwisp-utils[celery] @ https://github.com/openwisp/openwisp-utils/tarball/browser-logs
1010
openwisp-notifications @ https://github.com/openwisp/openwisp-notifications/tarball/1.2
1111
openwisp-ipam @ https://github.com/openwisp/openwisp-ipam/tarball/1.2
1212
djangorestframework-gis @ https://github.com/openwisp/django-rest-framework-gis/tarball/1.2

0 commit comments

Comments
 (0)