diff --git a/TestCases.tex b/TestCases.tex index e5c7489..a083577 100644 --- a/TestCases.tex +++ b/TestCases.tex @@ -743,9 +743,9 @@ inconvenient times} \begin{itemize} \itemsep1pt\parskip0pt\parsep0pt \item - {UserX is logged in. } + {The User is logged as UserX.} \item -{UserY is logged in. } +{The User is logged in a different browser session as UserY.} \item {UserX and UserY have added the class TEST 1.} \item @@ -785,7 +785,7 @@ inconvenient times} {The flashcard shall be included in the UserX's deck.(c.f. Note about simultaneous browser session).} \end{enumerate} -\item[Expected Result:] {UserX will have the new flashcard in their deck, and the new flashcard will show up on UserY's live feed on class TEST 1.} +\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.} \item[Alternative Workflow:] \begin{enumerate} @@ -800,14 +800,47 @@ inconvenient times} \item {The System shall bold the word plain.} \item - {UserX shall click the ``Contribute'' button in the dialog.} + {UserX shall click the ``Contribute'' button in the modal.} \item {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.} \item - {UserY shall view the Live Feed and within a minute see the new flashcard appear with ``Spain'' and ``plain'' bolded.} + {UserY shall view the live feed and within a minute see the new flashcard appear with ``Spain'' and ``plain'' bolded.} +\end{enumerate} + +\item[Expected Result:] { +UserX will have the new flashcard with the words ``Spain'' and ``plain'' bolded 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. +} + +\item[Alternative Workflow:] +\begin{enumerate} +\setcounter{enumi}{2} +\itemsep1pt\parskip0pt\parsep0pt +\item + {UserX shall select the input field of the modal and type five blank spaces.} +\item + {UserX shall click the ``Contribute'' button in the dialog.} \end{enumerate} -\item[Expected Result:] {UserX will have the new flashcard with the words ``Spain'' and ``plain'' bolded and the new flashcard will appear visible to UserY on the Live Feed of the class TEST 1.} +\item[Expected Result:] +{ Blank flashcard will not be added to UserX's deck or to the live feed of TEST 1. } + +\item[Alternative Workflow:] +\begin{enumerate} +\setcounter{enumi}{2} +\itemsep1pt\parskip0pt\parsep0pt +\item + {UserX shall select the input field and type ``Test''.} +\item + {UserX shall click the ``Contribute'' button in the dialog.} +\end{enumerate} + +\item[Expected Result:] +{ Flashcard with input not meeting the length restriction will not be added to UserX's deck or to the live feed of TEST 1. } \end{description} \newpage @@ -836,14 +869,11 @@ Login, [A3] Add a Class, [F1] Push Flashcard, [F3] Pull Flashcard} \begin{itemize} \itemsep1pt\parskip0pt\parsep0pt \item - {The User has registered with the email testuser@flashy.cards. } -\item - {The user has verified their email address.} -\item {The User is logged in with the above email.} + {UserX is logged in} \item - {The User has added the class TEST EDIT} + {User has added the class TEST EDIT.} \item - {The User is their deck for TEST EDIT.} + {UserX has the flashcard \textbf{Change} me in their flashcard.} \end{itemize} \item[Postconditions:]