Ohhhh! Of course. No mappings. Now you point that out it's obvious. ;-)
Thanks. I'll fix this tomorrow, given today has been our away day and I
don't have my laptop with me.

On 30 Apr 2014 17:53, "Jamie Cobbett" <notifications@github.com> wrote:
>
> In features/mapping_index.feature:
>
> > @@ -24,3 +24,16 @@ Feature: Mappings index
> >      When I visit the path /sites/defra_etr/mappings/
> >      Then I should be redirected to the site dashboard
> >      And I should see "This site has been entirely archived."
> > +@wip
> > +  Scenario: Visit the mappings index page for a site that I can edit
the mappings for and which has an AKA domain configured and which is not
already live
> > +    Given I have logged in as an admin
> > +    And a site bis exists
> > +    And there is a working AKA domain for "bis.gov.uk"
> > +    When I visit the path /sites/bis/mappings
> > +    Then I should see a link to preview a mapping in the side-by-side
browser
>
> I think the reason this fails is that there aren't any mappings for this
site. I found this out by adding puts page.body into the step definition
for this step, and then reading the HTML for the page.
>
> You could create a mapping with:
> And a 410 mapping exists for the bis site with the path /about.
>
> This should be done for the second feature too, otherwise it won't test
what it's trying to.
>
> —
> Reply to this email directly or view it on GitHub.