Compare View

switch
from
...
to
 
Commits (2)

Diff

Showing 1 changed file Side-by-side Diff

TestCases.tex View file @ 8f38c44
... ... @@ -1078,20 +1078,26 @@ the bottom left of the hovered flashcard.}
1078 1078 \item
1079 1079 {UserX shall click 'SAVE CHANGES'}
1080 1080 \item
  1081 + {The System shall hide the modal from UserX.}
  1082 +\item
1081 1083 {The System shall create a new flashcard with the given
1082 1084 text.}
1083   -\item
1084   - {The System shall hide the modal from UserX.}
  1085 +
1085 1086 \end{enumerate}
1086 1087  
1087 1088 \item[Expected Result:]
1088   -{For UserX:\\shall see a new flashcard with the
1089   -text ``Edit has been made'' added to the top of the feed and the new
1090   -flashcard will be added to UserX's deck.
1091   -The flashcard with the text ``this is made for edit''
1092   -will be hidden from UserX.}
1093   -\item
1094   -{}
  1089 +{For UserX:\\
  1090 +The flashcard with the text ``this is made for edit'' will be
  1091 +hidden from UserX. The new flashcard with the text
  1092 +``Edit has been made'' will be added to UserX's deck and
  1093 +have the checkmark and pencil mark on the top right.\\
  1094 +For UserY:\\
  1095 +The flashcard with the text ``this is made for edit'' will
  1096 +remain on the live feed with a checkmark. The new flashcard
  1097 +with the text ``Edit has been made'' will be added to
  1098 +the top of the live feed. This new flashcard has not
  1099 +been pulled by UserY and is not made by UserY, therefore
  1100 +will not have a checkmark and pencil mark.}
1095 1101  
1096 1102 \item[Alternate Workflow A:]
1097 1103 \begin{enumerate}
... ... @@ -1108,66 +1114,82 @@ the bottom left of the hovered flashcard.}
1108 1114 \item
1109 1115 {UserX shall select the bolded text ``\textbf{error}''}
1110 1116 \item
1111   - {UserX shall select }
  1117 + {UserX shall click 'BLANKED SELECTED TEXT' to
  1118 +unblank the bold text.}
  1119 +\item
  1120 + {UserX shall select the text ``made''.}
  1121 +\item
  1122 + {UserX shall click 'BLANKED SELECTED TEXT' to
  1123 +blank ``made'' to ``\textbf{made}''.}
1112 1124 \item
1113 1125 {UserX shall click ``Save Changes''.}
1114 1126 \item
1115 1127 {The System shall hide the modal from UserX.}
1116   -\item
1117   - {The selected flashcard's blanked words shall be
1118   -changed to ``fun''.}
1119 1128 \end{enumerate}
1120 1129  
1121   -\item[Expected Result:]{The selected flashcard's blanked words shall be changed to ``fun''.}
  1130 +\item[Expected Result:]
  1131 +{For UserX:\\
  1132 +The flashcard with the text ``I have made an \textbf{error}''
  1133 +will change to ``I have ``\textbf{made}'' an error'' with
  1134 +bolding at different places.
  1135 +This flashcard with the text ``I have ``\textbf{made}'' an error''
  1136 +is not a new flashcard. It will be added
  1137 +to UserX's deck with the UserX's choice of blanking.
  1138 +The card will have only a checkmark and no pencil mark.\\
  1139 +
  1140 +For UserY:\\
  1141 +The flashcard with the text ``I have made an \textbf{error}''
  1142 +will remain on the live feed with a checkmark.
  1143 +Since no new flashcard has been added, UserY's
  1144 +will see no change in the live feed.}
1122 1145 \\
1123 1146  
1124 1147 \item[Alternate Workflow B:]
1125 1148 \begin{enumerate}
1126 1149 \itemsep1pt\parskip0pt\parsep0pt
1127 1150 \item
1128   - {UserX shall hover the cursor over the flashcard
1129   -``Edit has been made''.}
  1151 + {UserX shall move the cursor over the flash card
  1152 +``I have \textbf{made} an error''.}
1130 1153 \item
1131 1154 {UserX shall click the blue pencil edit icon on
1132 1155 the bottom left of the hovered flashcard.}
1133 1156 \item
1134 1157 {The System shall present a modal that contains the
1135   -``Edit has been made'' of the selected flashcard.}
1136   -\item
1137   - {UserX shall select the entire text.}
1138   -\item
1139   - {UserX shall change the text to blanks.}
  1158 +``I have \textbf{made} an error'' of the selected flashcard.}
1140 1159 \item
1141   - {UserX shall click 'SAVE CHANGES' (button may not change
1142   -color).}
  1160 + {UserX shall select the text ``I'' and change it
  1161 +to ``UserX''.}
1143 1162 \item
1144   - {The System shall hide the modal from UserX.}
1145   -\end{enumerate}
1146   -
1147   -\item[Expected Result:]{UserX shall see a new flashcard with the
1148   -text ``Edit has been made'' added to the top of the feed and the new
1149   -flashcard will be added to UserX's deck.
1150   -The flashcard with the text ``this is made for edit''
1151   -will be hidden from UserX.}
1152   -
1153   -\item[Alternate Workflow C:]
1154   -\begin{enumerate}
1155   -\itemsep1pt\parskip0pt\parsep0pt
1156   -\item
1157   - {UserX shall move the cursor over the flash card ``this is made for edit3''.}
  1163 + {UserX shall select the text ``UserX''.}
1158 1164 \item
1159   - {UserX shall click the edit button on bottom left of the selected flashcard.}
  1165 + {UserX shall click 'BLANKED SELECTED TEXT' to
  1166 +blank ``UserX'' to ``\textbf{UserX}''.}
1160 1167 \item
1161   - {The System shall present a modal that contains the text of the selected flashcard.}
1162   -\item
1163   - {UserX shall be able the study date to 6/12.}
1164   -\item
1165   - {UserX shall click 'Save'}
  1168 + {UserX shall click ``Save Changes''.}
1166 1169 \item
1167 1170 {The System shall hide the modal from UserX.}
  1171 +\item
  1172 + {The System shall create a new flashcard with the given
  1173 +text.}
1168 1174 \end{enumerate}
1169 1175  
1170   -\item[Expected Result:]{The selected flashcard's study date shall be changed to 6/12.}
  1176 +\item[Expected Result:]
  1177 +{For UserX:\\
  1178 +The flashcard with the text ``I have \textbf{made} an error''
  1179 +will be hidden from UserX. The new flashcard with the text
  1180 +``\textbf{UserX} have \textbf{made} an error''
  1181 +will be added to UserX's deck and
  1182 +have the checkmark and pencil mark on the top right.\\
  1183 +
  1184 +For UserY:\\
  1185 +The flashcard with the text ``I have \textbf{made} an error''
  1186 +will remain on the live feed with a checkmark.
  1187 +The new flashcard with the text
  1188 +``\textbf{UserX} have \textbf{made} an error'' will be added to
  1189 +the top of the live feed. This new flashcard has not
  1190 +been pulled by UserY and is not made by UserY, therefore
  1191 +will not have a checkmark and pencil mark.}
  1192 +
1171 1193 \end{description}
1172 1194 \newpage
1173 1195