diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c812a96..b5bab3db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - django: ["django==4.2.16", "django==5.0.9", "django==5.1.3"] + django: ["django==4.2.17", "django==5.0.10", "django==5.1.4"] services: postgres: diff --git a/testproject/django_file_form_example/tests/utils/base_live_testcase.py b/testproject/django_file_form_example/tests/utils/base_live_testcase.py index 24384980..9f43e7c5 100644 --- a/testproject/django_file_form_example/tests/utils/base_live_testcase.py +++ b/testproject/django_file_form_example/tests/utils/base_live_testcase.py @@ -11,8 +11,9 @@ class SeleniumTestMetaClass(SeleniumTestCaseBase): def create_options(self): options = self.import_options(self.browser)() + # Fix for Django 4.2 if self.headless: - options.add_argument("--headless=new") + options.add_argument("--headless") options.add_argument("--disable-dev-shm-usage") options.set_capability("goog:loggingPrefs", {"browser": "ALL"}) diff --git a/testproject/requirements_test.txt b/testproject/requirements_test.txt index 422d9f14..b831c0a1 100644 --- a/testproject/requirements_test.txt +++ b/testproject/requirements_test.txt @@ -1,7 +1,7 @@ -cryptography==43.0.3 -moto==5.0.21 +cryptography==44.0.0 +moto==5.0.22 Flask==3.1.0 flask-cors==5 psycopg2-binary==2.9.10 -selenium==4.26.1 +selenium==4.27.1 Werkzeug==3.1.3