Guest User

Untitled

a guest
Mar 4th, 2018
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. From 3e02c4c6162cbb189360c317aec8faa97642fb5d Mon Sep 17 00:00:00 2001
  2. From: David Cawley <dcawley@futuresinc.com>
  3. Date: Tue, 24 Mar 2009 15:36:54 -0400
  4. Subject: [PATCH] added story for Add/Edit/Remove Assessment or Test Portfolio (SS)
  5.  
  6. ---
  7. ...olio_add_edit_remove_assessment_or_test.feature | 57 ++++++++++++++++++++
  8. 1 files changed, 57 insertions(+), 0 deletions(-)
  9. create mode 100644 features/portfolio_add_edit_remove_assessment_or_test.feature
  10.  
  11. diff --git a/features/portfolio_add_edit_remove_assessment_or_test.feature b/features/portfolio_add_edit_remove_assessment_or_test.feature
  12. new file mode 100644
  13. index 0000000..c03088b
  14. --- /dev/null
  15. +++ b/features/portfolio_add_edit_remove_assessment_or_test.feature
  16. @@ -0,0 +1,57 @@
  17. +Feature: Add/Edit/Remove Assessment or Test from Portfolio (SS)
  18. + As a user
  19. + I want to be able to add, edit, or remove 3rd party assessment and test scores
  20. + So that educators and employers can see how I’ve scored/performed in standardized tests/assessments
  21. +
  22. + Scenario: User adds assessment or test score
  23. + Given I am signed up and confirmed as "email@example.com/password"
  24. + And I am signed in
  25. + When I go to the Portfolio/SS page
  26. + And I click "Add assessment/test scores"
  27. + Then I should be taken to the new assessment/test score page
  28. + When I fill in "Type" with "Standardized Test"
  29. + And I fill in "Name" with "SAT"
  30. + And I fill in "Institution Name" with "Some High School"
  31. + And I fill in "Score" with "1480"
  32. + And I click "Save"
  33. + Then I should see "Assessment/Test Score Saved"
  34. +
  35. + Scenario: User views assessment/test scores with none saved
  36. + Given I am signed up and confirmed as "email@example.com/password"
  37. + And I am signed in
  38. + And I have no assessment/test scores
  39. + When I go to the Portfolio/SS page
  40. + Then I should see "You have no assessment or test scores currently saved"
  41. +
  42. + Scenario: User views assessment/test scores with 2 saved
  43. + Given I am signed up and confirmed as "email@example.com/password"
  44. + And I am signed in
  45. + And I have 2 assessment/test scores
  46. + When I go to the Portfolio/SS page
  47. + Then I should see a table with 2 assessment/test scores
  48. + And I should see "Edit" buttons on each
  49. + And I should see "Delete" buttons on each
  50. +
  51. + Scenario: User edits an assessment/test score
  52. + Given I am signed up and confirmed as "email@example.com/password"
  53. + And I am signed in
  54. + And I have 1 assessment/test scores
  55. + When I go to the Portfolio/SS page
  56. + And I click "Edit" on the saved score
  57. + Then I should be taken to the edit assessment/test score page
  58. + When I fill in "Type" with "Standardized Test"
  59. + And I fill in "Name" with "SAT"
  60. + And I fill in "Institution Name" with "Some High School"
  61. + And I fill in "Score" with "1480"
  62. + And I click "Save"
  63. + Then I should see "Assessment/Test Score Saved"
  64. +
  65. + Scenario: User deletes an assessment/test score
  66. + Given I am signed up and confirmed as "email@example.com/password"
  67. + And I am signed in
  68. + And I have 1 assessment/test scores
  69. + When I go to the Portfolio/SS page
  70. + And I click "Delete" on the saved score
  71. + Then I should see "Assessment/Test Score Deleted"
  72. +
  73. +
  74. \ No newline at end of file
  75. --
  76. 1.6.1.2+GitX
Add Comment
Please, Sign In to add comment