Compare View

switch
from
...
to
 
Commits (2)

Diff

Showing 1 changed file Side-by-side Diff

TestCases.tex View file @ def0679
... ... @@ -778,9 +778,9 @@ flashcard will be shared with others.}
778 778 \item
779 779 {The User is logged in a different browser session as UserY.}
780 780 \item
781   - {UserX and UserY have added the class TEST 1.}
  781 + {UserX and UserY have added the class TEST.}
782 782 \item
783   - {UserX and UserY are on the live feed for TEST 1.}
  783 + {UserX and UserY are on the live feed for TEST.}
784 784 \end{itemize}
785 785  
786 786 \item[Postconditions:]
... ... @@ -789,12 +789,12 @@ flashcard will be shared with others.}
789 789 \item
790 790 {UserX has flashcard added to their deck.}
791 791 \item
792   - {The Flashcard is shown in the Live Feed.}
  792 + {The Flashcard is shown in the live feed.}
793 793 \item
794 794 {UserY and other users can add this flashcard to their decks.}
795 795 \end{itemize}
796 796  
797   -\item[Trigger:]{UserX wants to contribute a flashcard to the TEST 1.}
  797 +\item[Trigger:]{UserX wants to contribute a flashcard to the TEST.}
798 798  
799 799 \item[Workflow:]
800 800 \begin{enumerate}
... ... @@ -808,7 +808,7 @@ the lower right corner of the live feed.}
808 808 \item
809 809 {UserX shall select the ``Contribute'' button in the modal.}
810 810 \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''.}
  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''.}
812 812 \item
813 813 {UserY shall see the card appear in their feed within a minute (See Notes).}
814 814 \item
... ... @@ -817,7 +817,7 @@ the lower right corner of the live feed.}
817 817 {The flashcard shall be included in the UserX's deck.(c.f. Note about simultaneous browser session).}
818 818 \end{enumerate}
819 819  
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.}
  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 without checkmark and pencil mark.}
821 821  
822 822 \item[Alternative Workflow:]
823 823 \begin{enumerate}
... ... @@ -834,7 +834,7 @@ the lower right corner of the live feed.}
834 834 \item
835 835 {UserX shall click the ``Contribute'' button in the modal.}
836 836 \item
837   - {The System shall add the new flashcard containing the text ``The rain in \textbf{Spain} stays mainly in the \textbf{plain}'' to the feed of each user enrolled in TEST 1.}
  837 + {The System shall add the new flashcard containing the text ``The rain in \textbf{Spain} stays mainly in the \textbf{plain}'' to the feed of each user enrolled in TEST.}
838 838 \item
839 839 {UserY shall view the live feed and within a minute see the new flashcard appear with ``Spain'' and ``plain'' bolded.}
840 840 \end{enumerate}
... ... @@ -844,8 +844,8 @@ UserX will have the new flashcard with the words ``Spain'' and ``plain'' bolded
844 844 For UserX, the new flashcard will have a checkmark,
845 845 indicating that the card is in their deck and a pencil picture on
846 846 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.
  847 +The new flashcard will show up on UserY's live feed on class TEST
  848 +without checkmark and pencil mark.
