Compare View

switch
from
...
to
 
Commits (2)

Diff

Showing 1 changed file Side-by-side Diff

TestCases.tex View file @ 15fd812
... ... @@ -941,52 +941,70 @@ Login, [A3] Add a Class, [F1] Push Flashcard, [F3] Pull Flashcard}
941 941 \item
942 942 {User has added the class TEST 101.}
943 943 \item
944   - {TEST 101 contains the flashcard ``This is made for \textbf{edit}''
  944 + {TEST 101 contains the flashcard ``This is made for edit''}
945 945 , which was made by other user and is not in UserX's deck.}
946 946 \item
947   - {UserX has the flashcard ``I have made an error'', which was created by UserX, in their deck.}
  947 + {UserX has the flashcard ``I have made an \textbf{error}'',
  948 +which was created by UserX, and was pulled by UserY.}
  949 +\item
  950 + {UserX is at the live feed of TEST 101.}
948 951 \end{itemize}
949 952  
950 953 \item[Postconditions:]
951 954 \begin{itemize}
952 955 \itemsep1pt\parskip0pt\parsep0pt
953 956 \item
954   - {The selected flashcard is edited}
  957 + {The selected flashcards are edited.}
955 958 \end{itemize}
956 959  
957   -\item[Trigger:]{The User wants to edit a card.}
  960 +\item[Trigger:]{The User wants to edit existing flashcards.}
958 961  
959 962 \item[Workflow:]
960 963 \begin{enumerate}
961 964 \itemsep1pt\parskip0pt\parsep0pt
962 965 \item
963   - {UserX shall hover the cursor over the flashcard ``this is made for \textbf{edit}''.}
  966 + {UserX shall hover the cursor over the flashcard
  967 +``this is made for edit''.}
964 968 \item
965   - {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.}
  969 + {UserX shall click the edit button on bottom left of the
  970 +hovered flashcard. The blue edit button looks like a pencil
  971 +slanted writing on a paper.}
966 972 \item
967   - {The System shall present a modal that contains the text of the selected flashcard.}
  973 + {The System shall present a modal that contains the
  974 +``this is made for edit'' of the selected flashcard.}
968 975 \item
969   - {UserX shall be able to change the text to ``Edit has been made''.}
  976 + {UserX shall select the entire text.}
970 977 \item
971   - {UserX shall click 'Save'}
  978 + {UserX shall change the text to ``Edit has been made''.}
  979 +\item
  980 + {UserX shall click 'SAVE CHANGES'}
972 981 \item
973 982 {The System shall hide the modal from UserX.}
974 983 \end{enumerate}
975 984  
976   -\item[Expected Results:]{The selected flashcard's text shall be changed to ``Edit has been made''.}
  985 +\item[Expected Results:]{UserX shall see a new flashcard with the
  986 +text ``Edit has been made'' added to the top of the feed and the new
  987 +flashcard will be added to UserX's deck.
  988 +The flashcard with the text ``this is made for edit''
  989 +will be hidden from UserX.}
977 990  
978   -\item[Alternative Workflow A:]
  991 +\item[Alternative Workflow:]
979 992  
980 993 \begin{enumerate}
981 994 \itemsep1pt\parskip0pt\parsep0pt
982 995 \item
983   - {UserX shall move the cursor over the flash card ``this is made for edit2''.}
  996 + {UserX shall move the cursor over the flash card
  997 +``I have made an \textbf{error}''.}
984 998 \item
985   - {UserX shall click the edit button on bottom left of the selected flashcard.}
  999 + {UserX shall click the edit button on bottom left of the
  1000 +hovered flashcard.}
986 1001 \item
987   - {The System shall present a modal that contains the text of the selected flashcard.}
  1002 + {The System shall present a modal that contains the text
  1003 +``I have made an \textbf{error}'' of the selected flashcard.}
  1004 +\item
  1005 + {UserX shall select the bolded text ``\textbf{error}''}
988 1006 \item
989   - {UserX shall be able to change the bolded text from ``edit2'' to ``fun'' by highlighting the words and click blank words.}
  1007 + {UserX shall select }
990 1008 \item
991 1009 {UserX shall click 'Save'}
992 1010 \item
... ... @@ -997,6 +1015,33 @@ Login, [A3] Add a Class, [F1] Push Flashcard, [F3] Pull Flashcard}
997 1015  
998 1016 \item[Expected Result:]{The selected flashcard's blanked words shall be changed to ``fun''.}
999 1017  
  1018 +\item[Alternate Workflow:]
  1019 +\begin{enumerate}
  1020 +\itemsep1pt\parskip0pt\parsep0pt
  1021 +\item
  1022 + {UserX shall hover the cursor over the flashcard
  1023 +``Edit has been made''.}
  1024 +\item
  1025 + {UserX shall click the edit button on bottom left of the
  1026 +hovered flashcard.}
  1027 +\item
  1028 + {The System shall present a modal that contains the
  1029 +``Edit has been made'' of the selected flashcard.}
  1030 +\item
  1031 + {UserX shall select the entire text.}
  1032 +\item
  1033 + {UserX shall change the text to blanks.}
  1034 +\item
  1035 + {UserX shall click 'SAVE CHANGES' (Does not .}
  1036 +\item
  1037 + {The System shall hide the modal from UserX.}
  1038 +\end{enumerate}
  1039 +
  1040 +\item[Expected Results:]{UserX shall see a new flashcard with the
  1041 +text ``Edit has been made'' added to the top of the feed and the new
  1042 +flashcard will be added to UserX's deck.
  1043 +The flashcard with the text ``this is made for edit''
  1044 +will be hidden from UserX.}
1000 1045 \item[Alternative Workflow B:]
1001 1046  
1002 1047 \begin{enumerate}