浏览代码

Refs #30220 -- Bumped required version of Selenium to 3.8.0.

Follow up to 8d010f39869f107820421631111417298d1c5bb9.
Mariusz Felisiak 1 年之前
父节点
当前提交
06881341d4

+ 1 - 1
docs/internals/contributing/writing-code/unit-tests.txt

@@ -296,7 +296,7 @@ dependencies:
   <https://memcached.org/>`_
 * `gettext <https://www.gnu.org/software/gettext/manual/gettext.html>`_
   (:ref:`gettext_on_windows`)
-* :pypi:`selenium`
+* :pypi:`selenium` 3.8.0+
 * :pypi:`sqlparse` 0.3.1+ (required)
 * :pypi:`tblib` 1.5.0+
 

+ 1 - 1
docs/topics/testing/tools.txt

@@ -1035,7 +1035,7 @@ First of all, you need to install the :pypi:`selenium` package:
 
 .. console::
 
-    $ python -m pip install selenium
+    $ python -m pip install "selenium >= 3.8.0"
 
 Then, add a ``LiveServerTestCase``-based test to your app's tests module
 (for example: ``myapp/tests.py``). For this example, we'll assume you're using

+ 1 - 1
tests/requirements/py3.txt

@@ -14,7 +14,7 @@ pymemcache >= 3.4.0
 pywatchman; sys.platform != 'win32'
 PyYAML
 redis >= 3.4.0
-selenium
+selenium >= 3.8.0
 sqlparse >= 0.3.1
 tblib >= 1.5.0
 tzdata