This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 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 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 |
---|---|---|
|
@@ -31,6 +31,15 @@ Feature: Manage Surveys | |
And I should see "Version 1 (Trial Use)" | ||
And I should see "Visibility: Draft (authors and publishers only)" | ||
|
||
Scenario: Show published Survey to unauthenticated user | ||
Given I have a published Survey with the name "Test Survey" and the description "Survey description" | ||
When I go to the list of Surveys | ||
And I click on the menu link for the Survey with the name "Test Survey" | ||
And I click on the option to Details the Survey with the name "Test Survey" | ||
Then I should see "Test Survey" | ||
And I should see "Survey description" | ||
And I should not see "Curate" | ||
|
||
Scenario: Send a Draft Survey to a Publisher | ||
Given I have a Survey with the name "Test Survey" and the description "Survey description" | ||
And I have a publisher "[email protected]" with the first name "Johnny" and last name "Test" | ||
|