Commit 3fe77cc7 by Matevz Golob

Try different test order

1 parent 2115aeb3
......@@ -348,6 +348,45 @@
<td>Published Alive</td>
<td></td>
</tr>
<!-- Add Text for html gadget -->
<tr>
<td>clickAndWait</td>
<td>//*[@id="master"]/div/div[1]/ul/li[2]/a</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//*[@id="master"]/div/div[2]/fieldset[2]/div/div/div/textarea</td>
<td tal:content="python: '%s' % ('''&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv='Content-type' content='text/html; charset=utf-8' /&gt;
&lt;meta name='viewport' content='width=device-width, user-scalable=no' /&gt;
&lt;title&gt;PyData Graph&lt;/title&gt;
&lt;script src='rsvp.js' type='text/javascript'&gt;&lt;/script&gt;
&lt;script src='renderjs.js' type='text/javascript'&gt;&lt;/script&gt;
&lt;script src='gadget_global.js' type='text/javascript'&gt;&lt;/script&gt;
&lt;script src='gadget_erp5_page_pydata.js' type='text/javascript'&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;''')"> </td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//button[@name="Base_edit:method" and @title="Save"]</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Data updated.</td>
<td></td>
</tr>
<!-- end -->
<tr>
<td>open</td>
<td>${base_url}</td>
......@@ -438,6 +477,59 @@
<td>Published Alive</td>
<td></td>
</tr>
<!-- Add text for js gadget -->
<tr>
<td>clickAndWait</td>
<td>//*[@id="master"]/div/div[1]/ul/li[2]/a</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//*[@id="master"]/div/div[2]/fieldset[2]/div/div/div/textarea</td>
<td>/*global window, rJS, RSVP, URI */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP, URI) {
"use strict";
rJS(window)
// Init local properties
.ready(function (g) {
g.props = {};
})
// Assign the element to a variable
.ready(function (g) {
return g.getElement()
.push(function (element) {
g.props.element = element;
});
})
// Acquired methods
.declareAcquiredMethod("updateHeader", "updateHeader")
// declared methods
.declareMethod("render", function () {
var gadget = this;
return gadget.updateHeader({
page_title: 'PyData'
})
});
}(window, rJS, RSVP, URI));</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//button[@name="Base_edit:method" and @title="Save"]</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Data updated.</td>
<td></td>
</tr>
<!-- end -->
<tr>
<td>open</td>
<td>${base_url}</td>
......@@ -468,7 +560,7 @@
<td>//*[@name="form_id" and @value="WebPage_view"]</td>
<td></td>
</tr>
<tr>
<!-- <tr>
<td>clickAndWait</td>
<td>//*[@id="master"]/div/div[1]/ul/li[2]/a</td>
<td></td>
......@@ -504,8 +596,8 @@
<td>verifyTextPresent</td>
<td>Data updated.</td>
<td></td>
</tr>
<tr>
</tr> -->
<!-- <tr>
<td>open</td>
<td>${base_url}</td>
<td></td>
......@@ -585,7 +677,7 @@
<td>assertTextPresent</td>
<td>Data updated.</td>
<td></td>
</tr>
</tr> -->
<tr>
<td>open</td>
<td>${base_url}/web_site_module/pydata_runner/</td>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!