CCTC-team / redcap_cypress

REDCap Cypress Test Framework
MIT License
0 stars 0 forks source link

19. Stats and Charts #38

Open MintooXavier opened 3 weeks ago

MintooXavier commented 3 weeks ago

Brief description: This is a reporting features used to show plots and descriptive statistics of the data.

User spec: https://github.com/CCTC-team/redcap_cypress/blob/RY_v13.8.1/user_requirement_specification/non_core/19_stats_and_charts.spec

Feature link: https://github.com/CCTC-team/redcap_cypress/blob/RY_v13.8.1/manual_scripts/reports_and_stats.feature

Pre review:

Post review:

MintooXavier commented 3 weeks ago
  1. Please rename the feature file to '19_stats_and_charts.feature' as reports functionality is tested in core features.
  2. Add User Spec

Changes to feature file

  1. Delete steps 6-11.
  2. Add create project step after login
  3. Change step 17 - 'And I should see the "Project Setup page"' to 'And I should see "Project Setup"' as you see 'Project Setup' and there is no 'Page' visible. I can see similar code further down.. Please change those as well..
  4. Delete step 18 and similar steps as no scrolling is required.
  5. Change steps 21-23 to 'I select record ID "1" from arm name "Arm 1: Arm 1" on the Add / Edit record page'
  6. Change Step 26 to 'I click the bubble to select a record for the "Text Validation" longitudinal instrument on event "Event 1"'
  7. Change step 28 to ' I enter "John Doe" into the input field labeled "Name" '
  8. When I created the project it only contains 1 record. Please check and modify accordingly.
  9. Step 57-63 not required as not logged out
  10. Step 71. Write the field names you see
  11. Write a step between Step 78 and 79 to select option to view Pie chart
  12. Verify the data in charts.
  13. No need to test Report functionality.. It is covered in core feature test.
  14. Change the steps definitions using the link: https://aldefouw.github.io/redcap_cypress/ @rukayat-yakub : Pre review completed.
rukayat-yakub commented 3 weeks ago

For the no 13, do you mean I should remove the view report? @MintooXavier

MintooXavier commented 1 week ago

Yes.. Create and View report functionality is tested in Reporting feature