Skip to content

Commit

Permalink
Refs #34043 -- Clarified how to test UI changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahboyce authored and felixxm committed Oct 9, 2023
1 parent 54b23b1 commit e083f30
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/internals/contributing/writing-code/unit-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ Note that the ``--reverse`` option doesn't impact on ``--start-at`` or
``--start-after`` options. Moreover these options cannot be used with test
labels.

.. _running-selenium-tests:

Running the Selenium tests
--------------------------

Expand Down
9 changes: 7 additions & 2 deletions docs/intro/contributing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,11 @@ have to create a new virtual environment, :ref:`install the previously cloned
local copy of Django in editable mode <intro-contributing-install-local-copy>`,
and create a new Django project outside of your local copy of Django. You will
immediately see any changes you make to Django in your new project, which is
of great help when writing your first patch.
of great help when writing your first patch, especially if testing any changes
to the UI.

You can follow the :doc:`tutorial</intro/tutorial01>` for help in creating a
Django project.

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

Working on a feature
====================
Expand Down

0 comments on commit e083f30

Please sign in to comment.