Commit 6b54e788 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_user_tutorial] renderJS gadget is used to create event

parent 0ea27f70
...@@ -172,9 +172,14 @@ ...@@ -172,9 +172,14 @@
<td>//select[@name="field_your_destination"]</td> <td>//select[@name="field_your_destination"]</td>
<td>functional_test_username</td> <td>functional_test_username</td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-editable="field_your_text_content"]//textarea</td>
<td></td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//textarea[@name="field_your_text_content"]</td> <td>//div[@data-gadget-editable="field_your_text_content"]//textarea</td>
<td>Annoucing the developer hiring campaign and describing the progression of SlapOS Project.</td> <td>Annoucing the developer hiring campaign and describing the progression of SlapOS Project.</td>
</tr> </tr>
<tr> <tr>
...@@ -245,9 +250,14 @@ ...@@ -245,9 +250,14 @@
<test> <test>
<table class="test" style="display: none;"> <table class="test" style="display: none;">
<tbody> <tbody>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-editable="field_my_text_content"]//textarea</td>
<td></td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//textarea[@name="field_my_text_content"]</td> <td>//div[@data-gadget-editable="field_my_text_content"]//textarea</td>
<td>Annoucing the developer hiring campaign and describing the progression of SlapOS Project.</td> <td>Annoucing the developer hiring campaign and describing the progression of SlapOS Project.</td>
</tr> </tr>
<tr> <tr>
...@@ -295,7 +305,7 @@ ...@@ -295,7 +305,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>waitForTextPresent</td>
<td>Annoucing the developer hiring campaign and describing the progression of SlapOS Project.</td> <td>Annoucing the developer hiring campaign and describing the progression of SlapOS Project.</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -297,9 +297,14 @@ ...@@ -297,9 +297,14 @@
<test> <test>
<table class="test" style="display: none;"> <table class="test" style="display: none;">
<tbody> <tbody>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-editable="field_my_text_content"]//textarea</td>
<td></td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//textarea[@name="field_my_text_content"]</td> <td>//div[@data-gadget-editable="field_my_text_content"]//textarea</td>
<td>ZUITE-TEST-EVENT-CONTENT this is the content of our event.</td> <td>ZUITE-TEST-EVENT-CONTENT this is the content of our event.</td>
</tr> </tr>
<tr> <tr>
...@@ -715,9 +720,14 @@ We will ask our team member “Yingjie XU” to take care of this Event. ...@@ -715,9 +720,14 @@ We will ask our team member “Yingjie XU” to take care of this Event.
<test> <test>
<table class="test" style="display: none;"> <table class="test" style="display: none;">
<tbody> <tbody>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-editable="field_your_response_event_text_content"]//textarea</td>
<td></td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//textarea[@name="field_your_response_event_text_content"]</td> <td>//div[@data-gadget-editable="field_your_response_event_text_content"]//textarea</td>
<td>Some response</td> <td>Some response</td>
</tr> </tr>
<tr style="opacity: 1; z-index: 0;"> <tr style="opacity: 1; z-index: 0;">
......
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