Commit 88953561 authored by Alec Wang's avatar Alec Wang

added new functional test user story that allows them to create and update in...

added new functional test user story that allows them to create and update in the relevant pages of each model. Also updated froyo html templates to fit this new user story
parent 41fbdf95
......@@ -35,10 +35,10 @@
</tr>
<tr>
<td>
<div contenteditable></div>
<div contenteditable name="ingredient"></div>
</td>
<td>
<div contenteditable></div>
<div contenteditable name="qty"></div>
</td>
<td>
<button><a href="">create</a></button>
......
......@@ -35,10 +35,13 @@
</tr>
<tr>
<td>
<div contenteditable>Coconuts</div>
<div contenteditable name="ingredient">Coconuts</div>
</td>
<td>
<div contenteditable>12</div>
<div contenteditable name="qty">12</div>
</td>
<td>
<button><a href=#>update</a></button>
</td>
</tr>
</table>
......
......@@ -33,26 +33,25 @@
<tr>
<td>Customer</td>
<td>
<div contenteditable></div>
<div contenteditable name="customer"></div>
</td>
</tr>
<tr>
<td>Size</td>
<td>
<div contenteditable></div>
<div contenteditable name="size"></div>
</td>
</tr>
<tr>
<td>Base Recipe</td>
<td>
<div contenteditable></div>
<div contenteditable name="base-recipe"></div>
</td>
</tr>
<tr>
<td>Customization</td>
<td>
<div contenteditable></div><br>
<div contenteditable></div>
<div contenteditable name="customization"></div>
</td>
<td>
<button><a href="">create</a></button>
......
......@@ -33,26 +33,28 @@
<tr>
<td>Customer</td>
<td>
<div contenteditable>Krystel</div>
<div contenteditable name="customer">Krystel</div>
</td>
</tr>
<tr>
<td>Size</td>
<td>
<div contenteditable>Venti (20 oz)</div>
<div contenteditable name="size">Venti (20 oz)</div>
</td>
</tr>
<tr>
<td>Base Recipe</td>
<td>
<div contenteditable>Dark Muffin</div>
<div contenteditable name="base-recipe">Dark Muffin</div>
</td>
</tr>
<tr>
<td>Customization</td>
<td>
<div contenteditable>3 extra slice of bacon</div><br>
<div contenteditable>8 sprinkles of yellow salt</div>
<div contenteditable name="customization">3 extra slice of bacon<br>8 sprinkles of yellow salt</div>
</td>
<td>
<button><a href="">update</a></button>
</td>
</tr>
</table>
......
......@@ -34,26 +34,26 @@
<tr>
<td>
<div contenteditable>Strawberries</div>
<div contenteditable name="ingredient"></div>
</td>
<td>
<div contenteditable>4</div>
<div contenteditable name="qty"></div>
</td>
</tr>
<tr>
<td>
<div contenteditable>Bat Wings</div>
<div contenteditable name="ingredient"></div>
</td>
<td>
<div contenteditable>6</div>
<div contenteditable name="qty"></div>
</td>
</tr>
<tr>
<td>
<div contenteditable>Peanuts</div>
<div contenteditable name="ingredient"></div>
</td>
<td>
<div contenteditable>3</div>
<div contenteditable name="qty"></div>
</td>
<td>
<button><a href="">create</a></button>
......
......@@ -27,31 +27,36 @@
</header>
<table style="width:40%">
<tr>
<th colspan="2">Recipe: Black Muffin Light</th>
<th colspan="2">
<div contenteditable>Recipe: </div>
</th>
</tr>
<tr>
<td>
<div contenteditable>Strawberries</div>
<div contenteditable name="ingredient">Strawberries</div>
</td>
<td>
<div contenteditable>4</div>
<div contenteditable name="qty">4</div>
</td>
</tr>
<tr>
<td>
<div contenteditable>Bat Wings</div>
<div contenteditable name="ingredient">Bat Wings</div>
</td>
<td>
<div contenteditable>6</div>
<div contenteditable name="qty">6</div>
</td>
</tr>
<tr>
<td>
<div contenteditable>Peanuts</div>
<div contenteditable name="ingredient">Peanuts</div>
</td>
<td>
<div contenteditable>3</div>
<div contenteditable name="qty">3</div>
</td>
<td>
<button><a href="">update</a></button>
</td>
</tr>
</table>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment