Skip to content

Commit e083f30

Browse files
sarahboycefelixxm
authored andcommitted
Refs #34043 -- Clarified how to test UI changes.
1 parent 54b23b1 commit e083f30

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ Note that the ``--reverse`` option doesn't impact on ``--start-at`` or
247247
``--start-after`` options. Moreover these options cannot be used with test
248248
labels.
249249

250+
.. _running-selenium-tests:
251+
250252
Running the Selenium tests
251253
--------------------------
252254

docs/intro/contributing.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,11 @@ have to create a new virtual environment, :ref:`install the previously cloned
188188
local copy of Django in editable mode <intro-contributing-install-local-copy>`,
189189
and create a new Django project outside of your local copy of Django. You will
190190
immediately see any changes you make to Django in your new project, which is
191-
of great help when writing your first patch.
191+
of great help when writing your first patch, especially if testing any changes
192+
to the UI.
193+
194+
You can follow the :doc:`tutorial</intro/tutorial01>` for help in creating a
195+
Django project.
192196

193197
Running Django's test suite for the first time
194198
==============================================
@@ -259,7 +263,8 @@ __ https://djangoci.com
259263
For this tutorial and the ticket we're working on, testing against SQLite
260264
is sufficient, however, it's possible (and sometimes necessary) to
261265
:ref:`run the tests using a different database
262-
<running-unit-tests-settings>`.
266+
<running-unit-tests-settings>`. When making UI changes, you will need to
267+
:ref:`run the Selenium tests <running-selenium-tests>`.
263268

264269
Working on a feature
265270
====================

0 commit comments

Comments
 (0)