-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #762 from bcgov/ricander
Added framework for add subsidiary and fix bug where chrome driver wa…
- Loading branch information
Showing
8 changed files
with
402 additions
and
22 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
Test/UITest/SpecFlowProjectBDD/Features/AddSubsidiaryPlatform.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,54 @@ | ||
Feature: ManagePlatforms | ||
Link to a feature: https://hous-hpb.atlassian.net/browse/DSS-226 | ||
|
||
@LandingPage | ||
Scenario: AddSubsidiaryPlatform | ||
#User Authentication | ||
Given that I am an authenticated User "<UserName>" and the expected result is "<ExpectedResult>" and I am a "<UserType>" user | ||
Then I am directed to the Landing Page | ||
|
||
#Select Manage Platforms | ||
When I click on the Manage Platforms button | ||
|
||
Then I should be presented with a list of platforms and sub-platforms | ||
|
||
#Select Platform | ||
When I click the edit button for a platform | ||
Then I amd directed to the Platform view page | ||
|
||
#Add sub-platform | ||
When I click on the add subsidiary platform button | ||
Then I should be presented with the Add Platform page | ||
|
||
|
||
#Input fields | ||
Then I should see a form with the required input fields for creating a sub-platform | ||
|
||
#Platform Name | ||
#Platform Code | ||
#Primary Email for Non-Compliance Notices | ||
#Primary Email for Takedown Request Letters | ||
#Secondary Email for Non-Compliance Notices | ||
#Secondary Email for Takedown Request Letters | ||
|
||
|
||
#Enter values for Input Fields | ||
When I fill in valid values for the input fields | ||
Then the Save button should be enabled | ||
|
||
#Click Save button to create sub platform | ||
When I click the Save button | ||
Then the sub platform should be created | ||
Then the sub platform should be a child of the parent platform | ||
|
||
|
||
|
||
Examples: | ||
| UserName | UserType | Environment | ExpectedResult | | ||
| CEUATST | ceu_admin | all | pass | | ||
|
||
|
||
|
||
|
||
|
||
|
154 changes: 154 additions & 0 deletions
154
Test/UITest/SpecFlowProjectBDD/Features/AddSubsidiaryPlatform.feature.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.