-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add update enrollment integration tests
Issue #1050: Add more integration tests
- Loading branch information
Frank Duncan
committed
Aug 26, 2018
1 parent
c03541a
commit 16400cc
Showing
6 changed files
with
94 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ | |
View | ||
</a> | ||
<a | ||
class="actionLink" | ||
class="editLink actionLink" | ||
href="${editProfileLink}" | ||
> | ||
Edit | ||
|
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
2 changes: 1 addition & 1 deletion
2
...rces/features/enrollment/workflow.feature → ...eatures/enrollment/renew_workflow.feature
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
67 changes: 67 additions & 0 deletions
67
psm-app/integration-tests/src/test/resources/features/enrollment/update_workflow.feature
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
@update | ||
Feature: Enrollment Update Workflow | ||
Users wish to execute workflow functions | ||
|
||
Scenario: Provider Create Individual Workflow Enrollment | ||
Given I have started an enrollment | ||
And I am on the individual provider statement page | ||
And I enter my individual provider statement | ||
And I submit the enrollment | ||
Then I should have no errors | ||
|
||
Scenario: Provider Create Organization Workflow Enrollment | ||
Given I have started an enrollment | ||
And I am on the organization provider statement page | ||
And I enter my organization provider statement | ||
And I submit the enrollment | ||
Then I should have no errors | ||
|
||
Scenario: Admin Approve Organizational Enrollment | ||
Given I am logged in as an admin | ||
And I am on the admin Pending page | ||
When I am on the Review Enrollment Page for '1234567893' | ||
And I Approve the Enrollment | ||
And I view the Reviewed Enrollment | ||
Then I should have no errors | ||
And The Enrollment should be in the 'Approved' state | ||
|
||
Scenario: Admin Approve Individual Enrollment | ||
Given I am logged in as an admin | ||
And I am on the admin Pending page | ||
When I am on the Review Enrollment Page for '0000000006' | ||
And I Approve the Enrollment | ||
And I view the Reviewed Enrollment | ||
Then I should have no errors | ||
And The Enrollment should be in the 'Approved' state | ||
|
||
Scenario: Provider Update Individual Enrollment | ||
Given I am logged in as a provider | ||
And I click on My Profile | ||
When I update Individual Enrollment '0000000006' | ||
Then I should have no errors | ||
And The Enrollment should be in the 'Pending' state | ||
|
||
Scenario: Admin Approve Individual Enrollment | ||
Given I am logged in as an admin | ||
And I am on the admin Pending page | ||
When I am on the Review Enrollment Page for '0000000006' | ||
And I Approve the Enrollment | ||
And I view the Reviewed Enrollment | ||
Then I should have no errors | ||
And The Enrollment should be in the 'Approved' state | ||
|
||
Scenario: Provider Update Organizational Enrollment | ||
Given I am logged in as a provider | ||
And I click on My Profile | ||
When I update Organizational Enrollment '1234567893' | ||
Then I should have no errors | ||
And The Enrollment should be in the 'Pending' state | ||
|
||
Scenario: Admin Approve Organizational Enrollment | ||
Given I am logged in as an admin | ||
And I am on the admin Pending page | ||
When I am on the Review Enrollment Page for '1234567893' | ||
And I Approve the Enrollment | ||
And I view the Reviewed Enrollment | ||
Then I should have no errors | ||
And The Enrollment should be in the 'Approved' state |