-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove remaining features that are view tests for #show
These features don’t interact with Whitehall admin, they directly set up data then visit the publications#show page to assert things. This page is now being served by government frontend so these feature can be removed.
- Loading branch information
Showing
11 changed files
with
0 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,6 @@ | ||
Feature: Previewing unpublished editions | ||
|
||
Scenario: Unpublished editions can be previewed | ||
Given a draft publication "Beard Length Review" exists | ||
And I am an editor | ||
When I preview "Beard Length Review" | ||
Then I should see the summary of the draft publication "Beard Length Review" | ||
|
||
Scenario: Unpublished editions link to preview | ||
Given I am an editor | ||
When I draft a new publication "Test publication" | ||
Then I should see a link to the preview version of the publication "Test publication" | ||
|
||
@use_real_sso | ||
Scenario: Unpublished editions are protected from visitors | ||
Given a draft publication "Beard Length Review" exists | ||
And I am a visitor | ||
When I preview "Beard Length Review" | ||
Then I should get a "404" error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters