Compare View
Commits (2)
Diff
Showing 1 changed file Side-by-side Diff
TestCases.tex
View file @
3f92f35
... | ... | @@ -1617,13 +1617,15 @@ of the screen shall display TEST 101 to indicate the class.} |
1617 | 1617 | \subsection{[D1] Remove a Card from Deck} |
1618 | 1618 | |
1619 | 1619 | \begin{description} |
1620 | -\item[Description:]{This test case outlines the presentation layering step process | |
1621 | -of a user removing a flashcard from their deck.} | |
1620 | +\item[Description:]{This test case outlines the presentation layering | |
1621 | +step process of a user removing a flashcard from their deck.} | |
1622 | 1622 | |
1623 | -\item[Desired Outcome:]{The deck does not display the removed card.} | |
1623 | +\item[Desired Outcome:]{The selected card will not appear in | |
1624 | +the deck.} | |
1624 | 1625 | \\ |
1625 | 1626 | |
1626 | -\item[User Goals:]{The User wants to only review cards that the User wants to review.} | |
1627 | +\item[User Goals:]{The User wants to remove an undesirable card | |
1628 | +from their deck.} | |
1627 | 1629 | |
1628 | 1630 | \item[Dependency Use Cases:]{[A3] Add a class, [F1] Push Flashcard, [F3] Pull Flashcard} |
1629 | 1631 | \\ |
... | ... | @@ -1638,18 +1640,23 @@ of a user removing a flashcard from their deck.} |
1638 | 1640 | \item |
1639 | 1641 | {User is logged in as UserX.} |
1640 | 1642 | \item |
1641 | - {UserX has enrolled in the class TEST 101.} | |
1643 | + {UserX has added the class TEST 101.} | |
1644 | +\item | |
1645 | + {UserX has created a flashcard with the text | |
1646 | +``This is a bad card''.} | |
1642 | 1647 | \item |
1643 | - {UserX has added cards from the feed into their deck.} | |
1648 | + {UserX has created a flashcard with the text | |
1649 | +``This is a bad card too''.} | |
1644 | 1650 | \item |
1645 | - {UserX is at the deck/live feed screen for the class TEST 101.} | |
1651 | + {UserX has created a flashcard with the text | |
1652 | +``This is a bad card''.} | |
1646 | 1653 | \end{itemize} |
1647 | 1654 | |
1648 | 1655 | \item[Postconditions:] |
1649 | 1656 | \begin{itemize} |
1650 | 1657 | \itemsep1pt\parskip0pt\parsep0pt |
1651 | 1658 | \item |
1652 | - {Desired card are hidden from the User.} | |
1659 | + {Selected card is hidden from the User.} | |
1653 | 1660 | \end{itemize} |
1654 | 1661 | |
1655 | 1662 | \item[Trigger:]{UserX wants a card to be removed from their deck.} |
... | ... | @@ -1658,40 +1665,42 @@ of a user removing a flashcard from their deck.} |
1658 | 1665 | \begin{enumerate} |
1659 | 1666 | \itemsep1pt\parskip0pt\parsep0pt |
1660 | 1667 | \item |
1661 | - {UserX is at the Deck screen for the class.} | |
1662 | -\item | |
1663 | - {UserX shall hover over the card they want to delete and click | |
1664 | - the trash icon (hereafter, the ``Delete'' button) in the lower right | |
1665 | - corner of the card.} | |
1668 | + {UserX is at the deck for the class TEST 101.} | |
1666 | 1669 | \item |
1667 | - {UserX shall select the appropriate class.} | |
1670 | + {UserX shall hover the cursor over the card | |
1671 | +with the text ``This is a bad card''.} | |
1668 | 1672 | \item |
1669 | - {The System removes the flashcard from UserX's Deck.} | |
1673 | + {UserX shall click the large green minus button.} | |
1670 | 1674 | \item |
1671 | - {The System updates the flashcard's position in the Live Feed of class TEST 101.} | |
1675 | + {The System shall remove the flashcard from UserX's Deck.} | |
1672 | 1676 | \item |
1673 | - {The System updates UserX's Deck.} | |
1677 | + {The System shall update UserX's Deck.} | |
1674 | 1678 | \end{enumerate} |
1675 | 1679 | |
1676 | -\item[Expected Result:] {The flashcard is removed from UserX's deck.} | |
1680 | +\item[Expected Result:] {The flashcard with the | |
1681 | +text ``This is a bad card'' will no longer have a checkmark | |
1682 | +on top right of the flashcard. After UserX refresh the page, | |
1683 | +the flashcard will be removed from the deck.} | |
1677 | 1684 | |
1678 | 1685 | \item[Alternate Workflow:] |
1679 | 1686 | \begin{enumerate} |
1680 | 1687 | \itemsep1pt\parskip0pt\parsep0pt |
1681 | 1688 | \item |
1682 | - {UserX is at the Live Feed screen for the class.} | |
1689 | + {UserX is at the live feed screen for the class.} | |
1683 | 1690 | \item |
1684 | - {UserX shall hover over the card they want to delete and click | |
1685 | - the ``Delete'' button in the lower right corner of the card.} | |
1691 | + {UserX shall hover the cursor over the card | |
1692 | +with the text ``This is a bad card too''.} | |
1686 | 1693 | \item |
1687 | - {The System removes the flashcard from the User's Deck.} | |
1694 | + {UserX shall click the large green minus button.} | |
1688 | 1695 | \item |
1689 | - {The System updates the flashcard's position in the Live Feed.} | |
1690 | -\item | |
1691 | - {The System updates the User's Deck.} | |
1696 | + {The System shall update UserX's Deck, and the flashcard's | |
1697 | +position in the live feed.} | |
1692 | 1698 | \end{enumerate} |
1693 | 1699 | |
1694 | -\item[Expected Result:] {The flashcard is removed from UserX's deck.} | |
1700 | +\item[Expected Result:] | |
1701 | +{The flashcard with the text ``This is a bad card too'' will | |
1702 | +no longer have a checkmark on the top right of the flashcard. | |
1703 | +The flashcard will no longer be in UserX's deck.} | |
1695 | 1704 | |
1696 | 1705 | \end{description} |
1697 | 1706 | \newpage |