SPRINT 4
SPRINT 4
Harnessing The Power of AGILE
Feature: Actionables Tracking
Scenario 1: Display Actionables tracked
Given I am on the dashboard page
Then I should see a progress bar indicating my progress for the number of "Done" actions and "In Progress" actions
And a progress bar
Scenario 2: Data persists
Given I am on the dashboard page
When I refresh the page
Then the "Actionables Tracked" widget should display the same progress bar
Sad Scenario 3: No "In Progress" & "Done" actionables
Given there are 0 "In Progress" & "Done" actionables available
Then I should see "No actionables tracked"
Feature: Generate and Download Report
Scenario 1: Generate report
Given I am on the dashboard page
When I have selected the Time period
And Products And Sources
And I click on the generate report button
Then I should download a .pdf file to my computer
Sad Scenario 2: Generate Report button disabled
Given I am on the dashboard page
And Products or Sources is not selected
Then Generate Report button will be disabled
Feature: Actionables
Scenario 1: Normal view
Given I am on the Actionables page
Then I should see the Date, Products, and Sources Filters
And a '+' button
And 3 actionable statuses titled 'GENERATED ACTIONS', 'IN PROGRESS', 'DONE'
And each of the actionable statuses have 4 types of actionable categories 'To Fix', 'To Keep In Mind', 'To Amplify', 'To Promote'
And 'No data' in the 'GENERATED ACTIONS'
Scenario 2: Get GENERATED ACTIONS (Yes)
Given I am on the Actionables page
And I look at the actionable statuses 'IN PROGRESS', 'DONE'
When the date is set from '21/05/2024' to '31/05/2024'
And the sources selected are: 'CSS'
And the products selected are: 'Investments'
And I click on the 'GENERATE ACTIONABLES' button
Then I should see a confirmation dialog
And when I click 'YES'
Then I should see an indication it is 'Processing...'
And the 'GENERATED ACTIONS' is not empty
And the other actionable statuses 'IN PROGRESS', 'DONE' remain the same
Scenario 3: Get GENERATED ACTIONS (No)
Given I am on the Actionables page
And I look at the actionable statuses 'GENERATED ACTIONS', 'IN PROGRESS', 'DONE'
When the date is set from '21/05/2024' to '31/05/2024'
And the sources selected are: 'CSS'
And the products selected are: 'Investments'
And I click on the 'GENERATE ACTIONABLES' button
Then I should see a confirmation dialog
And when I click 'NO'
And the other actionable statuses 'GENERATED ACTIONS', 'IN PROGRESS', 'DONE' remain the same
Scenario 4: Details of actionable items
Given I am on the Actionables page
Then I should see the 'Subcategory' of each actionable
And I should see the 'Feedback Category' of each actionable
And I should see the content of each actionable
And I should see a button to 'CHANGE STATUS' of each actionable
And I should see a button to 'VIEW DATA' of each actionable
And I should see a button to delete each actionable
Scenario 5: Delete actionable
Given I am on the Actionables page
When I see an actionable
And I click the delete icon for an actionable
Then I should not see the actionable
Scenario 6: "CHANGE STATUS" on actionable
Given I am on the Actionables page
When I see an actionable
And I click the 'CHANGE STATUS' button of the actionable
Then I should see the button 'Done'
And I should see the button 'In Progress' if the actionable is in 'GENERATED ACTIONS'
And when I click 'Done'
Then I should see that actionable moved to the 'DONE' status
Scenario 7: "VIEW DATA" on actionable
Given I am on the Actionables page
When I see an actionable
And I click on the 'VIEW DATA' button of an actionable
Then I should see a dialog popup where I can see all the relevant feedbacks contributing to that action
Scenario 8: Manually add actionable
Given I am on the Actionables page
When the date is set from '21/05/2024' to '31/05/2024'
And the sources selected are: 'CSS'
And the products selected are: 'Investments'
When I click on the '+' to manually add an actionable
Then I enter my action 'Improve latency', enter my subcategory 'digiPortfolio', enter my feedback category 'Technical / System Related' and enter my actionable category 'To Keep In Mind', and click 'ADD'
Then I should see that actionable with that action, subcategories, feedback categories under the 'In Progress' status under the actionable category I chose
Scenario 9: Refresh preserves all actionables
Given I am on the Actionables page
When I see an actionable
And I refresh the page
Then the other actionable statuses 'GENERATED ACTIONS', 'IN PROGRESS', 'DONE' remain the same
Sad Scenario 10: Unable to generate actions due to unselected product and source
Given I am on the Actionables page
And Products or Sources is not selected
Then Generate Actions button will be disabled
Sad Scenario 11: Unable to generate actions due to insufficient data
Given I am on Actionables page
When the date is set from '31/05/2024' to '31/05/2024'
And the sources selected are: 'CSS'
And the products selected are: 'Investments'
And I click on the 'GENERATE ACTIONABLES' button
Then I should see a confirmation dialog
And when I click 'YES'
Then I should see an indication it is 'Processing...'
And I should see 'There are no actionables to be generated from this data.'
Rspec Report (100%)
Cucumber Report (100%)
Feature: Generate and Download Report
Feature: Actionables
The following is our final Cucumber report.
JestJS Report (100%)
Microservice Testing (100%)
C: POST
R: GET
U: PATCH
D: Delete