Compare View
Commits (3)
Diff
Showing 1 changed file Side-by-side Diff
TestCases.tex
View file @
230eaae
... | ... | @@ -745,9 +745,9 @@ flashcard will be shared with others.} |
745 | 745 | \begin{itemize} |
746 | 746 | \itemsep1pt\parskip0pt\parsep0pt |
747 | 747 | \item |
748 | - {UserX is logged in.} | |
748 | + {The User is logged as UserX.} | |
749 | 749 | \item |
750 | - {UserY is logged in.} | |
750 | +{The User is logged in a different browser session as UserY.} | |
751 | 751 | \item |
752 | 752 | {UserX and UserY have added the class TEST 1.} |
753 | 753 | \item |
... | ... | @@ -788,8 +788,7 @@ the lower right corner of the live feed.} |
788 | 788 | {The flashcard shall be included in the UserX's deck.(c.f. Note about simultaneous browser session).} |
789 | 789 | \end{enumerate} |
790 | 790 | |
791 | -\item[Expected Result:] {UserX will have the new flashcard in their deck, and | |
792 | -the new flashcard will show up on UserY's live feed on class TEST 1.} | |
791 | +\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.} | |
793 | 792 | |
794 | 793 | \item[Alternative Workflow:] |
795 | 794 | \begin{enumerate} |
... | ... | @@ -804,14 +803,47 @@ the new flashcard will show up on UserY's live feed on class TEST 1.} |
804 | 803 | \item |
805 | 804 | {The System shall bold the word plain.} |
806 | 805 | \item |
807 | - {UserX shall click the ``Contribute'' button in the dialog.} | |
806 | + {UserX shall click the ``Contribute'' button in the modal.} | |
808 | 807 | \item |
809 | 808 | {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.} |
810 | 809 | \item |
811 | - {UserY shall view the Live Feed and within a minute see the new flashcard appear with ``Spain'' and ``plain'' bolded.} | |
810 | + {UserY shall view the live feed and within a minute see the new flashcard appear with ``Spain'' and ``plain'' bolded.} | |
811 | +\end{enumerate} | |
812 | + | |
813 | +\item[Expected Result:] { | |
814 | +UserX will have the new flashcard with the words ``Spain'' and ``plain'' bolded in their deck. | |
815 | +For UserX, the new flashcard will have a checkmark, | |
816 | +indicating that the card is in their deck and a pencil picture on | |
817 | +top right to indicate UserX as the author of the flashcard. | |
818 | +The new flashcard will show up on UserY's live feed on class TEST 1 | |
819 | +without checkmark and pencil mark. | |
820 | +} | |
821 | + | |
822 | +\item[Alternative Workflow:] | |
823 | +\begin{enumerate} | |
824 | +\setcounter{enumi}{2} | |
825 | +\itemsep1pt\parskip0pt\parsep0pt | |
826 | +\item | |
827 | + {UserX shall select the input field of the modal and type five blank spaces.} | |
828 | +\item | |
829 | + {UserX shall click the ``Contribute'' button in the dialog.} | |
812 | 830 | \end{enumerate} |
813 | 831 | |
814 | -\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.} | |
832 | +\item[Expected Result:] | |
833 | +{ Blank flashcard will not be added to UserX's deck or to the live feed of TEST 1. } | |
834 | + | |
835 | +\item[Alternative Workflow:] | |
836 | +\begin{enumerate} | |
837 | +\setcounter{enumi}{2} | |
838 | +\itemsep1pt\parskip0pt\parsep0pt | |
839 | +\item | |
840 | + {UserX shall select the input field and type ``Test''.} | |
841 | +\item | |
842 | + {UserX shall click the ``Contribute'' button in the dialog.} | |
843 | +\end{enumerate} | |
844 | + | |
845 | +\item[Expected Result:] | |
846 | +{ Flashcard with input not meeting the length restriction will not be added to UserX's deck or to the live feed of TEST 1. } | |
815 | 847 | |
816 | 848 | \end{description} |
817 | 849 | \newpage |
... | ... | @@ -840,14 +872,11 @@ Login, [A3] Add a Class, [F1] Push Flashcard, [F3] Pull Flashcard} |
840 | 872 | \begin{itemize} |
841 | 873 | \itemsep1pt\parskip0pt\parsep0pt |
842 | 874 | \item |
843 | - {The User has registered with the email testuser@flashy.cards. } | |
844 | -\item | |
845 | - {The user has verified their email address.} | |
846 | -\item {The User is logged in with the above email.} | |
875 | + {UserX is logged in} | |
847 | 876 | \item |
848 | - {The User has added the class TEST EDIT} | |
877 | + {User has added the class TEST EDIT.} | |
849 | 878 | \item |
850 | - {The User is their deck for TEST EDIT.} | |
879 | + {UserX has the flashcard \textbf{Change} me in their flashcard.} | |
851 | 880 | \end{itemize} |
852 | 881 | |
853 | 882 | \item[Postconditions:] |