]> source.dussan.org Git - sonarqube.git/commitdiff
More stable Selenium EventTest
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 24 Mar 2016 14:34:20 +0000 (15:34 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 24 Mar 2016 14:34:20 +0000 (15:34 +0100)
it/it-tests/src/test/resources/projectEvent/EventTest/create_event_with_special_character.html
it/it-tests/src/test/resources/projectEvent/EventTest/no_events_widget_on_dir.html

index 2710cdb808edb0d01cb9423bad32bb214908b400..8df480d22a7aa024ff5787417f00f3e7354dd2ff 100644 (file)
        <td>/project/history?id=sample</td>
        <td></td>
 </tr>
+  <tr>
+         <td>waitForElementPresent</td>
+         <td>link=Create</td>
+         <td></td>
+  </tr>
 <tr>
        <td>click</td>
        <td>link=Create</td>
index 07405d7be96d5fdf7aa10c2948719907ed8dbdf4..86cfc862d096016eef8c52d1406ed1e64635c320 100644 (file)
@@ -19,7 +19,7 @@
        <td></td>
 </tr>
 <tr>
-       <td>assertElementPresent</td>
+       <td>waitForElementPresent</td>
        <td>css=tr.event</td>
        <td></td>
 </tr>
@@ -29,7 +29,7 @@
        <td></td>
 </tr>
 <tr>
-       <td>assertElementNotPresent</td>
+       <td>waitForElementNotPresent</td>
        <td>css=tr.event</td>
        <td></td>
 </tr>