@@ -304,7 +304,7 @@ to pull in external data such as event/blog feeds etc. These are required for
304
304
some of the tests to pass.
305
305
306
306
To run the full Selenium integration test suite against your local bedrock
307
- instance in Mozorg mode :
307
+ instance:
308
308
309
309
.. code-block :: bash
310
310
@@ -314,25 +314,11 @@ This will run all test suites found in the ``tests/functional`` directory and
314
314
assumes you have bedrock running at ``localhost `` on port ``8000 ``. Results will
315
315
be reported in ``tests/functional/results.html ``.
316
316
317
- To run the full Selenium test suite against your local bedrock instance in
318
- Pocket mode, things are slightly different, because of the way things are set
319
- up in order to allow CI to test both Mozorg Mode and Pocket Mode at the same
320
- time. You need to define a temporary environment variable (needed by the
321
- `pocket_base_url ` fixture) and scope pytest to only run Pocket tests:
322
-
323
- .. code-block :: bash
324
-
325
- $ BASE_POCKET_URL=http://localhost:8000 pytest -m pocket_mode --driver Firefox --html tests/functional/results.html tests/functional/
326
-
327
- This will run all test suites found in the ``tests/functional `` directory that have
328
- the pytest "`mark `" of `pocket_mode ` and assumes you have bedrock running *in Pocket mode * at
329
- ``localhost `` on port ``8000 ``. Results will be reported in ``tests/functional/results.html ``.
330
-
331
317
.. Note ::
332
318
333
- If you omit the ``--base-url `` command line option in Mozorg mode (ie, not
334
- in Pocket mode) then a local instance of bedrock will be started, however
335
- the tests are not currently able to run against bedrock in this way.
319
+ If you omit the ``--base-url `` command line option then a local instance
320
+ of bedrock will be started, however the tests are not currently able to
321
+ run against bedrock in this way.
336
322
337
323
By default, tests will run one at a time. This is the safest way to ensure
338
324
predictable results, due to
0 commit comments