Commit c90a034f authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner_ui_test: clean up

parent 700fa1ee
......@@ -154,16 +154,6 @@
<td>selenium.browserbot.getCurrentWindow().document.querySelector("video").readyState == 4</td>
<td>30000</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@class="photoInput"]</td>
<td></td>
</tr>
<tr>
<td>assertValue</td>
<td>//input[@class="photoInput"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@class="take-picture-btn ui-btn-icon-left ui-icon-circle"]</td>
......@@ -184,26 +174,11 @@
<td>selenium.browserbot.getCurrentWindow().document.querySelector(".confirm-btn").style.display == "none"</td>
<td>30000</td>
</tr>
<tr>
<td>waitForCondition</td>
<td>selenium.browserbot.getCurrentWindow().document.querySelector(".photoInput").value == ""</td>
<td>30000</td>
</tr>
<tr>
<td>assertValue</td>
<td>//input[@class="photoInput"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@class="take-picture-btn ui-btn-icon-left ui-icon-circle"]</td>
<td></td>
</tr>
<tr>
<td>waitForCondition</td>
<td>selenium.browserbot.getCurrentWindow().document.querySelector(".photoInput").value != ""</td>
<td>30000</td>
</tr>
<tr>
<td>waitForCondition</td>
<td>selenium.browserbot.getCurrentWindow().document.querySelector(".confirm-btn").style.display != "none"</td>
......@@ -214,11 +189,6 @@
<td>//button[@class="confirm-btn ui-btn-icon-left ui-icon-check"]</td>
<td></td>
</tr>
<tr>
<td>waitForCondition</td>
<td>selenium.browserbot.getCurrentWindow().document.querySelector(".photoInput").value == ""</td>
<td>30000</td>
</tr>
<tr>
<td>waitForCondition</td>
<td>selenium.browserbot.getCurrentWindow().document.querySelector(".page-number").innerText == "2"</td>
......
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