Merge pull request #81 from alphagov/mirror-checks

Add smokey tests for the mirrors
Select the correct mirror priority
Update search feature to test unified search

This expands the search feature to add new tests that specifically 
target unified search.

For the time being, we will keep the old tests so that we can 
continue to test both search variants until we are happy that
unified search is live.
Merge pull request #83 from alphagov/update-search-tests-for-unified-search

Update search feature to test unified search
Switch mirror from Scenario Outline to Scenarios

Hilariously the Scenario Outline approach worked perfectly for Smokey,
but it doesn't seem to be supported by either the json formatter for
cucumber (which only shows one test result in the outline), nor the
nagios_check_cache.py script.

By changing these checks back to 4 individual scenarios, I should be
able to re-enable smokey checks in Nagios/Icinga without rewriting the
formatter or the cache checker just for this one check.
Merge pull request #84 from alphagov/non-outline-mirror-checks

Switch mirror from Scenario Outline to Scenarios
Remove tabbed search checks.
Merge pull request #85 from alphagov/remove-tabbed-search-checks

Remove tabbed search checks.
Fix trade tariff search tests

The old tests used a broken URL that redirected to a 200. Smokey's
default behaviour is to follow this URL and get the final status. So,
fix those URLs.

Secondly, even if the search returned no results these tests would pass
because of the 200 status. So update (and refactor while doing so) the
tests to look for success text on the page.
Make test style consistent
Merge pull request #86 from alphagov/fix-trade-tariff-search-tests

Fix trade tariff search tests
Correct instructions about adding checks to icinga

The old instructions told you to edit a file which no longer exists.
Merge pull request #88 from alphagov/correct_nagios_instructions

Correct instructions about adding checks to icinga
Test external link tracker

Add a test that the external link tracker is correctly redirecting a
link that exists in the search index.

Note that this should be a fairly stable test against modifications to
the set of external links held in search being modified, because even
when we remove an external link from search we don't remove it from the
external link tracker.
Merge pull request #87 from alphagov/add-external-link-tracker-from-search-test

Test external link tracker
Add feature for Service Manual search
Merge pull request #89 from alphagov/service-manual-search

Add feature for Service Manual search
Make service manual search assertion stronger

I would expect to see the search text echoed back to me anyway, even if
there were no results.

I would expect to find some results for ‘alpha’ in the service manual.
Rename as requested
Updating mainstream_publishing_tools feature

This change broke smokey - https://github.com/alphagov/travel-advice-publisher/commit/538dd5ff63c151241091bd79fc598e526b1e0f35