Skip to content

Commit

Permalink
Completed rough draft of changes_description.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-neizer committed Nov 20, 2020
1 parent 1eb84fd commit 2661d85
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions qa327_test/changes_description.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,26 @@ The template files provided had to be altered to conduct front-end unit testing.

<tr>
<td>base.html</td>
<td></td>
<td>Allows templates to flash error messages for invalid formatting, wrong password and user combinations, and other requirements.</td>
<td>Added a html flash template that allows messages from different pages to flash said message to the current page. All pages automatically inherit this template to allow them to receive a flashed messaged.</td>
<td>Allows templates to flash error messages for invalid formatting, wrong password and user combinations, and other requirements in a simple and clean manner.</td>
</tr>

<tr>
<td>index.html</td>
<td></td>
<td></td>
<td>Added in fields for tickets, Selling tickets, Updating tickets and buy tickets</td>
<td>Provides a template for all tickets to be seen, purchased, updated and sold by the user on the main page.</td>
</tr>

<tr>
<td>login.html</td>
<td></td>
<td></td>
<td>Changed line 5 to have an id of 'login_message' and have a static message of "Please Login". </td>
<td>Since we changed all messaging between pages to use the flash function from the flask library, we decided to leave the login message static. Therefore, the error messages are flashed to the html elements that are inherited from base.html, rather than to the 'login_message' id. Also, the id name was changed to differentiate it from the other message ids that typically display error messages.</td>
</tr>

<tr>
<td>register.html</td>
<td></td>
<td></td>
<td>Removed required attributes from the the input fields</td>
<td>The required attributes conflicted with the R2 requirements testing. In particular, it made it difficult to check if our frontend.py file would error check an empty string inputs as the required field would not let an empty field be submitted. Therefore, they were removed to validate our error checking.</td>
</tr>

<tr>
<td>backend.py</td>
<td></td>
<td></td>
</tr>

<tr>
<td>frontend.py</td>
<td></td>
<td></td>
</tr>

</tbody>
</table>

0 comments on commit 2661d85

Please sign in to comment.