-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e(4259): adapt tests to new components and refactor delete test
- Loading branch information
Showing
10 changed files
with
146 additions
and
42 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Feature: Delete Request | ||
Scenario: Delete Request and check visibility | ||
Given User logs in with username "james.smith@gov.bc.ca" and password "james.smith@gov.bc.ca" | ||
When User clicks tab "PRIVATE CLOUD OPENSHIFT" | ||
And User clicks button "Request a new product" | ||
And User types "Automated Test Product Name" in "Product name" | ||
And User types "Automated Test Description" in "Description" | ||
And User selects "Citizens Services" in "Ministry" | ||
And User clicks and selects "SILVER" in "Hosting tier" | ||
And User clicks tab "Team contacts" | ||
And User types and selects "james.smith@gov.bc.ca" in "Product Owner email" | ||
And User waits for "2" seconds | ||
And User types and selects "john.doe@gov.bc.ca" in "Technical Lead email" | ||
And User clicks tab "Common components" | ||
And User checks checkbox "The app does not use..." | ||
And User makes a screenshot | ||
And User clicks button "Submit" | ||
And User checks checkbox "By checking this box..." | ||
And User clicks modal window button "Submit" | ||
And User clicks modal window button "Close" | ||
Then User should be redirected to Requests tab | ||
And User should see "Automated Test Product Name" | ||
And User logs out | ||
And User logs in with username "private.reviewer.system@gov.bc.ca" and password "private.reviewer.system@gov.bc.ca" | ||
And User clicks tab "PRIVATE CLOUD OPENSHIFT" | ||
And User waits for "3" seconds | ||
And User clicks tab "Requests" | ||
And User waits for "3" seconds | ||
And User clicks link "Automated Test Product Name" | ||
And User clicks button "Approve" | ||
And User clicks modal window button "Submit" | ||
And User clicks modal window button "Return to Dashboard" | ||
And User logs out | ||
And User logs in with username "james.smith@gov.bc.ca" and password "james.smith@gov.bc.ca" | ||
And User clicks tab "PRIVATE CLOUD OPENSHIFT" | ||
And User clicks tab "PRIVATE CLOUD OPENSHIFT" | ||
And User clicks link "Automated Test Product Name" | ||
And User waits for "10" seconds | ||
And User clicks button "Delete" | ||
And User copies value of "Licence plate" | ||
And User pastes from clipboard to "Licence plate number" | ||
And User copies value of "Product Owner" | ||
And User pastes from clipboard to "Product owner email" | ||
And User clicks modal window button "Submit" | ||
And User clicks button "Close" | ||
And User clicks tab "Requests" | ||
Then User should see "Automated Test Product Name" | ||
And User should see badge "DELETE" | ||
And User logs out |
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