Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
a18203b8
Commit
a18203b8
authored
Apr 22, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5_ui_test: Reintroduce renderjs_oss minimal tests
parent
d85347a9
Pipeline
#34202
failed with stage
in 0 seconds
Changes
23
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
16 additions
and
791 deletions
+16
-791
master/bt5/slapos_erp5_ui_test/PathTemplateItem/portal_tests/renderjs_oss_zuite.xml
...test/PathTemplateItem/portal_tests/renderjs_oss_zuite.xml
+1
-1
master/bt5/slapos_erp5_ui_test/PathTemplateItem/portal_tests/renderjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.xml
...derjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.xml
+0
-0
master/bt5/slapos_erp5_ui_test/PathTemplateItem/portal_tests/renderjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.zpt
...derjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.zpt
+2
-2
master/bt5/slapos_erp5_ui_test/PathTemplateItem/portal_tests/renderjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.xml
...erjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.xml
+0
-0
master/bt5/slapos_erp5_ui_test/PathTemplateItem/portal_tests/renderjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.zpt
...erjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.zpt
+1
-1
master/bt5/slapos_erp5_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.py
...ts/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.py
+1
-1
master/bt5/slapos_erp5_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.xml
...s/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.xml
+0
-0
master/bt5/slapos_erp5_ui_test/bt/dependency_list
master/bt5/slapos_erp5_ui_test/bt/dependency_list
+2
-0
master/bt5/slapos_erp5_ui_test/bt/description
master/bt5/slapos_erp5_ui_test/bt/description
+1
-0
master/bt5/slapos_erp5_ui_test/bt/license
master/bt5/slapos_erp5_ui_test/bt/license
+1
-0
master/bt5/slapos_erp5_ui_test/bt/template_format_version
master/bt5/slapos_erp5_ui_test/bt/template_format_version
+1
-0
master/bt5/slapos_erp5_ui_test/bt/template_path_list
master/bt5/slapos_erp5_ui_test/bt/template_path_list
+2
-0
master/bt5/slapos_erp5_ui_test/bt/template_test_id_list
master/bt5/slapos_erp5_ui_test/bt/template_test_id_list
+1
-0
master/bt5/slapos_erp5_ui_test/bt/title
master/bt5/slapos_erp5_ui_test/bt/title
+1
-0
master/bt5/slapos_erp5_ui_test/bt/version
master/bt5/slapos_erp5_ui_test/bt/version
+1
-0
master/bt5/slapos_jio_ui_test/PathTemplateItem/web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_html.html
...rjs_gadget_slapos_erp5_page_test_service_worker_html.html
+0
-22
master/bt5/slapos_jio_ui_test/PathTemplateItem/web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_html.xml
.../rjs_gadget_slapos_erp5_page_test_service_worker_html.xml
+0
-342
master/bt5/slapos_jio_ui_test/PathTemplateItem/web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_js.js
...ule/rjs_gadget_slapos_erp5_page_test_service_worker_js.js
+0
-73
master/bt5/slapos_jio_ui_test/PathTemplateItem/web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_js.xml
...le/rjs_gadget_slapos_erp5_page_test_service_worker_js.xml
+0
-342
master/bt5/slapos_jio_ui_test/bt/template_keep_last_workflow_history_only_path_list
...est/bt/template_keep_last_workflow_history_only_path_list
+0
-2
master/bt5/slapos_jio_ui_test/bt/template_path_list
master/bt5/slapos_jio_ui_test/bt/template_path_list
+0
-4
master/bt5/slapos_jio_ui_test/bt/template_test_id_list
master/bt5/slapos_jio_ui_test/bt/template_test_id_list
+0
-1
master/tests/__init__.py
master/tests/__init__.py
+1
-0
No files found.
master/bt5/slapos_
jio_ui_test/PathTemplateItem/portal_tests/slapos_
renderjs_oss_zuite.xml
→
master/bt5/slapos_
erp5_ui_test/PathTemplateItem/portal_tests/
renderjs_oss_zuite.xml
View file @
a18203b8
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
slapos_
renderjs_oss_zuite
</string>
</value>
<value>
<string>
renderjs_oss_zuite
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
master/bt5/slapos_
jio_ui_test/PathTemplateItem/portal_tests/slapos_
renderjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.xml
→
master/bt5/slapos_
erp5_ui_test/PathTemplateItem/portal_tests/
renderjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.xml
View file @
a18203b8
File moved
master/bt5/slapos_
jio_ui_test/PathTemplateItem/portal_tests/slapos_
renderjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.zpt
→
master/bt5/slapos_
erp5_ui_test/PathTemplateItem/portal_tests/
renderjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.zpt
View file @
a18203b8
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/wait_for_activities"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/wait_for_activities"
/>
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/${install_url}/#/?page=
test_service_worker
</td>
<td>
${base_url}/web_site_module/${install_url}/#/?page=
service_worker_test
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/wait_for_app_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/wait_for_app_loaded"
/>
...
@@ -80,4 +80,4 @@
...
@@ -80,4 +80,4 @@
</table>
</table>
</body>
</body>
</html>
</html>
\ No newline at end of file
master/bt5/slapos_
jio_ui_test/PathTemplateItem/portal_tests/slapos_
renderjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.xml
→
master/bt5/slapos_
erp5_ui_test/PathTemplateItem/portal_tests/
renderjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.xml
View file @
a18203b8
File moved
master/bt5/slapos_
jio_ui_test/PathTemplateItem/portal_tests/slapos_
renderjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.zpt
→
master/bt5/slapos_
erp5_ui_test/PathTemplateItem/portal_tests/
renderjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.zpt
View file @
a18203b8
...
@@ -91,4 +91,4 @@
...
@@ -91,4 +91,4 @@
</tbody>
</tbody>
</table>
</table>
</body>
</body>
</html>
</html>
\ No newline at end of file
master/bt5/slapos_
jio
_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.py
→
master/bt5/slapos_
erp5
_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.py
View file @
a18203b8
...
@@ -31,7 +31,7 @@ from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctiona
...
@@ -31,7 +31,7 @@ from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctiona
class
TestSlapOSRenderJSOSSUIHalStyle
(
SlapOSTestCaseMixin
,
ERP5TypeFunctionalTestCase
):
class
TestSlapOSRenderJSOSSUIHalStyle
(
SlapOSTestCaseMixin
,
ERP5TypeFunctionalTestCase
):
foreground
=
0
foreground
=
0
run_only
=
"
slapos_
renderjs_oss_zuite"
run_only
=
"renderjs_oss_zuite"
def
afterSetUp
(
self
):
def
afterSetUp
(
self
):
ERP5TypeFunctionalTestCase
.
afterSetUp
(
self
)
ERP5TypeFunctionalTestCase
.
afterSetUp
(
self
)
...
...
master/bt5/slapos_
jio
_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.xml
→
master/bt5/slapos_
erp5
_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.xml
View file @
a18203b8
File moved
master/bt5/slapos_erp5_ui_test/bt/dependency_list
0 → 100644
View file @
a18203b8
erp5_ui_test_core
erp5_web_renderjs_ui_test
\ No newline at end of file
master/bt5/slapos_erp5_ui_test/bt/description
0 → 100644
View file @
a18203b8
Unit test for SlapOS OSS custom site
master/bt5/slapos_erp5_ui_test/bt/license
0 → 100644
View file @
a18203b8
GPL
\ No newline at end of file
master/bt5/slapos_erp5_ui_test/bt/template_format_version
0 → 100644
View file @
a18203b8
1
\ No newline at end of file
master/bt5/slapos_erp5_ui_test/bt/template_path_list
0 → 100644
View file @
a18203b8
portal_tests/renderjs_oss_zuite
portal_tests/renderjs_oss_zuite/**
master/bt5/slapos_erp5_ui_test/bt/template_test_id_list
0 → 100644
View file @
a18203b8
test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle
master/bt5/slapos_erp5_ui_test/bt/title
0 → 100644
View file @
a18203b8
slapos_erp5_ui_test
master/bt5/slapos_erp5_ui_test/bt/version
0 → 100644
View file @
a18203b8
1.0
\ No newline at end of file
master/bt5/slapos_jio_ui_test/PathTemplateItem/web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_html.html
deleted
100644 → 0
View file @
d85347a9
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<title>
SlapOS Test Service Worker
</title>
<link
rel=
"http://www.renderjs.org/rel/interface"
href=
"interface_page.html"
>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"domsugar.js"
type=
"text/javascript"
></script>
<script
src=
"jiodev.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_global.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_erp5_page_test_service_worker.js"
type=
"text/javascript"
></script>
</head>
<body>
</body>
</html>
master/bt5/slapos_jio_ui_test/PathTemplateItem/web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_html.xml
deleted
100644 → 0
View file @
d85347a9
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_erp5_page_test_service_worker.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
rjs_gadget_slapos_erp5_page_test_service_worker_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
SlapOS Version of Service workers Test
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish_alive
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<tuple>
<float>
1593318187.31
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published_alive
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
984.56523.10961.53162
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<tuple>
<float>
1593318513.65
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
empty
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<tuple>
<float>
1593318073.16
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_jio_ui_test/PathTemplateItem/web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_js.js
deleted
100644 → 0
View file @
d85347a9
/*global window, rJS, RSVP, domsugar, navigator, promiseEventListener, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3, maxlen: 80 */
(
function
(
window
,
rJS
,
RSVP
,
domsugar
,
navigator
,
promiseEventListener
,
jIO
)
{
"
use strict
"
;
rJS
(
window
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlForList
"
,
"
getUrlForList
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareMethod
(
'
render
'
,
function
()
{
var
gadget
=
this
;
// Wait a bit a allow the header loader to be displayed
return
new
RSVP
.
Queue
(
RSVP
.
delay
(
200
))
.
push
(
function
()
{
return
gadget
.
getUrlForList
([
// Home page
{
command
:
'
display
'
},
// Soft reload the gadget
{
command
:
'
change
'
}
]);
})
.
push
(
function
(
url_list
)
{
gadget
.
checkServiceWorkerStatus
();
return
gadget
.
updateHeader
({
page_title
:
'
Test Service Worker
'
,
front_url
:
url_list
[
0
],
tab_url
:
url_list
[
1
],
submit_action
:
true
});
});
})
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
(
jIO
.
util
.
ajax
({
type
:
'
POST
'
,
url
:
'
./Base_changeModificationDateForTest
'
}))
.
push
(
function
()
{
domsugar
(
gadget
.
element
,
{
text
:
"
SW changed on server
"
});
});
})
.
declareJob
(
"
checkServiceWorkerStatus
"
,
function
()
{
var
gadget
=
this
,
has_service_worker
=
(
navigator
.
serviceWorker
.
controller
!==
null
);
domsugar
(
gadget
.
element
,
{
text
:
"
Has SW:
"
+
has_service_worker
.
toString
()
});
return
new
RSVP
.
Queue
(
navigator
.
serviceWorker
.
ready
)
.
push
(
function
(
worker_container
)
{
domsugar
(
gadget
.
element
,
{
text
:
"
Has SW: true
"
});
return
promiseEventListener
(
worker_container
.
active
,
'
statechange
'
);
})
.
push
(
function
()
{
// Wait a bit until the message is propagated
return
RSVP
.
delay
(
2000
);
})
.
push
(
function
()
{
domsugar
(
gadget
.
element
,
{
text
:
"
New SW ready
"
});
});
});
}(
window
,
rJS
,
RSVP
,
domsugar
,
navigator
,
promiseEventListener
,
jIO
));
\ No newline at end of file
master/bt5/slapos_jio_ui_test/PathTemplateItem/web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_js.xml
deleted
100644 → 0
View file @
d85347a9
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Script"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/javascript
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_erp5_page_test_service_worker.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
rjs_gadget_slapos_erp5_page_test_service_worker_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
SlapOS Version of Service workers Test
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish_alive
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<tuple>
<float>
1593318348.46
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published_alive
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
984.56521.63704.42956
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<tuple>
<float>
1593318442.11
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
empty
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<tuple>
<float>
1593318253.26
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_jio_ui_test/bt/template_keep_last_workflow_history_only_path_list
deleted
100644 → 0
View file @
d85347a9
web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_html
web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_js
\ No newline at end of file
master/bt5/slapos_jio_ui_test/bt/template_path_list
View file @
a18203b8
portal_tests/slapos_renderjs_oss_zuite
portal_tests/slapos_renderjs_oss_zuite/**
portal_tests/slaposjs_zuite
portal_tests/slaposjs_zuite
portal_tests/slaposjs_zuite/**
portal_tests/slaposjs_zuite/**
web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_html
web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_js
\ No newline at end of file
master/bt5/slapos_jio_ui_test/bt/template_test_id_list
View file @
a18203b8
test.erp5.testFunctionalSlapOSUIHalStyle
test.erp5.testFunctionalSlapOSUIHalStyle
test.erp5.testFunctionalSlapOSUIZHHalStyle
test.erp5.testFunctionalSlapOSUIZHHalStyle
test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle
\ No newline at end of file
master/tests/__init__.py
View file @
a18203b8
...
@@ -19,6 +19,7 @@ slapos_bt_list = [
...
@@ -19,6 +19,7 @@ slapos_bt_list = [
'slapos_mysql_innodb_catalog'
,
'slapos_mysql_innodb_catalog'
,
'slapos_panel_ui_test'
,
'slapos_panel_ui_test'
,
'slapos_parameter_editor_ui_test'
,
'slapos_parameter_editor_ui_test'
,
'slapos_erp5_ui_test'
,
'slapos_abyss'
,
'slapos_abyss'
,
'slapos_rss_style'
'slapos_rss_style'
]
]
...
...
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