849 849 }
850 850  
851 851 \item[Alternative Workflow:]
... ... @@ -859,7 +859,7 @@ without checkmark and pencil mark.
859 859 \end{enumerate}
860 860  
861 861 \item[Expected Result:]
862   -{ Blank flashcard will not be added to UserX's deck or to the live feed of TEST 1. }
  862 +{ Blank flashcard will not be added to UserX's deck or to the live feed of TEST. }
863 863  
864 864 \item[Alternative Workflow:]
865 865 \begin{enumerate}
... ... @@ -872,7 +872,7 @@ without checkmark and pencil mark.
872 872 \end{enumerate}
873 873  
874 874 \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. }
  875 +{ Flashcard with input not meeting the length restriction will not be added to UserX's deck or to the live feed of TEST. }
876 876  
877 877 \end{description}
878 878 \newpage
... ... @@ -887,8 +887,7 @@ without checkmark and pencil mark.
887 887 \item[Desired Outcome:]{Flashcard is edited and saved appropriately}
888 888 \\
889 889  
890   -\item[User Goals:]{The User shall be able to change the text, the blanked
891   -words, and the study date on a flashcard.}
  890 +\item[User Goals:]{The User shall be able to change the text and the blanked words on a flashcard.}
892 891  
893 892 \item[Dependency Use Cases:]{[A1] User Registration, [A2] User
894 893 Login, [A3] Add a Class, [F1] Push Flashcard, [F3] Pull Flashcard}
... ... @@ -901,29 +900,36 @@ Login, [A3] Add a Class, [F1] Push Flashcard, [F3] Pull Flashcard}
901 900 \begin{itemize}
902 901 \itemsep1pt\parskip0pt\parsep0pt
903 902 \item
904   - {UserX is logged in}
  903 + {The User is logged in as UserX.}
  904 +\item
  905 + {The User is logged in a different browser session as UserY.}
  906 +\item
  907 + {UserX and UserY have added the class TEST EDIT.}
905 908 \item
906   - {User has added the class TEST EDIT.}
  909 + {UserX and UserY are at the live feed of TEST EDIT.}
907 910 \item
908   - {UserX has the flashcard \textbf{Change} me in their flashcard.}
  911 + {TEST EDIT contains the flashcard ``This is made for \textbf{edit}''
  912 +, which was made by other user and is not in UserX's deck.}
  913 +\item
  914 + {UserX has the flashcard ``I have made an error'', which was created by UserX, in their deck.}
909 915 \end{itemize}
910 916  
911 917 \item[Postconditions:]
912 918 \begin{itemize}
913 919 \itemsep1pt\parskip0pt\parsep0pt
914 920 \item
915   - {Flashcard is edited}
  921 + {The selected flashcard is edited}
916 922 \end{itemize}
917 923  
918   -\item[Trigger:]{The User wants to edit their card.}
  924 +\item[Trigger:]{The User wants to edit a card.}
919 925  
920 926 \item[Workflow:]
921 927 \begin{enumerate}
922 928 \itemsep1pt\parskip0pt\parsep0pt
923 929 \item
924   - {UserX shall move the cursor over the flashcard ``this is made for edit''.}
  930 + {UserX shall hover the cursor over the flashcard ``this is made for \textbf{edit}''.}
925 931 \item
926   - {UserX shall click the edit button on bottom left of the selected flashcard.}
  932 + {UserX shall click the edit button on bottom left of the hovered flashcard. The blue edit button looks like a pencil slanted writing on a paper.}
927 933 \item
928 934 {The System shall present a modal that contains the text of the selected flashcard.}
929 935 \item
... ... @@ -931,7 +937,7 @@ Login, [A3] Add a Class, [F1] Push Flashcard, [F3] Pull Flashcard}
931 937 \item
932 938 {UserX shall click 'Save'}
933 939 \item
934   - {The System shall hide the model from UserX.}
  940 + {The System shall hide the modal from UserX.}
935 941 \end{enumerate}
936 942  
937 943 \item[Expected Results:]{The selected flashcard's text shall be changed to ``Edit has been made''.}
... ... @@ -987,8 +993,7 @@ Login, [A3] Add a Class, [F1] Push Flashcard, [F3] Pull Flashcard}
987 993 \item[Description:]{This test case outlines the presentation layering step
988 994 process of a user pulling a flashcard.}
989 995  
990   -\item[Desired Outcome:]{The User shall have the flashcard added to their own
991   -deck.}
  996 +\item[Desired Outcome:]{The User shall have the flashcard added to their deck.}
992 997 \\
993 998  
994 999 \item[User Goals:]{The User will be able to review that flashcard.}
... ... @@ -1004,22 +1009,23 @@ Login, [A3] Add a Class, [F1] Push Flashard}
1004 1009 \begin{itemize}
1005 1010 \itemsep1pt\parskip0pt\parsep0pt
1006 1011 \item
1007   - {User has registered for a class.}
  1012 + {The User is logged in as UserX.}
1008 1013 \item
1009   - {User is at live feed for said class.}
  1014 + {UserX has added the class TEST.}
1010 1015 \item
1011   - {Flashcard with text ``TESTY FLASHY'' has been created.}
  1016 + {UserX is at the live feed for TEST.}
1012 1017 \item
1013   - {That flashcard with the text ``TESTY FLASHY'' is in the Live Feed of class TEST 1.}
  1018 + {Flashcard with text ``Pull me'' is in the live feed.
  1019 +UserX did not create this card and has not pulled it yet.}
1014 1020 \end{itemize}
1015 1021  
1016 1022 \item[Postconditions:]
1017 1023 \begin{itemize}
1018 1024 \itemsep1pt\parskip0pt\parsep0pt
1019 1025 \item
1020   - {User shall have that flashcard with the text ``TESTY FLASHY'' added to their deck}
  1026 + {UserX shall have that flashcard with the text ``Pull me'' added to their deck}
1021 1027 \item
1022   - {User can review this flashcard later}
  1028 + {UserX shall be able to review this flashcard later}
1023 1029 \end{itemize}
1024 1030  
1025 1031 \item[Trigger:]{UserX wants to add a flashcard to their deck to study it.}
... ... @@ -1029,19 +1035,22 @@ Login, [A3] Add a Class, [F1] Push Flashard}
1029 1035 \begin{enumerate}
1030 1036 \itemsep1pt\parskip0pt\parsep0pt
1031 1037 \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.}
  1038 + {UserX shall hover their cursor over the flashcard with the text ``Pull me'' in the class TEST live feed.}
1034 1039 \item
1035 1040 {The System shall present buttons on mouseover.}
1036 1041 \item
1037 1042 {UserX shall click on the large plus that appears over the flashcard with the text ``TESTY FLASHY''.}
1038 1043 \item
1039   - {The System shall hide the flashcard with the text ``TESTY FLASHY'' from the class TEST 1 feed for UserX.}
  1044 + {The System shall add the flashcard into UserX's deck.
  1045 + A checkmark shall appear on top right corner of the flashcard.}
  1046 +\item
  1047 + {UseX shall click the ``Deck'' icon on the top left to enter their
  1048 +deck.}
1040 1049 \item
1041   - {UserX shall check that card with the text ``TESTY FLASHY'' has been added to their class TEST 1 deck by checking API.}
  1050 + {UserX shall check that the card with the text ``Pull me'' has been added to their class TEST deck.}
1042 1051 \end{enumerate}
1043 1052  
1044   -\item[Expected Result:] {The flashcard with the text ``TESTY FLASHY'' is in the class TEST 1 deck.}
  1053 +\item[Expected Result:] {The flashcard with the text ``Pull me'' is in the class TEST 1 deck. If UserX hovers the cursor over the flashcard at the live feed of TEST, the original placement of the large plus button has been changed to large minus button.}
1045 1054 \end{description}
1046 1055 \newpage
1047 1056