Commit d8d2bea5 authored by Paul Graydon's avatar Paul Graydon

erp5_wendelin_tutorial_ui_test: Extend notebook script tests

parent f9cc4164
Pipeline #33932 passed with stage
in 0 seconds
...@@ -648,6 +648,31 @@ plot(); ...@@ -648,6 +648,31 @@ plot();
<td>//div[@id="plot_div"]</td> <td>//div[@id="plot_div"]</td>
<td></td> <td></td>
</tr> </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> </tbody>
</table> </table>
</test> </test>
......
...@@ -2451,6 +2451,36 @@ function getPredictionData(start_date, stop_date){ ...@@ -2451,6 +2451,36 @@ function getPredictionData(start_date, stop_date){
<td>//div[@id="prediction_plot_div"]</td> <td>//div[@id="prediction_plot_div"]</td>
<td></td> <td></td>
</tr> </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> </tbody>
</table> </table>
</test> </test>
......
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