Commit 2539f5e72245772359f7cc0c98add8e661088dea
1 parent
887368d7eb
Exists in
master
TEST 101, Add Class, Flag Card, etc
Showing 1 changed file with 141 additions and 142 deletions Side-by-side Diff
TestCases.tex
View file @
2539f5e
... | ... | @@ -223,11 +223,11 @@ |
223 | 223 | \item |
224 | 224 | {The User is logged in as UserX.} |
225 | 225 | \item |
226 | - {The User is whitelisted for class TEST 1.} | |
226 | + {The User is whitelisted for class TEST 101.} | |
227 | 227 | \item |
228 | - {The User is not whitelisted for class TEST 2.} | |
228 | + {The User is not whitelisted for class TEST 102.} | |
229 | 229 | \item |
230 | - {The class TEST 3 has no whitelist.} | |
230 | + {The class TEST 103 has no whitelist.} | |
231 | 231 | \end{itemize} |
232 | 232 | |
233 | 233 | \item[Postconditions:] |
... | ... | @@ -251,7 +251,7 @@ |
251 | 251 | \item |
252 | 252 | {The System shall show the user ``Add Class'' page.} |
253 | 253 | \item |
254 | - {UserX shall begin to type ``TEST 1''.} | |
254 | + {UserX shall begin to type ``TEST 101''.} | |
255 | 255 | \item |
256 | 256 | {The System shall show suggestions as a user types.} |
257 | 257 | \item |
258 | 258 | |
259 | 259 | |
260 | 260 | |
... | ... | @@ -259,22 +259,22 @@ |
259 | 259 | \item |
260 | 260 | {The System shall ensure that UserX is on the whitelist for each section.} |
261 | 261 | \item |
262 | - {UserX shall click on ``TEST 1'', which should not have a lock icon.} | |
262 | + {UserX shall click on ``TEST 101'', which should not have a lock icon.} | |
263 | 263 | \item |
264 | 264 | {UserX shall click on the ``Add'' button.} |
265 | 265 | \item |
266 | - {The System shall add UserX to the specified class TEST 1.} | |
266 | + {The System shall add UserX to the specified class TEST 101.} | |
267 | 267 | \end{enumerate} |
268 | 268 | |
269 | 269 | \item[Expected Result:] {UserX has added the section and sees the Live Feed |
270 | -for TEST 1.} | |
270 | +for TEST 101.} | |
271 | 271 | |
272 | 272 | \item[Alternate Workflow A:] |
273 | 273 | \begin{enumerate} |
274 | 274 | \setcounter{enumi}{3} |
275 | 275 | \itemsep1pt\parskip0pt\parsep0pt |
276 | 276 | \item |
277 | - {UserX shall begin to type ``TEST 2''.} | |
277 | + {UserX shall begin to type ``TEST 102''.} | |
278 | 278 | \item |
279 | 279 | {The System shall show suggestions as a user types.} |
280 | 280 | \item |
281 | 281 | |
282 | 282 | |
... | ... | @@ -282,14 +282,14 @@ |
282 | 282 | \item |
283 | 283 | {The System shall see that UserX is not on the whitelist.} |
284 | 284 | \item |
285 | - {UserX shall see a lock icon in the suggestions for TEST 2.} | |
285 | + {UserX shall see a lock icon in the suggestions for TEST 102.} | |
286 | 286 | \item |
287 | - {UserX shall click on ``TEST 2'', which has a lock icon.} | |
287 | + {UserX shall click on ``TEST 102'', which has a lock icon.} | |
288 | 288 | \item |
289 | 289 | {The System shall disable the ``Add'' button.} |
290 | 290 | \end{enumerate} |
291 | 291 | |
292 | -\item[Expected Result:] {UserX cannot add the specified TEST 2 and cannot | |
292 | +\item[Expected Result:] {UserX cannot add the specified TEST 102 and cannot | |
293 | 293 | view contents related to this class.} |
294 | 294 | |
295 | 295 | \item[Alternate Workflow B:] |
296 | 296 | |
297 | 297 | |
298 | 298 | |
299 | 299 | |
... | ... | @@ -297,23 +297,23 @@ |
297 | 297 | \setcounter{enumi}{3} |
298 | 298 | \itemsep1pt\parskip0pt\parsep0pt |
299 | 299 | \item |
300 | - {UserX shall begin to type ``TEST 3''.} | |
300 | + {UserX shall begin to type ``TEST 103''.} | |
301 | 301 | \item |
302 | 302 | {The System shall show suggestions as a user types.} |
303 | 303 | \item |
304 | 304 | {The System shall check if there is a whitelist for each class in the suggestions.} |
305 | 305 | \item |
306 | - {The System shall see there is no whitelist for TEST 3.} | |
306 | + {The System shall see there is no whitelist for TEST 103.} | |
307 | 307 | \item |
308 | - {UserX shall click on ``TEST 3'', which should not have a lock icon.} | |
308 | + {UserX shall click on ``TEST 103'', which should not have a lock icon.} | |
309 | 309 | \item |
310 | 310 | {UserX shall click on the ``Add'' button.} |
311 | 311 | \item |
312 | - {The System shall add UserX to TEST 3.} | |
312 | + {The System shall add UserX to TEST 103.} | |
313 | 313 | \end{enumerate} |
314 | 314 | |
315 | 315 | \item[Expected Result:] {UserX has added the section and sees the Live Feed |
316 | -for TEST 3.} | |
316 | +for TEST 103.} | |
317 | 317 | \end{description} |
318 | 318 | \newpage |
319 | 319 | |
... | ... | @@ -345,7 +345,7 @@ |
345 | 345 | \item |
346 | 346 | {User is logged in as UserX.} |
347 | 347 | \item |
348 | - {User has enrolled in TEST1.} | |
348 | + {User has enrolled in TEST 101.} | |
349 | 349 | \item |
350 | 350 | {User is at Settings page.} |
351 | 351 | \end{itemize} |
... | ... | @@ -354,7 +354,7 @@ |
354 | 354 | \begin{itemize} |
355 | 355 | \itemsep1pt\parskip0pt\parsep0pt |
356 | 356 | \item |
357 | - {User shall no longer have access to TEST1, or associated flashcards.} | |
357 | + {User shall no longer have access to TEST 101, or associated flashcards.} | |
358 | 358 | \end{itemize} |
359 | 359 | |
360 | 360 | \item[Trigger:]{UserX wants to stop seeing the class's Live Feed and remove |
361 | 361 | |
362 | 362 | |
... | ... | @@ -364,14 +364,14 @@ |
364 | 364 | \begin{enumerate} |
365 | 365 | \itemsep1pt\parskip0pt\parsep0pt |
366 | 366 | \item |
367 | - {UserX shall click ``X'' icon next to TEST1 in ``Enrolled Classes'' table.} | |
367 | + {UserX shall click ``X'' icon next to TEST 101 in ``Enrolled Classes'' table.} | |
368 | 368 | \item |
369 | - {The System shall remove UserX from TEST1.} | |
369 | + {The System shall remove UserX from TEST 101.} | |
370 | 370 | \item |
371 | 371 | {The System shall display a toast indicating that a class has been dropped.} |
372 | 372 | \end{enumerate} |
373 | 373 | |
374 | -\item[Expected Result:] {UserX no longer has access to any content related to TEST1.} | |
374 | +\item[Expected Result:] {UserX no longer has access to any content related to TEST 101.} | |
375 | 375 | \end{description} |
376 | 376 | \newpage |
377 | 377 | |
... | ... | @@ -422,20 +422,6 @@ |
422 | 422 | \item[Trigger:]{UserX is dissatisfied with their current password and wishes |
423 | 423 | to change it.} |
424 | 424 | |
425 | -\item[Error Handling:] | |
426 | -\begin{description} | |
427 | -\item[\small Missing Fields] \begin{itemize} | |
428 | -\item The client shall enforce required fields | |
429 | -\item The server will return an HTTP Bad Request error to the client. | |
430 | -\end{itemize} | |
431 | -\item[\small Incorrect Old Password] \begin{itemize} | |
432 | -\item The server will return an HTTP Forbidden error to the client. | |
433 | -\end{itemize} | |
434 | -\item[\small Blank New Password] \begin{itemize} | |
435 | -\item The server will return an HTTP Bad Request error to the client. | |
436 | -\end{itemize} | |
437 | -\end{description} | |
438 | - | |
439 | 425 | \item[Workflow:] |
440 | 426 | \begin{enumerate} |
441 | 427 | \itemsep1pt\parskip0pt\parsep0pt |
442 | 428 | |
... | ... | @@ -483,11 +469,13 @@ |
483 | 469 | |
484 | 470 | \item[Priority Level:]{``Must''} |
485 | 471 | |
472 | +\item[Status]{Implemented} | |
473 | + | |
486 | 474 | \item[Preconditions:] |
487 | 475 | \begin{itemize} |
488 | 476 | \itemsep1pt\parskip0pt\parsep0pt |
489 | 477 | \item |
490 | - {UserX has created an account with testuserx@flashy.cards.} | |
478 | + {Account for UserX has been created.} | |
491 | 479 | \end{itemize} |
492 | 480 | |
493 | 481 | \item[Postconditions:] |
... | ... | @@ -510,7 +498,7 @@ |
510 | 498 | \item |
511 | 499 | {The System shall prompt the user for their current email.} |
512 | 500 | \item |
513 | - {UserX shall submit their email ``testuserx@flashy.cards''.} | |
501 | + {UserX shall submit their email ``UserX@flashy.cards''.} | |
514 | 502 | \item |
515 | 503 | {The System shall check if an account exists with the email entered by UserX.} |
516 | 504 | \item |
517 | 505 | |
518 | 506 | |
... | ... | @@ -523,12 +511,19 @@ |
523 | 511 | \item |
524 | 512 | {The System shall render a form that will prompt the user for a new password.} |
525 | 513 | \item |
526 | - {UserX shall provide a new password in the form.} | |
514 | + {UserX shall provide a new password, ``newPassword'', in the form.} | |
527 | 515 | \item |
528 | 516 | {The System shall change the password associated with the user's email.} |
517 | +\item | |
518 | + {UserX shall navigate back to the login page and enter ``UserX@flashy.cards'' | |
519 | +with the old password ``mynameisuserx''.} | |
520 | +\item | |
521 | + {The System shall display ``Invalid username or password!''} | |
522 | +\item | |
523 | + {UserX shall login as ``UserX@flashy.cards'' with the password ``newPassword''.} | |
529 | 524 | \end{enumerate} |
530 | 525 | |
531 | -\item[Expected Result:] {UserX's password will change to ``newPasword''.} | |
526 | +\item[Expected Result:] {The login shall succeed.} | |
532 | 527 | |
533 | 528 | \item[Alternate Workflow:] |
534 | 529 | \begin{enumerate} |
535 | 530 | |
... | ... | @@ -705,16 +700,13 @@ |
705 | 700 | |
706 | 701 | \item[Priority Level]{``Must''} |
707 | 702 | |
708 | -\item[Status]{Implemented} | |
703 | +\item[Status]{Deferred} | |
709 | 704 | |
710 | 705 | \item[Preconditions:] |
711 | 706 | \begin{itemize} |
712 | 707 | \itemsep1pt\parskip0pt\parsep0pt |
713 | 708 | \item |
714 | - {The User has registered with the email testuser@flashy.cards.} | |
715 | -\item | |
716 | - {The user has verified their email address.} | |
717 | -\item {The User is logged in with the above email.} | |
709 | + {The User is logged in as UserX.} | |
718 | 710 | \end{itemize} |
719 | 711 | |
720 | 712 | \item[Postconditions:] |
... | ... | @@ -730,7 +722,7 @@ |
730 | 722 | \begin{enumerate} |
731 | 723 | \itemsep1pt\parskip0pt\parsep0pt |
732 | 724 | \item |
733 | - {UserX shall select ``Account Settings'' button from the top header.} | |
725 | + {UserX shall select ``Settings'' button from the top header.} | |
734 | 726 | \item |
735 | 727 | {The System shall display a settings screen.} |
736 | 728 | \item |
737 | 729 | |
... | ... | @@ -778,9 +770,9 @@ |
778 | 770 | \item |
779 | 771 | {The User is logged in a different browser session as UserY.} |
780 | 772 | \item |
781 | - {UserX and UserY have added the class TEST 1.} | |
773 | + {UserX and UserY have added the class TEST 101.} | |
782 | 774 | \item |
783 | - {UserX and UserY are on the live feed for TEST 1.} | |
775 | + {UserX and UserY are on the live feed for TEST 101.} | |
784 | 776 | \end{itemize} |
785 | 777 | |
786 | 778 | \item[Postconditions:] |
... | ... | @@ -794,7 +786,7 @@ |
794 | 786 | {UserY and other users can add this flashcard to their decks.} |
795 | 787 | \end{itemize} |
796 | 788 | |
797 | -\item[Trigger:]{UserX wants to contribute a flashcard to the TEST 1.} | |
789 | +\item[Trigger:]{UserX wants to contribute a flashcard to the class TEST 101.} | |
798 | 790 | |
799 | 791 | \item[Workflow:] |
800 | 792 | \begin{enumerate} |
... | ... | @@ -808,7 +800,8 @@ |
808 | 800 | \item |
809 | 801 | {UserX shall select the ``Contribute'' button in the modal.} |
810 | 802 | \item |
811 | - {The System shall add the new card containing the text ``The rain in Spain stays mainly in the plain'' to the feed of each user enrolled in ``TEST 1''.} | |
803 | + {The System shall add the new card containing the text ``The rain in Spain stays mainly in | |
804 | + the plain'' to the feed of each user enrolled in ``TEST 101''.} | |
812 | 805 | \item |
813 | 806 | {UserY shall see the card appear in their feed within a minute (See Notes).} |
814 | 807 | \item |
... | ... | @@ -817,7 +810,7 @@ |
817 | 810 | {The flashcard shall be included in the UserX's deck.(c.f. Note about simultaneous browser session).} |
818 | 811 | \end{enumerate} |
819 | 812 | |
820 | -\item[Expected Result:] {UserX will have the new flashcard in their deck. For UserX, the new flashcard will have a checkmark, indicating that the card is in their deck and a pencil picture on top right to indicate UserX as the author of the flashcard. The new flashcard will show up on UserY's live feed on class TEST 1 without checkmark and pencil mark.} | |
813 | +\item[Expected Result:] {UserX will have the new flashcard in their deck. For UserX, the new flashcard will have a checkmark, indicating that the card is in their deck and a pencil picture on top right to indicate UserX as the author of the flashcard. The new flashcard will show up on UserY's live feed on class TEST 101 without checkmark and pencil mark.} | |
821 | 814 | |
822 | 815 | \item[Alternative Workflow:] |
823 | 816 | \begin{enumerate} |
824 | 817 | |
... | ... | @@ -842,10 +835,10 @@ |
842 | 835 | \item[Expected Result:] { |
843 | 836 | UserX will have the new flashcard with the words ``Spain'' and ``plain'' bolded in their deck. |
844 | 837 | For UserX, the new flashcard will have a checkmark, |
845 | -indicating that the card is in their deck and a pencil picture on | |
838 | +indicating that the card is in their deck and a pencil icon on | |
846 | 839 | top right to indicate UserX as the author of the flashcard. |
847 | -The new flashcard will show up on UserY's live feed on class TEST 1 | |
848 | -without checkmark and pencil mark. | |
840 | +The new flashcard will show up on UserY's live feed on class TEST 101 | |
841 | +without checkmark and pencil icon. | |
849 | 842 | } |
850 | 843 | |
851 | 844 | \item[Alternative Workflow:] |
... | ... | @@ -859,7 +852,7 @@ |
859 | 852 | \end{enumerate} |
860 | 853 | |
861 | 854 | \item[Expected Result:] |
862 | -{ Blank flashcard will not be added to UserX's deck or to the live feed of TEST 1. } | |
855 | +{ Blank flashcard will not be added to UserX's deck or to the live feed of TEST 101.} | |
863 | 856 | |
864 | 857 | \item[Alternative Workflow:] |
865 | 858 | \begin{enumerate} |
... | ... | @@ -872,7 +865,8 @@ |
872 | 865 | \end{enumerate} |
873 | 866 | |
874 | 867 | \item[Expected Result:] |
875 | -{ Flashcard with input not meeting the length restriction will not be added to UserX's deck or to the live feed of TEST 1. } | |
868 | +{ Flashcard with input not meeting the length restriction will not be added to | |
869 | +UserX's deck or to the live feed of TEST 101.} | |
876 | 870 | |
877 | 871 | \end{description} |
878 | 872 | \newpage |
... | ... | @@ -903,7 +897,7 @@ |
903 | 897 | \item |
904 | 898 | {UserX is logged in} |
905 | 899 | \item |
906 | - {User has added the class TEST EDIT.} | |
900 | + {User has added the class TEST 101.} | |
907 | 901 | \item |
908 | 902 | {UserX has the flashcard \textbf{Change} me in their flashcard.} |
909 | 903 | \end{itemize} |
910 | 904 | |
911 | 905 | |
... | ... | @@ -1004,13 +998,13 @@ |
1004 | 998 | \begin{itemize} |
1005 | 999 | \itemsep1pt\parskip0pt\parsep0pt |
1006 | 1000 | \item |
1007 | - {User has registered for a class.} | |
1001 | + {User has registered for class TEST 101.} | |
1008 | 1002 | \item |
1009 | - {User is at live feed for said class.} | |
1003 | + {User is at live feed for TEST 101.} | |
1010 | 1004 | \item |
1011 | 1005 | {Flashcard with text ``TESTY FLASHY'' has been created.} |
1012 | 1006 | \item |
1013 | - {That flashcard with the text ``TESTY FLASHY'' is in the Live Feed of class TEST 1.} | |
1007 | + {That flashcard with the text ``TESTY FLASHY'' is in the Live Feed of class TEST 101.} | |
1014 | 1008 | \end{itemize} |
1015 | 1009 | |
1016 | 1010 | \item[Postconditions:] |
1017 | 1011 | |
1018 | 1012 | |
1019 | 1013 | |
... | ... | @@ -1029,19 +1023,22 @@ |
1029 | 1023 | \begin{enumerate} |
1030 | 1024 | \itemsep1pt\parskip0pt\parsep0pt |
1031 | 1025 | \item |
1032 | - {UserX shall choose the flashcard with the text ``TESTY FLASHY'' from the class TEST 1 feed and hover their cursor | |
1033 | -over it.} | |
1026 | + {UserX shall choose the flashcard with the text ``TESTY FLASHY'' from the | |
1027 | +class TEST 101 feed and hover their cursor over it.} | |
1034 | 1028 | \item |
1035 | 1029 | {The System shall present buttons on mouseover.} |
1036 | 1030 | \item |
1037 | 1031 | {UserX shall click on the large plus that appears over the flashcard with the text ``TESTY FLASHY''.} |
1038 | 1032 | \item |
1039 | - {The System shall hide the flashcard with the text ``TESTY FLASHY'' from the class TEST 1 feed for UserX.} | |
1033 | + {The System shall hide the flashcard with the text ``TESTY FLASHY'' from the class | |
1034 | +TEST 101 feed for UserX.} | |
1040 | 1035 | \item |
1041 | - {UserX shall check that card with the text ``TESTY FLASHY'' has been added to their class TEST 1 deck by checking API.} | |
1036 | + {UserX shall check that card with the text ``TESTY FLASHY'' has been added to | |
1037 | +their class TEST 101 deck by checking API.} | |
1042 | 1038 | \end{enumerate} |
1043 | 1039 | |
1044 | -\item[Expected Result:] {The flashcard with the text ``TESTY FLASHY'' is in the class TEST 1 deck.} | |
1040 | +\item[Expected Result:] {The flashcard with the text ``TESTY FLASHY'' is in the class | |
1041 | +TEST 101 deck.} | |
1045 | 1042 | \end{description} |
1046 | 1043 | \newpage |
1047 | 1044 | |
1048 | 1045 | |
1049 | 1046 | |
1050 | 1047 | |
... | ... | @@ -1071,13 +1068,13 @@ |
1071 | 1068 | \begin{itemize} |
1072 | 1069 | \itemsep1pt\parskip0pt\parsep0pt |
1073 | 1070 | \item |
1074 | - {UserX has registered for a class TEST 1.} | |
1071 | + {UserX has registered for a class TEST 101.} | |
1075 | 1072 | \item |
1076 | - {UserX is in the live feed for class TEST 1.} | |
1073 | + {UserX is in the live feed for class TEST 101.} | |
1077 | 1074 | \item |
1078 | - {Flashcard has been created.} | |
1075 | + {Flashcard with text ``TESTY FLASHY'' has been created for TEST 101.} | |
1079 | 1076 | \item |
1080 | - {That flashcard is in the Live Feed.} | |
1077 | + {That flashcard ``TESTY FLASHY'' is in the Live Feed for TEST 101.} | |
1081 | 1078 | \end{itemize} |
1082 | 1079 | |
1083 | 1080 | \item[Postconditions:] |
1084 | 1081 | |
1085 | 1082 | |
1086 | 1083 | |
... | ... | @@ -1095,18 +1092,19 @@ |
1095 | 1092 | \begin{enumerate} |
1096 | 1093 | \itemsep1pt\parskip0pt\parsep0pt |
1097 | 1094 | \item |
1098 | - {UserX shall choose the flashcard with the text ``TESTY FLASHY'' from the | |
1095 | + {UserX shall choose the flashcard with the text ``TESTY FLASHY'' from the | |
1099 | 1096 | feed and hover their cursor over it.} |
1100 | 1097 | \item |
1101 | 1098 | {The System shall present buttons on mouseover.} |
1102 | 1099 | \item |
1103 | - {UserX shall click on the flag icon that appears on the card.} | |
1100 | + {UserX shall click on the crossed out eye icon (Hide) that appears on the card.} | |
1104 | 1101 | \item |
1105 | - {The System shall mark the card as flagged and hide the card from the | |
1106 | -feed for the User.} | |
1102 | + {The System shall hide the card from UserX and display a toast, ``Card hidden! If the card was spammy or abusive you may also REPORT''.} | |
1103 | +\item | |
1104 | + {UserX shall click the REPORT.} | |
1107 | 1105 | \end{enumerate} |
1108 | 1106 | |
1109 | -\item[Expected Result:] {The flashcard with the text ``TESTY FLASHY'' will be flagged for inappropriateness.} | |
1107 | +\item[Expected Result:] {The System shall display a toast, ``Report successful: thanks for letting us know!''} | |
1110 | 1108 | \end{description} |
1111 | 1109 | \newpage |
1112 | 1110 | |
1113 | 1111 | |
... | ... | @@ -1115,13 +1113,13 @@ |
1115 | 1113 | \subsection{[F5] Filter Flashcards} |
1116 | 1114 | |
1117 | 1115 | \begin{description} |
1118 | -\item[Description:]{This Test Case outlines the presentation layer process | |
1116 | +\item[Description:]{This test case outlines the presentation layer process | |
1119 | 1117 | of a user filtering existing flashcards to view only a specified subset.} |
1120 | 1118 | |
1121 | 1119 | \item[Desired Outcome:]{The User shall see flashcards based on the filter |
1122 | 1120 | options.} |
1123 | 1121 | |
1124 | -\item[User Goals:]{The User can find what he/she is specifically looking | |
1122 | +\item[User Goals:]{The User can find what they are specifically looking | |
1125 | 1123 | for} |
1126 | 1124 | |
1127 | 1125 | \item[Dependency Use Cases:]{[A1] User Registration, [A2] User |
1128 | 1126 | |
1129 | 1127 | |
1130 | 1128 | |
... | ... | @@ -1130,16 +1128,22 @@ |
1130 | 1128 | |
1131 | 1129 | \item[Priority Level:]{``Should''} |
1132 | 1130 | |
1133 | -\item[Status:]{Not Implemented and Deferred} | |
1131 | +\item[Status:]{Implemented} | |
1134 | 1132 | |
1135 | 1133 | \item[Preconditions:] |
1136 | 1134 | \begin{itemize} |
1137 | 1135 | \itemsep1pt\parskip0pt\parsep0pt |
1138 | 1136 | \item |
1139 | - {UserX has registered for the class TEST 1.} | |
1137 | + {User is logged in as UserX.} | |
1140 | 1138 | \item |
1141 | - {Flashcards exist in the course} | |
1139 | + {UserX has registered for the class TEST 101.} | |
1142 | 1140 | \item |
1141 | + {There exist flashcards in TEST 101 with the text ``apple'' and ``banana'' | |
1142 | +for each week in the quarter.} | |
1143 | +\item | |
1144 | + {There exist flashcards in TEST 101 with the text ``orange'' that are hidden | |
1145 | +for each week in the quarter.} | |
1146 | +\item | |
1143 | 1147 | {UserX is at Card List View for the class.} |
1144 | 1148 | \end{itemize} |
1145 | 1149 | |
... | ... | @@ -1147,7 +1151,7 @@ |
1147 | 1151 | \begin{itemize} |
1148 | 1152 | \itemsep1pt\parskip0pt\parsep0pt |
1149 | 1153 | \item |
1150 | - {User only sees specific flashcards} | |
1154 | + {User only sees flashcards pertaining to selected dates.} | |
1151 | 1155 | \end{itemize} |
1152 | 1156 | |
1153 | 1157 | \item[Trigger:]{User is looking for specific flashcards.} |
1154 | 1158 | |
1155 | 1159 | |
1156 | 1160 | |
... | ... | @@ -1156,14 +1160,21 @@ |
1156 | 1160 | \begin{enumerate} |
1157 | 1161 | \itemsep1pt\parskip0pt\parsep0pt |
1158 | 1162 | \item |
1159 | - {UserX shall select certain tags (checkboxes) from top box.} | |
1163 | + {UserX shall deselect ``Week Nine'' from top.} | |
1160 | 1164 | \item |
1161 | - {UserX shall click ``Filter'' button.} | |
1165 | + {The System shall hide all cards from Week 9.} | |
1162 | 1166 | \item |
1163 | - {The System shall display only cards sorted under those tags in list.} | |
1167 | + {UserX shall search for ``app'' in the search bar in the top right.} | |
1168 | +\item | |
1169 | + {The System shall display only cards including text ``app''.} | |
1170 | +\item | |
1171 | + {UserX shall click ``Show Hidden'' button in the top left and clear | |
1172 | +the text in the search box.} | |
1173 | +\item | |
1174 | + {The System shall display all cards, excluding those from Week 9.} | |
1164 | 1175 | \end{enumerate} |
1165 | 1176 | |
1166 | -\item[Expected Result:] {Flashcards are filtered.} | |
1177 | +\item[Expected Result:] {UserX shall see 9 cards with text ``apple'', 9 cards with text ``banana'', and 9 cards with text ``orange'', distributed evenly among weeks.} | |
1167 | 1178 | \end{description} |
1168 | 1179 | \newpage |
1169 | 1180 | |
1170 | 1181 | |
... | ... | @@ -1172,12 +1183,11 @@ |
1172 | 1183 | \subsection{[F6] Blank Out Words in Flashcard} |
1173 | 1184 | |
1174 | 1185 | \begin{description} |
1175 | -\item[Description:]{This Test Case outlines the presentation layer process | |
1186 | +\item[Description:]{This test case outlines the presentation layer process | |
1176 | 1187 | of the User to create keywords in a card they are pushing.} |
1177 | 1188 | |
1178 | 1189 | \item[Desired Outcome:]{The blanked out words (visually bolded) in the |
1179 | 1190 | flashcard notify the System that they are keywords.} |
1180 | -\\ | |
1181 | 1191 | |
1182 | 1192 | \item[User Goals:]{The User shall mark some words as keywords so the System |
1183 | 1193 | may later quiz the User by blanking out one keyword at a time and having the |
1184 | 1194 | |
1185 | 1195 | |
1186 | 1196 | |
1187 | 1197 | |
1188 | 1198 | |
... | ... | @@ -1197,30 +1207,21 @@ |
1197 | 1207 | \item |
1198 | 1208 | {The User is logged in as UserX.} |
1199 | 1209 | \item |
1200 | - {The User has added the class ``TEST 1''.} | |
1210 | + {The User has added the class TEST 101.} | |
1201 | 1211 | \item |
1202 | - {The User is at the Feed View for the class ``TEST 1''.} | |
1212 | + {The User is at the Feed View for the class TEST 101.} | |
1203 | 1213 | \end{itemize} |
1204 | 1214 | |
1205 | 1215 | \item[Postconditions:] |
1206 | 1216 | \begin{itemize} |
1207 | 1217 | \itemsep1pt\parskip0pt\parsep0pt |
1208 | 1218 | \item |
1209 | - {The blanked out words (keyword) ``Spain'' in the flashcard are marked with underline} | |
1219 | + {The blanked out words (keyword) ``Spain'' in the flashcard are marked with underline.} | |
1210 | 1220 | \end{itemize} |
1211 | 1221 | |
1222 | +\item[Trigger:] {The User wants their newly pushed card to have the keyword ``Spain''.} | |
1212 | 1223 | |
1213 | -\item[Trigger:] | |
1214 | - | |
1215 | -\begin{itemize} | |
1216 | -\itemsep1pt\parskip0pt\parsep0pt | |
1217 | -\item | |
1218 | - {The User wants their newly pushed card to have the keyword ``Spain''.} | |
1219 | -\end{itemize} | |
1220 | - | |
1221 | - | |
1222 | 1224 | \item[Workflow:] |
1223 | - | |
1224 | 1225 | \begin{enumerate} |
1225 | 1226 | \itemsep1pt\parskip0pt\parsep0pt |
1226 | 1227 | \item |
... | ... | @@ -1241,7 +1242,7 @@ |
1241 | 1242 | \end{enumerate} |
1242 | 1243 | |
1243 | 1244 | \item[Expected Result:] {The System shall show ``Spain'' underlined and bolded |
1244 | -in the flashcard. The flashcard is visible in the Feed and Deck of class TEST 1.} | |
1245 | +in the flashcard. The flashcard is visible in the Feed and Deck of class TEST 101.} | |
1245 | 1246 | \end{description} |
1246 | 1247 | \newpage |
1247 | 1248 | |
1248 | 1249 | |
1249 | 1250 | |
... | ... | @@ -1275,12 +1276,12 @@ |
1275 | 1276 | {The User is logged in as UserX.} |
1276 | 1277 | \item {The User is logged in a separate browser as UserY.} |
1277 | 1278 | \item |
1278 | - {UserX and UserY has enrolled in the class ``TEST 1''.} | |
1279 | + {UserX and UserY has enrolled in the class TEST 101.} | |
1279 | 1280 | \item |
1280 | - {UserX is at the Deck View for the class ``TEST 1''.} | |
1281 | -\item {UserY is at the Feed View for the class ``TEST 1''.} | |
1281 | + {UserX is at the Deck View for the class TEST 101.} | |
1282 | +\item {UserY is at the Feed View for the class TEST 101.} | |
1282 | 1283 | \item |
1283 | - {The User has contributed and pushed a flashcard to the TEST 1 Feed, which is | |
1284 | + {The User has contributed and pushed a flashcard to the TEST 101 Feed, which is | |
1284 | 1285 | also in their Deck with text |
1285 | 1286 | ``My card is currently broken''; this flashcard is for fixing.} |
1286 | 1287 | \end{itemize} |
1287 | 1288 | |
... | ... | @@ -1290,12 +1291,13 @@ |
1290 | 1291 | \itemsep1pt\parskip0pt\parsep0pt |
1291 | 1292 | \item |
1292 | 1293 | {The authoring User shall see their alteration for that flashcard in their |
1293 | - Feed and Deck for TEST 1.} | |
1294 | -\item {Other users shall see the fixed flashcard in the Feed for TEST 1 if they | |
1294 | + Feed and Deck for TEST 101.} | |
1295 | +\item {Other users shall see the fixed flashcard in the Feed for TEST 101 if they | |
1295 | 1296 | refresh the app.} |
1296 | 1297 | \end{itemize} |
1297 | 1298 | |
1298 | -\item[Trigger:] | |
1299 | +\item[Trigger:] {UserX realizes that a card they created previously does | |
1300 | + not say what they currently desire and wishes to change it.} | |
1299 | 1301 | |
1300 | 1302 | \item[Workflow:] |
1301 | 1303 | \begin{enumerate} |
1302 | 1304 | |
1303 | 1305 | |
... | ... | @@ -1317,16 +1319,16 @@ |
1317 | 1319 | {The System shall update the flashcard's text content.} |
1318 | 1320 | \item |
1319 | 1321 | {The System shall close the edit flashcard modal.} |
1320 | -\item {The Client shall show the flashcard in the UserX's TEXT 1 Deck with the | |
1322 | +\item {The Client shall show the flashcard in the UserX's TEST 101 Deck with the | |
1321 | 1323 | fixed text.} |
1322 | 1324 | |
1323 | -\item {UserY refreshes the TEST 1 Feed view and sees the flashcard ``My card is | |
1325 | +\item {UserY refreshes the TEST 101 Feed view and sees the flashcard ``My card is | |
1324 | 1326 | currently fixed''.} |
1325 | 1327 | \end{enumerate} |
1326 | 1328 | |
1327 | 1329 | \item[Expected Results:]{The Client shall show the fixed flashcard |
1328 | -in UserX's TEST 1 class Deck with the new text:``My card is currently fixed''. | |
1329 | -The Client shall show the fixed flashcard in UserY's TEST 1 Feed view as well, | |
1330 | +in UserX's TEST 101 class Deck with the new text:``My card is currently fixed''. | |
1331 | +The Client shall show the fixed flashcard in UserY's TEST 101 Feed view as well, | |
1330 | 1332 | after page refresh.} |
1331 | 1333 | \end{description} |
1332 | 1334 | \newpage |
1333 | 1335 | |
... | ... | @@ -1336,13 +1338,12 @@ |
1336 | 1338 | \subsection{[F8] Hide cards from feed} |
1337 | 1339 | |
1338 | 1340 | \begin{description} |
1339 | -\item[Description:]{This Test Case outlines the presentation layer process | |
1341 | +\item[Description:]{This test case outlines the presentation layer process | |
1340 | 1342 | for the User shall be able to hide cards from their own view, on |
1341 | 1343 | the Feed and Deck.} |
1342 | 1344 | |
1343 | 1345 | \item[Desired Outcome:]{The System marks the flashcard as hidden from the |
1344 | 1346 | User so that the User cannot see the flashcard in the Feed or Deck.} |
1345 | -\\ | |
1346 | 1347 | |
1347 | 1348 | \item[User Goals:]{The flashcard is no longer visible to the User in the Feed or |
1348 | 1349 | Deck views.} |
1349 | 1350 | |
... | ... | @@ -1360,10 +1361,10 @@ |
1360 | 1361 | \item |
1361 | 1362 | {The User is logged in as UserX.} |
1362 | 1363 | \item |
1363 | - {The User has enrolled in the class ``TEST 1''.} | |
1364 | + {The User has enrolled in the class TEST 101.} | |
1364 | 1365 | \item |
1365 | 1366 | {The User is at the Feed View or Deck View (alternate workflow) |
1366 | - for the class ``TEST 1''.} | |
1367 | + for the class TEST 101.} | |
1367 | 1368 | \item |
1368 | 1369 | {The User has composed and contributed a flashcard to the Feed with text |
1369 | 1370 | ``The rain in Spain stays mainly in the plain''.} |
1370 | 1371 | |
... | ... | @@ -1372,13 +1373,13 @@ |
1372 | 1373 | \item[Postconditions:] |
1373 | 1374 | \begin{itemize} |
1374 | 1375 | \itemsep1pt\parskip0pt\parsep0pt |
1375 | -\item{Flashcard is not viewable by user in the Feed or Deck views in TEST 1.} | |
1376 | +\item{Flashcard is not viewable by user in the Feed or Deck views in TEST 101.} | |
1376 | 1377 | \end{itemize} |
1377 | 1378 | |
1378 | 1379 | \item[Workflow:] |
1379 | 1380 | \begin{enumerate} |
1380 | 1381 | \itemsep1pt\parskip0pt\parsep0pt |
1381 | -\item {UserX has navigated to the Feed View of TEST 1.} | |
1382 | +\item {UserX has navigated to the Feed View of TEST 101.} | |
1382 | 1383 | \item |
1383 | 1384 | {UserX hovers the flashcard they added with the text ``The rain in Spain stays |
1384 | 1385 | mainly in the plain''.} |
... | ... | @@ -1399,7 +1400,7 @@ |
1399 | 1400 | |
1400 | 1401 | \begin{enumerate} |
1401 | 1402 | \itemsep1pt\parskip0pt\parsep0pt |
1402 | -\item {UserX has navigated to the Deck View of TEST 1.} | |
1403 | +\item {UserX has navigated to the Deck View of TEST 101.} | |
1403 | 1404 | \item |
1404 | 1405 | {UserX hovers the flashcard they added with the text ``The rain in Spain stays |
1405 | 1406 | mainly in the plain''.} |
1406 | 1407 | |
... | ... | @@ -1445,12 +1446,12 @@ |
1445 | 1446 | \itemsep1pt\parskip0pt\parsep0pt |
1446 | 1447 | {The User is logged in as UserX.} |
1447 | 1448 | \item |
1448 | - {The User has added the class TEST 1.} | |
1449 | + {The User has added the class TEST 101.} | |
1449 | 1450 | \end{itemize} |
1450 | 1451 | |
1451 | 1452 | \item[Postconditions:]\begin{itemize} |
1452 | 1453 | \itemsep1pt\parskip0pt\parsep0pt |
1453 | -\item {User shall see the Feed for the class TEST 1.} | |
1454 | +\item {User shall see the Feed for the class TEST 101.} | |
1454 | 1455 | \end{itemize} |
1455 | 1456 | |
1456 | 1457 | \item[Trigger:]{The User wants to view Feed of their class.} |
1457 | 1458 | |
1458 | 1459 | |
... | ... | @@ -1461,13 +1462,13 @@ |
1461 | 1462 | \item |
1462 | 1463 | {UserX is at any view on the application.} |
1463 | 1464 | \item {UserX shall press the menu on the far left of the navigation bar.} |
1464 | -\item {UserX shall select the class TEST 1 from the menu.} | |
1465 | +\item {UserX shall select the class TEST 101 from the menu.} | |
1465 | 1466 | \item |
1466 | - {The System shall display the Feed view of TEST 1 to UserX.} | |
1467 | + {The System shall display the Feed view of TEST 101 to UserX.} | |
1467 | 1468 | \end{enumerate} |
1468 | 1469 | |
1469 | 1470 | \item[Expected Result:]{UserX should be able to see the Feed view for the |
1470 | - selected class TEST 1.} | |
1471 | + selected class TEST 101.} | |
1471 | 1472 | \end{description} |
1472 | 1473 | \newpage |
1473 | 1474 | |
... | ... | @@ -1478,7 +1479,8 @@ |
1478 | 1479 | \subsection{[D1] Remove a card from a deck} |
1479 | 1480 | |
1480 | 1481 | \begin{description} |
1481 | -\item[Description:]{This Test Case outlines the presentation layering step process of a User removing a flashcard from their deck.} | |
1482 | +\item[Description:]{This test case outlines the presentation layering step process | |
1483 | +of a user removing a flashcard from their deck.} | |
1482 | 1484 | |
1483 | 1485 | \item[Desired Outcome:]{The deck does not display the removed card.} |
1484 | 1486 | \\ |
1485 | 1487 | |
1486 | 1488 | |
1487 | 1489 | |
... | ... | @@ -1496,15 +1498,13 @@ |
1496 | 1498 | \begin{itemize} |
1497 | 1499 | \itemsep1pt\parskip0pt\parsep0pt |
1498 | 1500 | \item |
1499 | - {UserX has an account with the application.} | |
1501 | + {User is logged in as UserX.} | |
1500 | 1502 | \item |
1501 | - {UserX is logged in.} | |
1503 | + {UserX has enrolled in the class TEST 101.} | |
1502 | 1504 | \item |
1503 | - {UserX has enrolled in the class TEST 100.} | |
1504 | -\item | |
1505 | 1505 | {UserX has added cards from the feed into their deck.} |
1506 | 1506 | \item |
1507 | - {UserX is at the deck/live feed screen for the class TEST 100.} | |
1507 | + {UserX is at the deck/live feed screen for the class TEST 101.} | |
1508 | 1508 | \end{itemize} |
1509 | 1509 | |
1510 | 1510 | \item[Postconditions:] |
... | ... | @@ -1530,7 +1530,7 @@ |
1530 | 1530 | \item |
1531 | 1531 | {The System removes the flashcard from UserX's Deck.} |
1532 | 1532 | \item |
1533 | - {The System updates the flashcard's position in the Live Feed of class TEST 100.} | |
1533 | + {The System updates the flashcard's position in the Live Feed of class TEST 101.} | |
1534 | 1534 | \item |
1535 | 1535 | {The System updates UserX's Deck.} |
1536 | 1536 | \end{enumerate} |
1537 | 1537 | |
1538 | 1538 | |
1539 | 1539 | |
... | ... | @@ -1560,17 +1560,16 @@ |
1560 | 1560 | |
1561 | 1561 | {} |
1562 | 1562 | |
1563 | -\subsection{[D2] Viewing cards in deck by pull time} | |
1563 | +\subsection{[D2] View Cards in Deck} | |
1564 | 1564 | |
1565 | 1565 | \begin{description} |
1566 | -\item[Description:]{This Test Case outlines the presentation layering step | |
1567 | -process of a user viewing all the cards in their deck by time they were pulled.} | |
1566 | +\item[Description:]{This test case outlines the presentation layering step | |
1567 | +process of a user viewing all the cards in their deck.} | |
1568 | 1568 | |
1569 | -\item[Desired Outcome:]{The User views the deck in time ascending/descending | |
1570 | -order.} | |
1569 | +\item[Desired Outcome:]{The User views all the cards in their deck.} | |
1571 | 1570 | \\ |
1572 | 1571 | |
1573 | -\item[User Goals:]{To organize the card for easier editing purpose.} | |
1572 | +\item[User Goals:]{To see all pulled cards for easier editing purpose.} | |
1574 | 1573 | |
1575 | 1574 | \item[Dependency Use Cases:]{[A1] User Registration, [A2] User Login, |
1576 | 1575 | [A3] Add a Class, [F1] Push Flashcard, [F3] Pull Flashcard} |
1577 | 1576 | |
1578 | 1577 | |
1579 | 1578 | |
... | ... | @@ -1583,13 +1582,13 @@ |
1583 | 1582 | \begin{itemize} |
1584 | 1583 | \itemsep1pt\parskip0pt\parsep0pt |
1585 | 1584 | \item |
1586 | - {The User has a registered account with email testuser@flashy.cards.} | |
1585 | + {A browser session is logged in as UserX.} | |
1587 | 1586 | \item |
1588 | - {The User shall be logged in with testuser@flashy.cards.} | |
1587 | + {Another browser session is logged in as UserY.} | |
1589 | 1588 | \item |
1590 | - {The User is registered for a class TEST 33.} | |
1589 | + {UserX and UserY are registered for class TEST 101.} | |
1591 | 1590 | \item |
1592 | - {The User is at the feed view for TEST 33.} | |
1591 | + {UserX and UserY at the feed view for TEST 101.} | |
1593 | 1592 | \end{itemize} |
1594 | 1593 | |
1595 | 1594 | \item[Postconditions:] |
... | ... | @@ -1605,7 +1604,7 @@ |
1605 | 1604 | \begin{enumerate} |
1606 | 1605 | \itemsep1pt\parskip0pt\parsep0pt |
1607 | 1606 | \item |
1608 | - {UserX shall click the ``Create Card'' button in the lower right.} | |
1607 | + {UserX shall click the ``Compose'' button in the lower right.} | |
1609 | 1608 | \item |
1610 | 1609 | {The System shall present a modal with a text box.} |
1611 | 1610 | \item |
... | ... | @@ -1613,7 +1612,7 @@ |
1613 | 1612 | \item |
1614 | 1613 | {The System shall create a new card and add it to the feed.} |
1615 | 1614 | \item |
1616 | - {UserX shall click the ``Create Card'' button in the lower right.} | |
1615 | + {UserX shall click the ``Compose'' button in the lower right.} | |
1617 | 1616 | \item |
1618 | 1617 | {The System shall present a modal with a text box.} |
1619 | 1618 | \item |
... | ... | @@ -1621,7 +1620,7 @@ |
1621 | 1620 | \item |
1622 | 1621 | {The System shall create a new card and add it to the feed.} |
1623 | 1622 | \item |
1624 | - {Another User logged in as UserY shall view the feed for TEST 33.} | |
1623 | + {Another User logged in as UserY shall view the feed for TEST 101.} | |
1625 | 1624 | \item |
1626 | 1625 | {UserY shall click ``Card B'' to pull the card and add it to their deck.} |
1627 | 1626 | \item |