Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Klaus Wölfel
wendelin
Commits
a91bcbf1
Commit
a91bcbf1
authored
Jan 20, 2021
by
Eteri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_wendelin_tutorial_ui_test: fix tests
parent
f3e32441
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
383 additions
and
173 deletions
+383
-173
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/IngestionPolicy_getIngestionOperationAndParameterDict.py
.../IngestionPolicy_getIngestionOperationAndParameterDict.py
+1
-0
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/portal_skins/erp5_wendelin_data_lake/Ingestion_ingestDataStream.py
...ins/erp5_wendelin_data_lake/Ingestion_ingestDataStream.py
+3
-0
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_01_wendelin_Tutorial_Howto_Create_Data_Product.html
.../test_01_wendelin_Tutorial_Howto_Create_Data_Product.html
+4
-12
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_02_wendelin_Tutorial_Howto_Create_Data_Acquisition.html
...t_02_wendelin_Tutorial_Howto_Create_Data_Acquisition.html
+9
-17
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_03_wendelin_Tutorial_Howto_Create_Data_Supply.html
...e/test_03_wendelin_Tutorial_Howto_Create_Data_Supply.html
+37
-31
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_04_wendelin_Tutorial_Check_Data_Arrival.html
..._module/test_04_wendelin_Tutorial_Check_Data_Arrival.html
+17
-10
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_05_wendelin_Tutorial_Transform_Data.html
...page_module/test_05_wendelin_Tutorial_Transform_Data.html
+118
-35
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_06_wendelin_Tutorial_Resample_Data.html
..._page_module/test_06_wendelin_Tutorial_Resample_Data.html
+39
-41
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_07_wendelin_HowTo_Create_Notebook_with_Graphs.html
...e/test_07_wendelin_HowTo_Create_Notebook_with_Graphs.html
+2
-2
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_08_wendelin_HowTo_Create_Basic_Prediction_with_scikit_learn.html
...elin_HowTo_Create_Basic_Prediction_with_scikit_learn.html
+24
-24
bt5/erp5_wendelin_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_wendelin_tutorial_ui_test.xml
...plateItem/portal_skins/erp5_wendelin_tutorial_ui_test.xml
+47
-0
bt5/erp5_wendelin_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_wendelin_tutorial_ui_test/Zuite_updateUserPreferenceForTutorialTests.py
...ial_ui_test/Zuite_updateUserPreferenceForTutorialTests.py
+9
-0
bt5/erp5_wendelin_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_wendelin_tutorial_ui_test/Zuite_updateUserPreferenceForTutorialTests.xml
...al_ui_test/Zuite_updateUserPreferenceForTutorialTests.xml
+70
-0
bt5/erp5_wendelin_tutorial_ui_test/bt/dependency_list
bt5/erp5_wendelin_tutorial_ui_test/bt/dependency_list
+2
-1
bt5/erp5_wendelin_tutorial_ui_test/bt/template_skin_id_list
bt5/erp5_wendelin_tutorial_ui_test/bt/template_skin_id_list
+1
-0
No files found.
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/IngestionPolicy_getIngestionOperationAndParameterDict.py
View file @
a91bcbf1
...
@@ -114,6 +114,7 @@ if modify and data_ingestion is None:
...
@@ -114,6 +114,7 @@ if modify and data_ingestion is None:
data_ingestion_reference
,
data_ingestion_reference
,
data_ingestion_id
)
data_ingestion_id
)
# find ingestion line for current resource
# find ingestion line for current resource
for
line
in
data_ingestion
.
objectValues
(
portal_type
=
"Data Ingestion Line"
):
for
line
in
data_ingestion
.
objectValues
(
portal_type
=
"Data Ingestion Line"
):
if
line
.
getResourceReference
()
==
resource_reference
:
if
line
.
getResourceReference
()
==
resource_reference
:
...
...
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/portal_skins/erp5_wendelin_data_lake/Ingestion_ingestDataStream.py
View file @
a91bcbf1
...
@@ -5,6 +5,9 @@ request = portal.REQUEST
...
@@ -5,6 +5,9 @@ request = portal.REQUEST
index
=
reference
.
index
(
'-'
)
index
=
reference
.
index
(
'-'
)
stream_reference
=
reference
stream_reference
=
reference
ingestion_reference
=
reference
[:
index
]
+
'.'
+
reference
[
index
+
1
:
len
(
reference
)]
ingestion_reference
=
reference
[:
index
]
+
'.'
+
reference
[
index
+
1
:
len
(
reference
)]
context
.
log
(
"stream_reference = "
,
stream_reference
)
context
.
log
(
"ingestion_reference = "
,
ingestion_reference
)
context
.
log
(
"index = "
,
index
)
request
.
environ
[
'REQUEST_METHOD'
]
=
'POST'
request
.
environ
[
'REQUEST_METHOD'
]
=
'POST'
request
.
set
(
'reference'
,
ingestion_reference
)
request
.
set
(
'reference'
,
ingestion_reference
)
...
...
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_01_wendelin_Tutorial_Howto_Create_Data_Product.html
View file @
a91bcbf1
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
<test>
<test>
<table
style=
"display: none;"
class=
"test"
>
<table
style=
"display: none;"
class=
"test"
>
<tbody>
<tbody>
<tr>
<td
colspan=
"3"
>
<
span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"
>
init
<
/span
>
</td>
</tr>
<tr>
<tr>
<td>
store
</td>
<td>
store
</td>
<td
tal:content=
"python:here.getPortalObject().absolute_url()"
>
http://example.com/erp5
</td>
<td
tal:content=
"python:here.getPortalObject().absolute_url()"
>
http://example.com/erp5
</td>
...
@@ -166,17 +163,12 @@
...
@@ -166,17 +163,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@type="submit" and @data-i18n="Proceed"]
</td>
<td>
//input[@type="submit" and @value="Create Document"]
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
3000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -243,12 +235,12 @@
...
@@ -243,12 +235,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
...
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_02_wendelin_Tutorial_Howto_Create_Data_Acquisition.html
View file @
a91bcbf1
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
<test>
<test>
<table
style=
"display: none;"
class=
"test"
>
<table
style=
"display: none;"
class=
"test"
>
<tbody>
<tbody>
<tr>
<td
colspan=
"3"
>
<
span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"
>
init
<
/span
>
</td>
</tr>
<tr>
<tr>
<td>
store
</td>
<td>
store
</td>
<td
tal:content=
"python:here.getPortalObject().absolute_url()"
>
http://example.com/erp5
</td>
<td
tal:content=
"python:here.getPortalObject().absolute_url()"
>
http://example.com/erp5
</td>
...
@@ -146,11 +143,6 @@
...
@@ -146,11 +143,6 @@
<td>
//a[contains(@href,'page=front')]
</td>
<td>
//a[contains(@href,'page=front')]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
pause
</td>
<td>
3000
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[contains(@href,'data_acquisition_unit_module')]
</td>
<td>
//a[contains(@href,'data_acquisition_unit_module')]
</td>
...
@@ -173,17 +165,12 @@
...
@@ -173,17 +165,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@type="submit" and @data-i18n="Proceed"]
</td>
<td>
//input[@type="submit" and @value="Create Document"]
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
3000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -230,12 +217,17 @@
...
@@ -230,12 +217,17 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@type="submit" and @data-i18n="Proceed"]
</td>
<td>
//input[@type="submit" and @value="Validate"]
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
3000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
...
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_03_wendelin_Tutorial_Howto_Create_Data_Supply.html
View file @
a91bcbf1
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
<test>
<test>
<table
style=
"display: none;"
class=
"test"
>
<table
style=
"display: none;"
class=
"test"
>
<tbody>
<tbody>
<tr>
<td
colspan=
"3"
>
<
span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"
>
init
<
/span
>
</td>
</tr>
<tr>
<tr>
<td>
store
</td>
<td>
store
</td>
<td
tal:content=
"python:here.getPortalObject().absolute_url()"
>
http://example.com/erp5
</td>
<td
tal:content=
"python:here.getPortalObject().absolute_url()"
>
http://example.com/erp5
</td>
...
@@ -136,7 +133,7 @@
...
@@ -136,7 +133,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -146,7 +143,7 @@
...
@@ -146,7 +143,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
</tbody>
</tbody>
...
@@ -328,12 +325,12 @@
...
@@ -328,12 +325,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -358,12 +355,12 @@
...
@@ -358,12 +355,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//li[
contains(@data-relative-url,'organisation_module/')
]
</td>
<td>
//li[
@name='Organisation'
]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//li[
contains(@data-relative-url,'organisation_module/')
]
</td>
<td>
//li[
@name='Organisation'
]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -501,17 +498,12 @@
...
@@ -501,17 +498,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@name="submit"]
</td>
<td>
//input[@type="submit" and @value="Create Document"]
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@name="submi
t"]
</td>
<td>
//
input[@type="submit" and @value="Create Documen
t"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -590,9 +582,9 @@
...
@@ -590,9 +582,9 @@
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
pause
</td>
<td>
5000
</td>
<td>
5000
</td>
<td></td>
<td></td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
@@ -681,17 +673,17 @@
...
@@ -681,17 +673,17 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@name="submit"]
</td>
<td>
//input[@type="submit" and @value="Create Document"]
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@name="submi
t"]
</td>
<td>
//
input[@type="submit" and @value="Create Documen
t"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -740,10 +732,10 @@
...
@@ -740,10 +732,10 @@
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
pause
</td>
<td>
5000
</td>
<td>
5000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@type="submit" and @class="success"]
</td>
<td>
//button[@type="submit" and @class="success"]
</td>
...
@@ -769,12 +761,26 @@
...
@@ -769,12 +761,26 @@
<td>
//input[@value="out_stream"]
</td>
<td>
//input[@value="out_stream"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url_x}/portal_skins/erp5_wendelin_data_lake/Ingestion_ingestDataStream?reference=sensor_1-sample-environment-raw-data
</td>
<td>
${base_url_x}/portal_skins/erp5_wendelin_data_lake/Ingestion_ingestDataStream?reference=sensor_1-sample-environment-raw-data
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Data ingested
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
pause
</td>
<td>
60000
</td>
<td>
60000
</td>
...
...
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_04_wendelin_Tutorial_Check_Data_Arrival.html
View file @
a91bcbf1
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
<test>
<test>
<table
style=
"display: none;"
class=
"test"
>
<table
style=
"display: none;"
class=
"test"
>
<tbody>
<tbody>
<tr>
<td
colspan=
"3"
>
<
span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"
>
init
<
/span
>
</td>
</tr>
<tr>
<tr>
<td>
store
</td>
<td>
store
</td>
<td
tal:content=
"python:here.getPortalObject().absolute_url()"
>
http://example.com/erp5
</td>
<td
tal:content=
"python:here.getPortalObject().absolute_url()"
>
http://example.com/erp5
</td>
...
@@ -86,12 +83,12 @@
...
@@ -86,12 +83,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
div[@data-gadget-scope="field_listbox_storage"]//div//div//div[@class='document_table']//table//tbody//tr[1
]
</td>
<td>
//
a[text()='sensor_1-sample-environment-raw-data'
]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
verifyElementPresent
</td>
<td>
verifyElementPresent
</td>
<td>
//
div[@data-gadget-scope="field_listbox_storage"]//div//div//div[@class='document_table']//table//tbody//tr[1
]
</td>
<td>
//
a[text()='sensor_1-sample-environment-raw-data'
]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -101,17 +98,22 @@
...
@@ -101,17 +98,22 @@
</tr>
</tr>
<tr>
<tr>
<td>
verifyElementPresent
</td>
<td>
verifyElementPresent
</td>
<td>
//
div[@data-gadget-scope="field_listbox_movement"]//div//div//div[@class='document_table']//table//tbody//tr[1
]
</td>
<td>
//
a[text()='sensor_1'
]
</td>
<td></td>
<td></td>
</tr
>
</tr
<tr
>
<tr
>
<td>
click
</td>
<td>
click
</td>
<td>
//
div[@data-gadget-scope="field_listbox_storage"]//div//div//div[@class='document_table']//table//tbody//tr[1]//td[1]//a
</td>
<td>
//
a[text()='sensor_1-sample-environment-raw-data']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
pause
</td>
<td>
//input[@id="field_my_title"]
</td>
<td>
5000
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Total size (bytes)
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -119,6 +121,11 @@
...
@@ -119,6 +121,11 @@
<td>
Validated
</td>
<td>
Validated
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
26205759
</td>
<td></td>
</tr>
</tbody>
</tbody>
</table>
</table>
</test>
</test>
...
...
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_05_wendelin_Tutorial_Transform_Data.html
View file @
a91bcbf1
This diff is collapsed.
Click to expand it.
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_06_wendelin_Tutorial_Resample_Data.html
View file @
a91bcbf1
This diff is collapsed.
Click to expand it.
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_07_wendelin_HowTo_Create_Notebook_with_Graphs.html
View file @
a91bcbf1
...
@@ -375,7 +375,7 @@ plot();</code>
...
@@ -375,7 +375,7 @@ plot();</code>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -385,7 +385,7 @@ plot();</code>
...
@@ -385,7 +385,7 @@ plot();</code>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
...
...
bt5/erp5_wendelin_tutorial_ui_test/PathTemplateItem/test_page_module/test_08_wendelin_HowTo_Create_Basic_Prediction_with_scikit_learn.html
View file @
a91bcbf1
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -166,7 +166,7 @@
...
@@ -166,7 +166,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -227,12 +227,12 @@
...
@@ -227,12 +227,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -291,12 +291,12 @@
...
@@ -291,12 +291,12 @@
<tbody>
<tbody>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[
contains(@href,'page=front')
]
</td>
<td>
//a[
@accesskey='m'
]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[
contains(@href,'page=front')
]
</td>
<td>
//a[
@accesskey='m'
]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -321,7 +321,7 @@
...
@@ -321,7 +321,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -331,7 +331,7 @@
...
@@ -331,7 +331,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -392,12 +392,12 @@
...
@@ -392,12 +392,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -568,12 +568,12 @@ else:
...
@@ -568,12 +568,12 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -791,7 +791,7 @@ else:
...
@@ -791,7 +791,7 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -801,7 +801,7 @@ else:
...
@@ -801,7 +801,7 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -950,7 +950,7 @@ else:
...
@@ -950,7 +950,7 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -960,7 +960,7 @@ else:
...
@@ -960,7 +960,7 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -1160,7 +1160,7 @@ else:
...
@@ -1160,7 +1160,7 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1170,7 +1170,7 @@ else:
...
@@ -1170,7 +1170,7 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -1364,7 +1364,7 @@ else:
...
@@ -1364,7 +1364,7 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1374,7 +1374,7 @@ else:
...
@@ -1374,7 +1374,7 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -1545,12 +1545,12 @@ else:
...
@@ -1545,12 +1545,12 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Validate
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1812,7 +1812,7 @@ else:
...
@@ -1812,7 +1812,7 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1822,7 +1822,7 @@ else:
...
@@ -1822,7 +1822,7 @@ else:
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
button[@type="submit" and @data-i18n="Proceed
"]
</td>
<td>
//
input[@type="submit" and @value="Create Document
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
</tbody>
</tbody>
...
...
bt5/erp5_wendelin_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_wendelin_tutorial_ui_test.xml
0 → 100644
View file @
a91bcbf1
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
100.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_wendelin_tutorial_ui_test
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_wendelin_tutorial_ui_test/Zuite_updateUserPreferenceForTutorialTests.py
0 → 100644
View file @
a91bcbf1
preference_tool
=
context
.
getPortalObject
().
portal_preferences
preference
=
preference_tool
.
getActivePreference
()
if
preference
is
not
None
:
# XXX: 3 is Priority.USER
preference
.
setPreferredTextEditor
(
'text_area'
)
preference
.
setPreferredSourceCodeEditor
(
'text_area'
)
return
'Init Ok.'
bt5/erp5_wendelin_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_wendelin_tutorial_ui_test/Zuite_updateUserPreferenceForTutorialTests.xml
0 → 100644
View file @
a91bcbf1
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Zuite_updateUserPreferenceForTutorialTests
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin_tutorial_ui_test/bt/dependency_list
View file @
a91bcbf1
...
@@ -10,4 +10,5 @@ erp5_wendelin_data_lake_ingestion_default_security_model
...
@@ -10,4 +10,5 @@ erp5_wendelin_data_lake_ingestion_default_security_model
erp5_wendelin_configurator
erp5_wendelin_configurator
erp5_user_tutorial_ui_test
erp5_user_tutorial_ui_test
erp5_ui_test_core
erp5_ui_test_core
erp5_web
erp5_web
\ No newline at end of file
erp5_notebook
\ No newline at end of file
bt5/erp5_wendelin_tutorial_ui_test/bt/template_skin_id_list
0 → 100644
View file @
a91bcbf1
erp5_wendelin_tutorial_ui_test
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment