Commit d8d2bea5 authored by Paul Graydon's avatar Paul Graydon

erp5_wendelin_tutorial_ui_test: Extend notebook script tests

parent f9cc4164
......@@ -648,7 +648,32 @@ plot();
<td>//div[@id="plot_div"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="plot_div"]//*[text()='Nov 1']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="plot_div"]//*[text()='2020']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="plot_div"]//*[text()='Dec 27']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="plot_div"]//*[text()='0']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="plot_div"]//*[text()='1000']</td>
<td></td>
</tr>
</tbody>
</table>
</test>
</section>
\ No newline at end of file
</section>
......@@ -2451,7 +2451,37 @@ function getPredictionData(start_date, stop_date){
<td>//div[@id="prediction_plot_div"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="prediction_plot_div"]//*[text()='Nov 1']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="prediction_plot_div"]//*[text()='2020']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="prediction_plot_div"]//*[text()='Jan 3']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="prediction_plot_div"]//*[text()='2021']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="prediction_plot_div"]//*[text()='920']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@id="prediction_plot_div"]//*[text()='980']</td>
<td></td>
</tr>
</tbody>
</table>
</test>
</section>
\ No newline at end of file
</section>
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