Commit 71fe3317 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio_ui_test: Update test for Servers (Minor Fixes)

parent 461a2695
......@@ -209,7 +209,7 @@
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>waitForElementPresent</td>
<td>//p[text()="TEST-SLAPOSJS-COMPUTER 0"]</td>
<td></td>
</tr>
......@@ -239,6 +239,21 @@
<td>//a[text()="TEST-SLAPOSJS-COMPUTER 0"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td>5000</td>
</tr>
<tr>
<td>click</td>
<td>//th/a[text()="Software Release"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[text()="Frontend (0.1)"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[text()="Frontend (0.1)"]</td>
......@@ -275,6 +290,12 @@
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n="Proceed"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and text()="You sucessfully request destruction."]</td>
......@@ -318,6 +339,12 @@
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n="Proceed"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and text()="This computer already has one certificate, please revoke it before request a new one.."]</td>
......@@ -353,7 +380,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Revoke Compute Certificate"]</td>
<td>//a[@data-i18n="Revoke Computer Certificate"]</td>
<td></td>
</tr>
<tr>
......@@ -362,6 +389,12 @@
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n="Proceed"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and text()="Certificate is Revoked."]</td>
......@@ -395,6 +428,12 @@
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n="Proceed"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and text()="Certificate is Requested."]</td>
......@@ -468,6 +507,16 @@
<td>//h1[@data-i18n='Servers']</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td>5000</td>
</tr>
<tr>
<td>click</td>
<td>//th/a[text()="Title"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n="No records"]</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