Commit 8ca6059e794142050798c8162911802a9ae98f13

Authored by Andrew Buss
Exists in master

Merge branch 'master' of git.ucsd.edu:110swag/docs

Showing 1 changed file Side-by-side Diff

TestCases.tex View file @ 8ca6059
... ... @@ -491,10 +491,14 @@
491 491 \item
492 492 {The System shall update the UserX's current password \mbox{``mynameisuserx''}
493 493 to the new password \mbox{``newPassword''}.}
  494 +\item
  495 + {UserX shall logout by clicking on the power icon on the right side of the navbar.}
  496 +\item
  497 + {UserX shall log back in with the new password.}
494 498 \end{enumerate}
495 499  
496 500 \item[Expected Result:] {User's password is changed from \mbox{``mynameisuserx''}
497   -to \mbox{``newPassword''}.}
  501 +to \mbox{``newPassword''} and he/she is able to log back in to his account with the new password.}
498 502 \\
499 503  
500 504 \item[Alternate Workflow A:]
501 505  
... ... @@ -509,9 +513,15 @@
509 513 {The System shall ensure validity of new password.}
510 514 \item
511 515 {The System shall check UserX's current password.}
  516 +\item
  517 + {UserX shall logout of his account.}
  518 +\item
  519 + {UserX shall try to log back in with the new password and then with their old password.}
512 520 \end{enumerate}
513 521  
514   -\item[Expected Result:] {The System shall display a toast ``Your old password is not correct''.}
  522 +\item[Expected Result:] {The System shall display a toast ``Your old password is not correct''
  523 + and leave the User's password unchanged (the User can't log back in with the new password but
  524 + they can log back in with their old password)}
515 525 \\
516 526  
517 527 \item[Alternate Workflow B:]
518 528  
... ... @@ -524,10 +534,15 @@
524 534 {UserX shall click the ``Submit'' button.}
525 535 \item
526 536 {The System shall ensure validity of new password.}
  537 +\item
  538 + {UserX shall logout of his account.}
  539 +\item
  540 + {UserX shall try to log back in with the new password and then with their old password.}
