You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.
That when the save button has been selected all information on the proposal page has been saved to the relevant database locations and that the proposal is in the draft state and that a confirmation modal is displayed and that a submission date is displayed and that this routine works in all major browsers.
When attaching a document to a proposal the document is uploaded into the data base and that a confirmation modal is displayed and that this works in all major browsers.
When the submit proposal button has been selected the proposal is now in the submitted state and that the proposals and followers section of the opportunity now registers the proposal and that a confirmation modal is displayed and that routine this works in all major browsers.
/* Run all FTs across all supported browsers */
FT1 - The "Submit a Proposal" Button
Given that a user has signed in to the Dev Exchange website
And the user has navigated to the webpage for a given Opportunity
When the user clicks on the "Submit a Proposal" button
Then the Proposal View is activated
/* Defaults to corporate vendor */
And the Company Tab of the Proposal View is activated
FT2 - The "Code With Us" (CWU) Agreement
Given that a user has navigated to the webpage for a given Opportunity
When the user clicks on the "Terms" tab
Then the "Terms" tab is activated
And the "Code With Us" agreement is visible (no 404 errors)
And the "Code with Us" agreement is scrollable
FT3 - Acknowledgement of the CWU Agreement
Given that a user has navigated to the "Terms" tab
When the user selects the checkbox entitled "I acknowledge that I have read, fully understand, and agree to these terms"
Then the CWU agreement view is deactivated
And the "Submit" button is made visible
And the "Submit" button is activated
FT4 - Save Proposal (First Time)
Given that a user has created a proposal
When the user clicks on the "Save Changes" button for the first time
Then the "Your changes have been saved" view appears for approximately two seconds
And the user's proposal is added to the database
FT5 - Save Proposal (Other than First Time)
Given that a user has created a proposal
When the user clicks on the "Save Changes" button for the first time
Then the "Your changes have been saved" modal is displayed for about one second
And the user's proposal is updated in the database
FT6 - Submit Proposal
Given that a user has saved a company profile
And the user has saved a written proposal
And the user has added an attachment
When the user clicks on the "Submit" button
Then the "Your proposal has been submitted" modal is displayed for about one second
And the state of the user's proposal is set to "Submitted"
FT7 - Withdraw Proposal
Given that a user has submitted a proposal
When the user clicks on the "Withdraw" button
Then the "Your proposal has been withdrawn" modal is displayed for about one second
And the state of the user's proposal is set to "Withdrawn"
FT8 - Delete Proposal
Given that a user has saved a proposal
When the user clicks on the "Delete" button
And the user clicks on the "Yes" button of the modal
Then the user's proposal is deleted from the database
FT9 - Individual as Vendor
Given that a user has navigated to the "Developer" tab
When the user clicks off the "Payment can be made to a company" checkbox
Then the "Company" tab is deactivated
FT10 - Company as Vendor
Given that a user has navigated to the "Developer" tab
When the user clicks on the "Payment can be made to a company" checkbox
Then the "Company" tab is activated
FT11 - Upload Attachment
Given that a user has navigated to the "Attachments" tab
And the user has clicked the "Upload A File" button
When the user selects a file
And the user clicks the "Open" button
Then the "Attachment Uploaded" modal is displayed for about one second
And the user's proposal is updated in the database to include the attachment
The text was updated successfully, but these errors were encountered:
scchapma
changed the title
Submitting a proposal - functional test
Functional Tests - Submitting a Proposal
Feb 6, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
That when the save button has been selected all information on the proposal page has been saved to the relevant database locations and that the proposal is in the draft state and that a confirmation modal is displayed and that a submission date is displayed and that this routine works in all major browsers.
When attaching a document to a proposal the document is uploaded into the data base and that a confirmation modal is displayed and that this works in all major browsers.
When the submit proposal button has been selected the proposal is now in the submitted state and that the proposals and followers section of the opportunity now registers the proposal and that a confirmation modal is displayed and that routine this works in all major browsers.
/* Run all FTs across all supported browsers */
FT1 - The "Submit a Proposal" Button
Given that a user has signed in to the Dev Exchange website
And the user has navigated to the webpage for a given Opportunity
When the user clicks on the "Submit a Proposal" button
Then the Proposal View is activated
/* Defaults to corporate vendor */
And the Company Tab of the Proposal View is activated
FT2 - The "Code With Us" (CWU) Agreement
Given that a user has navigated to the webpage for a given Opportunity
When the user clicks on the "Terms" tab
Then the "Terms" tab is activated
And the "Code With Us" agreement is visible (no 404 errors)
And the "Code with Us" agreement is scrollable
FT3 - Acknowledgement of the CWU Agreement
Given that a user has navigated to the "Terms" tab
When the user selects the checkbox entitled "I acknowledge that I have read, fully understand, and agree to these terms"
Then the CWU agreement view is deactivated
And the "Submit" button is made visible
And the "Submit" button is activated
FT4 - Save Proposal (First Time)
Given that a user has created a proposal
When the user clicks on the "Save Changes" button for the first time
Then the "Your changes have been saved" view appears for approximately two seconds
And the user's proposal is added to the database
FT5 - Save Proposal (Other than First Time)
Given that a user has created a proposal
When the user clicks on the "Save Changes" button for the first time
Then the "Your changes have been saved" modal is displayed for about one second
And the user's proposal is updated in the database
FT6 - Submit Proposal
Given that a user has saved a company profile
And the user has saved a written proposal
And the user has added an attachment
When the user clicks on the "Submit" button
Then the "Your proposal has been submitted" modal is displayed for about one second
And the state of the user's proposal is set to "Submitted"
FT7 - Withdraw Proposal
Given that a user has submitted a proposal
When the user clicks on the "Withdraw" button
Then the "Your proposal has been withdrawn" modal is displayed for about one second
And the state of the user's proposal is set to "Withdrawn"
FT8 - Delete Proposal
Given that a user has saved a proposal
When the user clicks on the "Delete" button
And the user clicks on the "Yes" button of the modal
Then the user's proposal is deleted from the database
FT9 - Individual as Vendor
Given that a user has navigated to the "Developer" tab
When the user clicks off the "Payment can be made to a company" checkbox
Then the "Company" tab is deactivated
FT10 - Company as Vendor
Given that a user has navigated to the "Developer" tab
When the user clicks on the "Payment can be made to a company" checkbox
Then the "Company" tab is activated
FT11 - Upload Attachment
Given that a user has navigated to the "Attachments" tab
And the user has clicked the "Upload A File" button
When the user selects a file
And the user clicks the "Open" button
Then the "Attachment Uploaded" modal is displayed for about one second
And the user's proposal is updated in the database to include the attachment
The text was updated successfully, but these errors were encountered: