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