527 541 \end{enumerate}
528 542  
529 543 \item[Expected Result:] {The System shall display error text ``New password
530   -must be at least 8 characters.''}
  544 + must be at least 8 characters and leave the User's password unchanged
  545 + (the User can't log back in with the new password but they can log back in with their old password)}
531 546  
532 547 \end{description}
533 548 \newpage
... ... @@ -554,7 +569,7 @@
554 569  
555 570 \item[Status]{Implemented}
556 571  
557   -\item[Fixtures] a6
  572 +\item[Fixture:] a6
558 573  
559 574 \item[Preconditions:]
560 575 \begin{itemize}
... ... @@ -712,7 +727,7 @@
712 727  
713 728 \item[Status:]{Implemented}
714 729  
715   -\item[Fixture] a8
  730 +\item[Fixture:] a8
716 731  
717 732 \item[Preconditions:]
718 733 \begin{itemize}
719 734  
... ... @@ -776,11 +791,14 @@
776 791 \begin{enumerate}
777 792 \itemsep1pt\parskip0pt\parsep0pt
778 793 \item
779   - {The System shall display the admin email address on every page in the
780   - application.}
  794 + {The User shall click on the '?' icon at the right side of the navbar.}
  795 +\item
  796 + {The System shall display the the Help page.}
  797 +\item
  798 + {The User shall scroll to the bottom and click on 'Send us an email!' to send an email to the admins.}
781 799 \end{enumerate}
782 800  
783   -\item[Expected Result:] {The admin's email address can be seen by UserX on every page.}
  801 +\item[Expected Result:] {UserX is able to contact the admins.}
784 802 \end{description}
785 803 \newpage
786 804  
... ... @@ -864,7 +882,7 @@
864 882  
865 883 \item[Status:]{Implemented}
866 884  
867   -\item[Fixture] f1
  885 +\item[Fixture:] f1
868 886  
869 887 \item[Preconditions:]
870 888 \begin{itemize}
... ... @@ -985,7 +1003,7 @@
985 1003 \end{enumerate}
986 1004  
987 1005 \item[Expected Result:]
988   -{ Flashcard with input size that does not meeting the
  1006 +{ Flashcard with input size that does not meet the
989 1007 length restriction will not be added to
990 1008 UserX's deck or to the live feed of TEST 101.}
991 1009  
... ... @@ -1014,7 +1032,7 @@
1014 1032  
1015 1033 \item[Status:]{Implemented}
1016 1034  
1017   -\item[Fixture] f2
  1035 +\item[Fixture:] f2
1018 1036  
1019 1037 \item[Preconditions:]
1020 1038 \begin{itemize}
1021 1039  
1022 1040  
... ... @@ -1063,20 +1081,26 @@
1063 1081 \item
1064 1082 {UserX shall click 'SAVE CHANGES'}
1065 1083 \item
  1084 + {The System shall hide the modal from UserX.}
  1085 +\item
1066 1086 {The System shall create a new flashcard with the given
1067 1087 text.}
1068   -\item
1069   - {The System shall hide the modal from UserX.}
  1088 +
1070 1089 \end{enumerate}
1071 1090  
1072 1091 \item[Expected Result:]
1073   -{For UserX:\\shall see a new flashcard with the
1074   -text ``Edit has been made'' added to the top of the feed and the new
1075   -flashcard will be added to UserX's deck.
1076   -The flashcard with the text ``this is made for edit''
1077   -will be hidden from UserX.}
1078   -\item
1079   -{}
  1092 +{For UserX:\\
  1093 +The flashcard with the text ``this is made for edit'' will be
  1094 +hidden from UserX. The new flashcard with the text
  1095 +``Edit has been made'' will be added to UserX's deck and
  1096 +have the checkmark and pencil mark on the top right.\\
  1097 +For UserY:\\
  1098 +The flashcard with the text ``this is made for edit'' will
  1099 +remain on the live feed with a checkmark. The new flashcard
  1100 +with the text ``Edit has been made'' will be added to
  1101 +the top of the live feed. This new flashcard has not
  1102 +been pulled by UserY and is not made by UserY, therefore
  1103 +will not have a checkmark and pencil mark.}
1080 1104  
1081 1105 \item[Alternate Workflow A:]
1082 1106 \begin{enumerate}
1083 1107  
1084 1108  
1085 1109  
1086 1110  
1087 1111  
1088 1112  
1089 1113  
1090 1114  
1091 1115  
1092 1116  
1093 1117  
1094 1118  
1095 1119  
1096 1120  
1097 1121  
1098 1122  
1099 1123  
1100 1124  
... ... @@ -1093,66 +1117,111 @@
1093 1117 \item
1094 1118 {UserX shall select the bolded text ``\textbf{error}''}
1095 1119 \item
1096   - {UserX shall select }
  1120 + {UserX shall click 'BLANK SELECTED TEXT' to
  1121 +unblank the bold text.}
1097 1122 \item
  1123 + {UserX shall select the text ``made''.}
  1124 +\item
  1125 + {UserX shall click 'BLANK SELECTED TEXT' to
  1126 +blank ``made'' to ``\textbf{made}''.}
  1127 +\item
1098 1128 {UserX shall click ``Save Changes''.}
1099 1129 \item
1100 1130 {The System shall hide the modal from UserX.}
1101   -\item
1102   - {The selected flashcard's blanked words shall be
1103   -changed to ``fun''.}
1104 1131 \end{enumerate}
1105 1132  
1106   -\item[Expected Result:]{The selected flashcard's blanked words shall be changed to ``fun''.}
  1133 +\item[Expected Result:]
  1134 +{For UserX:\\
  1135 +The flashcard with the text ``I have made an \textbf{error}''
  1136 +will change to ``I have ``\textbf{made}'' an error'' with
  1137 +bolding at different places.
  1138 +This flashcard with the text ``I have ``\textbf{made}'' an error''
  1139 +is not a new flashcard. It will be added
  1140 +to UserX's deck with the UserX's choice of blanking.
  1141 +The card will have only a checkmark and no pencil mark.\\
  1142 +
  1143 +For UserY:\\
  1144 +The flashcard with the text ``I have made an \textbf{error}''
  1145 +will remain on the live feed with a checkmark.
  1146 +Since no new flashcard has been added, UserY's
  1147 +will see no change in the live feed.}
1107 1148 \\
1108 1149  
1109 1150 \item[Alternate Workflow B:]
1110 1151 \begin{enumerate}
1111 1152 \itemsep1pt\parskip0pt\parsep0pt
1112 1153 \item
1113   - {UserX shall hover the cursor over the flashcard
1114   -``Edit has been made''.}
  1154 + {UserX shall move the cursor over the flash card
  1155 +``I have \textbf{made} an error''.}
1115 1156 \item
1116 1157 {UserX shall click the blue pencil edit icon on
1117 1158 the bottom left of the hovered flashcard.}
1118 1159 \item
1119 1160 {The System shall present a modal that contains the
1120   -``Edit has been made'' of the selected flashcard.}
  1161 +``I have \textbf{made} an error'' of the selected flashcard.}
1121 1162 \item
1122   - {UserX shall select the entire text.}
  1163 + {UserX shall select the text ``I'' and change it
  1164 +to ``UserX''.}
1123 1165 \item
1124   - {UserX shall change the text to blanks.}
  1166 + {UserX shall select the text ``UserX''.}
1125 1167 \item
1126   - {UserX shall click 'SAVE CHANGES' (button may not change
1127   -color).}
  1168 + {UserX shall click 'BLANK SELECTED TEXT' to
  1169 +blank ``UserX'' to ``\textbf{UserX}''.}
1128 1170 \item
  1171 + {UserX shall click ``Save Changes''.}
  1172 +\item
1129 1173 {The System shall hide the modal from UserX.}
  1174 +\item
  1175 + {The System shall create a new flashcard with the given
  1176 +text.}
1130 1177 \end{enumerate}
1131 1178  
1132   -\item[Expected Result:]{UserX shall see a new flashcard with the
1133   -text ``Edit has been made'' added to the top of the feed and the new
1134   -flashcard will be added to UserX's deck.
1135   -The flashcard with the text ``this is made for edit''
1136   -will be hidden from UserX.}
  1179 +\item[Expected Result:]
  1180 +{For UserX:\\
  1181 +The flashcard with the text ``I have \textbf{made} an error''
  1182 +will be hidden from UserX. The new flashcard with the text
  1183 +``\textbf{UserX} have \textbf{made} an error''
  1184 +will be added to UserX's deck and
  1185 +have the checkmark and pencil mark on the top right.\\
1137 1186  
  1187 +For UserY:\\
  1188 +The flashcard with the text ``I have \textbf{made} an error''
  1189 +will remain on the live feed with a checkmark.
  1190 +The new flashcard with the text
  1191 +``\textbf{UserX} have \textbf{made} an error'' will be added to
  1192 +the top of the live feed. This new flashcard has not
  1193 +been pulled by UserY and is not made by UserY, therefore
  1194 +will not have a checkmark and pencil mark.}
  1195 +
1138 1196 \item[Alternate Workflow C:]
1139 1197 \begin{enumerate}
1140 1198 \itemsep1pt\parskip0pt\parsep0pt
1141 1199 \item
1142   - {UserX shall move the cursor over the flash card ``this is made for edit3''.}
  1200 + {UserX shall move the cursor over the flash card
  1201 +``\textbf{UserX} have \textbf{made} an error''.}
1143 1202 \item
1144   - {UserX shall click the edit button on bottom left of the selected flashcard.}
  1203 + {UserX shall click the blue pencil edit icon on
  1204 +the bottom left of the hovered flashcard.}
1145 1205 \item
1146   - {The System shall present a modal that contains the text of the selected flashcard.}
  1206 + {The System shall present a modal that contains the
  1207 +``\textbf{UserX} have \textbf{made} an error''
  1208 +of the selected flashcard.}
1147 1209 \item
1148   - {UserX shall be able the study date to 6/12.}
  1210 + {UserX shall select the entire text and
  1211 +change it to five blanks (5 spacebars).}
1149 1212 \item
1150   - {UserX shall click 'Save'}
  1213 + {UserX shall click ``Save Changes''.}
1151 1214 \item
1152 1215 {The System shall hide the modal from UserX.}
1153 1216 \end{enumerate}
1154 1217  
1155   -\item[Expected Result:]{The selected flashcard's study date shall be changed to 6/12.}
  1218 +\item[Expected Result:]
  1219 +{Since blank flashcard cannot be made, the flashcard with the text
  1220 +``\textbf{UserX} have \textbf{made} an error''
  1221 +will be remain with UserX. No new flashcard will be made.
  1222 +Both UserX and UserY's live feed will not change.
  1223 +}
  1224 +
1156 1225 \end{description}
1157 1226 \newpage
1158 1227  
... ... @@ -1175,7 +1244,7 @@
1175 1244  
1176 1245 \item[Status:]{Implemented}
1177 1246  
1178   -\item[Fixture] f3
  1247 +\item[Fixture:] f3
1179 1248  
1180 1249 \item[Preconditions:]
1181 1250 \begin{itemize}
... ... @@ -1251,7 +1320,7 @@
1251 1320  
1252 1321 \item[Status:]{Implemented}
1253 1322  
1254   -\item[Fixture] f4
  1323 +\item[Fixture:] f4
1255 1324  
1256 1325 \item[Preconditions:]
1257 1326 \begin{itemize}
... ... @@ -1270,9 +1339,7 @@
1270 1339 \begin{itemize}
1271 1340 \itemsep1pt\parskip0pt\parsep0pt
1272 1341 \item
1273   - {User shall have that flashcard added to their deck}
1274   -\item
1275   - {User can review this flashcard later}
  1342 + {The flashcard that the user reported will be flagged as inappropriate and can be reviewed by the admins.}
1276 1343 \end{itemize}
1277 1344  
1278 1345 \item[Trigger:]{UserX wants to mark a card innapropriate.}
... ... @@ -1290,7 +1357,7 @@
1290 1357 \item
1291 1358 {The System shall hide the card from UserX and display a toast, ``Card hidden! If the card was spammy or abusive you may also REPORT''.}
1292 1359 \item
1293   - {UserX shall click the REPORT.}
  1360 + {UserX shall click REPORT.}
1294 1361 \end{enumerate}
1295 1362  
1296 1363 \item[Expected Result:] {The System shall display a toast, ``Report successful: thanks for letting us know!''}
... ... @@ -1307,6 +1374,7 @@
1307 1374  
1308 1375 \item[Desired Outcome:]{The User shall see flashcards based on the filter
1309 1376 options.}
  1377 +\\
1310 1378  
1311 1379 \item[User Goals:]{The User can find what they are specifically looking
1312 1380 for}
... ... @@ -1319,7 +1387,7 @@
1319 1387  
1320 1388 \item[Status:]{Implemented}
1321 1389  
1322   -\item[Fixture] f5
  1390 +\item[Fixture:] f5
1323 1391  
1324 1392 \item[Preconditions:]
1325 1393 \begin{itemize}
... ... @@ -1334,8 +1402,6 @@
1334 1402 \item
1335 1403 {There exist flashcards in TEST 101 with the text ``orange'' that are hidden
1336 1404 for each week in the quarter.}
1337   -\item
1338   - {UserX is at Card List View for the class.}
1339 1405 \end{itemize}
1340 1406  
1341 1407 \item[Postconditions:]
... ... @@ -1351,6 +1417,9 @@
1351 1417 \begin{enumerate}
1352 1418 \itemsep1pt\parskip0pt\parsep0pt
1353 1419 \item
  1420 + {UserX shall click on the bulleted list icon on the left side of the navbar that shows
  1421 + the 'Card List' tooltip when you hover over it to go to the Card List view.}
  1422 +\item
1354 1423 {UserX shall deselect ``Week Nine'' from top.}
1355 1424 \item
1356 1425 {The System shall hide all cards from Week 9.}
1357 1426  
... ... @@ -1391,11 +1460,12 @@
1391 1460  
1392 1461 \item[Status:]{Implemented}
1393 1462  
  1463 +\item[Fixture:] f6
  1464 +
1394 1465 \item[Preconditions:]
1395 1466 \begin{itemize}
1396 1467 \itemsep1pt\parskip0pt\parsep0pt
1397 1468 \item
1398   -\item
1399 1469 {The User is logged in as UserX.}
1400 1470 \item
1401 1471 {The User has added the class TEST 101.}
1402 1472  
... ... @@ -1447,11 +1517,12 @@
1447 1517 to make a new copy of it. It is only a ``fix'' if no other users have the
1448 1518 flashcard in their Decks AND the User is the author.}
1449 1519  
1450   -\item[Desired Outcome:]{The User shall change one of their flashcard's text
1451   -and that alteration will be visible to all users in the Feed.}
  1520 +\item[Desired Outcome:]{The User shall change one of their flashcards' text
  1521 +and that alteration will be visible to all users in the Feed with
  1522 +out an addition of a new card.}
1452 1523  
1453   -\item[User Goals:]{The User shall make their own authored flashcard say
1454   -something different than it did originally.}
  1524 +\item[User Goals:]{The User shall change the text of
  1525 +their own authored flashcard to something new.}
1455 1526  
1456 1527 \item[Dependency Use Cases:]{[A1] User Registration, [A2] User
1457 1528 Login, [A3] Add a Class, [F1] Push Flashcard}
1458 1529  
1459 1530  
1460 1531  
1461 1532  
1462 1533  
1463 1534  
1464 1535  
... ... @@ -1460,31 +1531,31 @@
1460 1531  
1461 1532 \item[Status:]{Implemented}
1462 1533  
  1534 +\item[Fixture:] f7
  1535 +
1463 1536 \item[Preconditions:]
1464 1537 \begin{itemize}
1465 1538 \itemsep1pt\parskip0pt\parsep0pt
1466 1539 \item
1467 1540 {The User is logged in as UserX.}
1468   -\item {The User is logged in a separate browser as UserY.}
1469 1541 \item
1470   - {UserX and UserY has enrolled in the class TEST 101.}
  1542 + {UserX has enrolled in the class TEST 101.}
1471 1543 \item
1472 1544 {UserX is at the Deck View for the class TEST 101.}
1473   -\item {UserY is at the Feed View for the class TEST 101.}
1474 1545 \item
1475   - {The User has contributed and pushed a flashcard to the TEST 101 Feed, which is
  1546 + {UserX has contributed and pushed a flashcard to the TEST 101 Feed, which is
1476 1547 also in their Deck with text
1477 1548 ``My card is currently broken''; this flashcard is for fixing.}
  1549 +\item
  1550 + {No other users have pulled said card.}
1478 1551 \end{itemize}
1479 1552  
1480 1553 \item[Postconditions:]
1481 1554 \begin{itemize}
1482 1555 \itemsep1pt\parskip0pt\parsep0pt
1483 1556 \item
1484   - {The authoring User shall see their alteration for that flashcard in their
  1557 + {UserX shall see their alteration for that flashcard in their
1485 1558 Feed and Deck for TEST 101.}
1486   -\item {Other users shall see the fixed flashcard in the Feed for TEST 101 if they
1487   -refresh the app.}
1488 1559 \end{itemize}
1489 1560  
1490 1561 \item[Trigger:] {UserX realizes that a card they created previously does
1491 1562  
1492 1563  
1493 1564  
1494 1565  
1495 1566  
1496 1567  
... ... @@ -1497,41 +1568,34 @@
1497 1568 {UserX shall hover the Flashcard they created with text ``My card is currently
1498 1569 broken''.}
1499 1570 \item
1500   - {UserX shall select the bottom-left blue Edit Card pencil button on the flashcard.}
  1571 + {UserX shall select the bottom-left blue edit Card pencil button on the flashcard.}
1501 1572 \item
1502   - {The System shall bring up the flashcard Edit modal.}
  1573 + {The System shall bring up the flashcard edit modal.}
1503 1574 \item
1504   - {UserX shall highlight the text ``broken''.}
1505   -\item {UserX shall change the highlighted word into ``fixed'' so that the text
1506   -reads ``My card is currently fixed''.}
  1575 + {UserX shall select the text ``broken'' and change
  1576 +into ``fixed''.}
1507 1577 \item
1508 1578 {UserX shall press the Save Changes button.}
1509 1579 \item
1510 1580 {The System shall update the flashcard's text content.}
1511 1581 \item
1512 1582 {The System shall close the edit flashcard modal.}
1513   -\item {The Client shall show the flashcard in the UserX's TEST 101 Deck with the
1514   -fixed text.}
1515   -
1516   -\item {UserY refreshes the TEST 101 Feed view and sees the flashcard ``My card is
1517   -currently fixed''.}
1518 1583 \end{enumerate}
1519 1584  
1520   -\item[Expected Results:]{The Client shall show the fixed flashcard
1521   -in UserX's TEST 101 class Deck with the new text:``My card is currently fixed''.
1522   -The Client shall show the fixed flashcard in UserY's TEST 101 Feed view as well,
1523   -after page refresh.}
  1585 +\item[Expected Results:]{UserX shall see the fixed flashcard
  1586 +in the TEST 101 feed as well as in their TEST 101 Deck with the new
  1587 +text: ``My card is currently fixed'' after refreshing the page.}
1524 1588 \end{description}
1525 1589 \newpage
1526 1590  
1527 1591 {}
1528 1592  
1529   -\subsection{[F8] Hide cards from feed}
  1593 +\subsection{[F8] Hide cards}
1530 1594  
1531 1595 \begin{description}
1532   -\item[Description:]{This test case outlines the presentation layering process
1533   -for the User shall be able to hide cards from their own view, on
1534   - the Feed and Deck.}
  1596 +\item[Description:]{This test case outlines the presentation
  1597 +layering step process of a user hiding a flashcard
  1598 +from their own view, on the Feed and Deck.}
1535 1599  
1536 1600 \item[Desired Outcome:]{The System marks the flashcard as hidden from the
1537 1601 User so that the User cannot see the flashcard in the Feed or Deck.}
1538 1602  
1539 1603  
1540 1604  
... ... @@ -1546,19 +1610,21 @@
1546 1610  
1547 1611 \item[Status:]{Implemented}
1548 1612  
  1613 +\item[Fixture:] f8
  1614 +
1549 1615 \item[Preconditions:]
1550 1616 \begin{itemize}
1551 1617 \itemsep1pt\parskip0pt\parsep0pt
1552 1618 \item
1553 1619 {The User is logged in as UserX.}
1554 1620 \item
1555   - {The User has enrolled in the class TEST 101.}
  1621 + {UserX has enrolled in the class TEST 101.}
1556 1622 \item
1557   - {The User is at the Feed View or Deck View (alternate workflow)
1558   - for the class TEST 101.}
  1623 + {UserX has composed and contributed a flashcard to the Feed
  1624 +with text ``The rain in Spain stays mainly in the plain''.}
1559 1625 \item
1560   - {The User has composed and contributed a flashcard to the Feed with text
1561   - ``The rain in Spain stays mainly in the plain''.}
  1626 + {UserX has composed and contributed a flashcard to the Feed
  1627 +with text ``Hide me too''.}
1562 1628 \end{itemize}
1563 1629  
1564 1630 \item[Postconditions:]
1565 1631  
1566 1632  
1567 1633  
1568 1634  
1569 1635  
1570 1636  
... ... @@ -1572,34 +1638,37 @@
1572 1638 \itemsep1pt\parskip0pt\parsep0pt
1573 1639 \item {UserX has navigated to the Feed View of TEST 101.}
1574 1640 \item
1575   - {UserX hovers over the flashcard they added with the text ``The rain in Spain stays
  1641 + {UserX shall hover over the flashcard they added with the text ``The rain in Spain stays
1576 1642 mainly in the plain''.}
1577   -\item {UserX presses Hide button, which is the red crossed-out eye.}
  1643 +\item {UserX presses 'Hide' button, which is the red crossed-out
  1644 +eye on the bottom right of the flashcard.}
1578 1645 \item {The System shall hide the card.}
1579 1646 \end{enumerate}
1580 1647  
1581   -\item[Expected Result:] {The System shall display a toast ``Card Hidden! If
1582   -the card was spammy or abusive you may also REPORT''.}
  1648 +\item[Expected Result:]
  1649 +{The card is not shown on the Feed or Deck for UserX.
  1650 +The System shall display a toast
  1651 +``Card Hidden! If the card was spammy or abusive
  1652 +you may also REPORT''.}
1583 1653  
1584 1654 \item[Alternate Workflow:]
1585 1655 \begin{enumerate}
1586 1656 \itemsep1pt\parskip0pt\parsep0pt
1587 1657 \item {UserX has navigated to the Deck View of TEST 101.}
1588 1658 \item
1589   - {UserX hovers the flashcard they added with the text ``The rain in Spain stays
1590   - mainly in the plain''.}
1591   -
  1659 + {UserX hovers the flashcard they added with the text
  1660 +``Hide me too''.}
1592 1661 \item {UserX presses hide button, which is the red crossed-out eye.}
1593 1662  
  1663 +\item {The System shall unpull the card for UserX.}
1594 1664 \item {The System shall hide the card.}
1595   -\item {A toast is shown on the client that allows the User to report the card.}
1596   -\item {The card is not shown on the Feed or Deck.}
1597 1665 \end{enumerate}
1598 1666  
1599   -
1600   -\item[Expected Result:]{The Client shows the Deck without the flashcard of text
1601   - ``The rain in Spain stays mainly in the plain''. A toast that allows UserX to
1602   - report the card shows up temporarily.}
  1667 +\item[Expected Result:]
  1668 +{The card is not shown on the Feed or Deck for UserX.
  1669 +The System shall display a toast
  1670 +``Card Hidden! If the card was spammy or abusive
  1671 +you may also REPORT''.}
1603 1672 \end{description}
1604 1673 \newpage
1605 1674  
1606 1675  
... ... @@ -1625,13 +1694,17 @@
1625 1694  
1626 1695 \item[Status:]{Implemented}
1627 1696  
  1697 +\item[Fixture:] f9
  1698 +
1628 1699 \item[Preconditions:]
1629 1700 \begin{itemize}
1630 1701 \itemsep1pt\parskip0pt\parsep0pt
1631 1702 \item
1632 1703 {The User is logged in as UserX.}
1633 1704 \item
1634   - {The User has added the class TEST 101.}
  1705 + {UserX and UserY have added the class TEST 101.}
  1706 +\item
  1707 + {UserY has created the flashcard ``Feed me'' in TEST 101.}
1635 1708 \end{itemize}
1636 1709  
1637 1710 \item[Postconditions:]
... ... @@ -1645,8 +1718,6 @@
1645 1718 \item[Workflow:]
1646 1719 \begin{enumerate}
1647 1720 \itemsep1pt\parskip0pt\parsep0pt
1648   -\item
1649   - {UserX is at any view on the application.}
1650 1721 \item
1651 1722 {UserX shall click the down arrow on the top left
1652 1723 of the screen that's on the left of the navigation bar.}
... ... @@ -1655,9 +1726,9 @@
1655 1726 {The System shall display the Feed view of TEST 101 to UserX.}
1656 1727 \end{enumerate}
1657 1728  
1658   -\item[Expected Result:]{UserX should be able to see
1659   -the Feed view for the selected class TEST 101. The top left
1660   -of the screen shall display TEST 101 to indicate the class.}
  1729 +\item[Expected Result:]{UserX should be able to see the card ``Feed me''
  1730 +created by UserY for TEST 101. The top left of the screen shall display
  1731 +TEST 101 to indicate the class.}
1661 1732 \end{description}
1662 1733 \newpage
1663 1734  
... ... @@ -1715,7 +1786,7 @@
1715 1786 \begin{enumerate}
1716 1787 \itemsep1pt\parskip0pt\parsep0pt
1717 1788 \item
1718   - {UserX is at the deck for the class TEST 101.}
  1789 + {UserX shall go to the deck for the class TEST 101.}
1719 1790 \item
1720 1791 {UserX shall hover the cursor over the card
1721 1792 with the text ``This is a bad card''.}
1722 1793  
... ... @@ -1729,14 +1800,14 @@
1729 1800  
1730 1801 \item[Expected Result:] {The flashcard with the
1731 1802 text ``This is a bad card'' will no longer have a checkmark
1732   -on top right of the flashcard. After UserX refresh the page,
  1803 +on top right of the flashcard. After UserX refreshes the page,
1733 1804 the flashcard will be removed from the deck.}
1734 1805  
1735 1806 \item[Alternate Workflow:]
1736 1807 \begin{enumerate}
1737 1808 \itemsep1pt\parskip0pt\parsep0pt
1738 1809 \item
1739   - {UserX is at the live feed screen for the class.}
  1810 + {UserX goes to the live feed screen for the class.}
1740 1811 \item
1741 1812 {UserX shall hover the cursor over the card
1742 1813 with the text ``This is a bad card too''.}
1743 1814  
1744 1815  
1745 1816  
... ... @@ -1784,14 +1855,15 @@
1784 1855 \item
1785 1856 {User is logged in as UserX.}
1786 1857 \item
  1858 + {UserX has added the class TEST 101.}
  1859 +\item
1787 1860 {UserX has created a flashcard with the text
1788   -``I made this''.}
  1861 +``I made this'' for class TEST 101.}
1789 1862 \item
1790 1863 {UserY has created a flashcard with the text
1791   -``Someone else made this''.}
1792   -\item UserX has pulled the flashcard with the text ``Someone else made this''.
  1864 +``Someone else made this'' for TEST 101.}
1793 1865 \item
1794   - {UserX has added the class TEST 101.}
  1866 + {UserX has pulled the flashcard with the text ``Someone else made this''.}
1795 1867 \item
1796 1868 {UserX is at the live feed of TEST 101.}
1797 1869 \end{itemize}
... ... @@ -1836,7 +1908,7 @@
1836 1908  
1837 1909 \item[User Goals]{The User shall be able to study all flashcards in their deck from the appropriate classes.}
1838 1910  
1839   -\item[Dependency Use Cases]{[A1] User Registration, [F2] User Login,
  1911 +\item[Dependency Use Cases]{[A1] User Registration, [A2] User Login,
1840 1912 [A3] Add a Class, [F1]Push Flashcard, [F3] Pull Flashcards}
1841 1913  
1842 1914 \item[Priority Level]{``Must''}
... ... @@ -1870,7 +1942,7 @@
1870 1942 \begin{itemize}
1871 1943 \itemsep1pt\parskip0pt\parsep0pt
1872 1944 \item
1873   - {UserX has studied cards in their deck.}
  1945 + {UserX has studied the cards in their deck.}
1874 1946 \end{itemize}
1875 1947  
1876 1948 \item[Trigger:]{UserX wishes to study flashcards compiled for a specific class.}
... ... @@ -1882,7 +1954,7 @@
1882 1954 {UserX shall click on ``Study'' (magnifying glass in a square) in
1883 1955 the top navigation bar.}
1884 1956 \item
1885   - {UserX shall choose to study for TEST 101.}
  1957 + {UserX shall choose to study for TEST 101 by clicking on TEST 101.}
1886 1958 \item
1887 1959 {UserX shall click ``Fetch!''}
1888 1960 \item
... ... @@ -1904,8 +1976,7 @@
1904 1976 {UserX shall click ``Next'' after reviewing the card.}
1905 1977 \end{enumerate}
1906 1978  
1907   -\item[Expected Result:] {The System shall once again present UserX with
1908   -``Hello, I am a \rule{1.5cm}{0.15mm} and I was added first''.}
  1979 +\item[Expected Result:] {The System shall present the User with more cards based on spaced repetition algorithm.}
1909 1980  
1910 1981 \item[Alternate Workflow:]
1911 1982 \begin{enumerate}