Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
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
Jérome Perrin
erp5
Commits
b9abd32f
Commit
b9abd32f
authored
Nov 13, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Plain Diff
Initial support of firefox 115 for Zelenium tests
See merge request
nexedi/erp5!1838
parents
00dcc183
288e0444
Changes
38
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
410 additions
and
60 deletions
+410
-60
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMCreateNewEvent.zpt
...ts/renderjs_ui_crm_action_zuite/testCRMCreateNewEvent.zpt
+2
-2
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMCreateNewEventEditorLanguage.zpt
..._crm_action_zuite/testCRMCreateNewEventEditorLanguage.zpt
+2
-2
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMCreateNewEventFromNotificationMessage.zpt
...on_zuite/testCRMCreateNewEventFromNotificationMessage.zpt
+2
-2
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMCreateResponse.zpt
...ts/renderjs_ui_crm_action_zuite/testCRMCreateResponse.zpt
+2
-2
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMCreateResponseFromNotificationMessage.zpt
...on_zuite/testCRMCreateResponseFromNotificationMessage.zpt
+2
-2
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMUpdateCreateNewEventDialog.zpt
...ui_crm_action_zuite/testCRMUpdateCreateNewEventDialog.zpt
+2
-2
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMUpdateCreateNewEventDialogFromNotificationMessage.zpt
...tCRMUpdateCreateNewEventDialogFromNotificationMessage.zpt
+2
-2
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMUpdateCreateResponseDialog.zpt
...ui_crm_action_zuite/testCRMUpdateCreateResponseDialog.zpt
+2
-2
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMUpdateCreateResponseDialogFromNotificationMessage.zpt
...tCRMUpdateCreateResponseDialogFromNotificationMessage.zpt
+2
-2
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateNewEvent.zpt
...m/portal_tests/crm_action_zuite/testCRMCreateNewEvent.zpt
+2
-2
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateNewEventEditorLanguage.zpt
.../crm_action_zuite/testCRMCreateNewEventEditorLanguage.zpt
+2
-2
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateNewEventFromNotificationMessage.zpt
...on_zuite/testCRMCreateNewEventFromNotificationMessage.zpt
+2
-2
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponse.zpt
...m/portal_tests/crm_action_zuite/testCRMCreateResponse.zpt
+2
-2
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponseFromNotificationMessage.zpt
...on_zuite/testCRMCreateResponseFromNotificationMessage.zpt
+2
-2
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateNewEventDialog.zpt
...ts/crm_action_zuite/testCRMUpdateCreateNewEventDialog.zpt
+2
-2
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateNewEventDialogFromNotificationMessage.zpt
...tCRMUpdateCreateNewEventDialogFromNotificationMessage.zpt
+2
-2
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialog.zpt
...ts/crm_action_zuite/testCRMUpdateCreateResponseDialog.zpt
+2
-2
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialogFromNotificationMessage.zpt
...tCRMUpdateCreateResponseDialogFromNotificationMessage.zpt
+2
-2
bt5/erp5_graph_editor_ui_test/PathTemplateItem/portal_tests/graph_editor_zuite/testWorkflowGraph-reference-snapshot-1.png.png
...itor_zuite/testWorkflowGraph-reference-snapshot-1.png.png
+0
-0
bt5/erp5_graph_editor_ui_test/PathTemplateItem/portal_tests/graph_editor_zuite/testWorkflowGraph-reference-snapshot-1.png.xml
...itor_zuite/testWorkflowGraph-reference-snapshot-1.png.xml
+1
-1
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_webtable_zuite/testJexcelEditor.zpt
...tal_tests/officejs_ui_webtable_zuite/testJexcelEditor.zpt
+1
-1
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_webtable_zuite/testOfficeJSWebTableEditor.zpt
...officejs_ui_webtable_zuite/testOfficeJSWebTableEditor.zpt
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_site_module/officejs_hr.xml
..._expense/PathTemplateItem/web_site_module/officejs_hr.xml
+2
-2
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/LocalisationRecord_viewAsJio.xml
...tal_skins/erp5_hr_record/LocalisationRecord_viewAsJio.xml
+1
-0
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/LocalisationRecord_viewAsJio/your_modification_date.xml
...d/LocalisationRecord_viewAsJio/your_modification_date.xml
+287
-0
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/user-extensions.js.js
...Item/portal_skins/erp5_ui_test_core/user-extensions.js.js
+11
-1
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_datetimefield_js.js
...eItem/web_page_module/rjs_gadget_erp5_datetimefield_js.js
+1
-1
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_datetimefield_js.xml
...Item/web_page_module/rjs_gadget_erp5_datetimefield_js.xml
+1
-1
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_date_time_field_zuite/testDisplayWithAndWithoutTimeZone.zpt
...te_time_field_zuite/testDisplayWithAndWithoutTimeZone.zpt
+3
-3
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_date_time_field_zuite/testLeapYear.zpt
..._tests/renderjs_ui_date_time_field_zuite/testLeapYear.zpt
+1
-1
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_date_time_field_zuite/testRestoreDateTimeValueIfValidationError.zpt
...field_zuite/testRestoreDateTimeValueIfValidationError.zpt
+3
-3
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_date_time_field_zuite/testSetDateTimeZone.zpt
...renderjs_ui_date_time_field_zuite/testSetDateTimeZone.zpt
+3
-3
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_date_time_field_zuite/testSetDateTimeZone2DigitsYear.zpt
..._date_time_field_zuite/testSetDateTimeZone2DigitsYear.zpt
+2
-2
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
+13
-0
product/Zelenium/selenium/core/TestRunner.html
product/Zelenium/selenium/core/TestRunner.html
+3
-0
product/Zelenium/selenium/core/scripts/htmlutils.js
product/Zelenium/selenium/core/scripts/htmlutils.js
+31
-4
product/Zelenium/selenium/core/scripts/selenium-logging.js
product/Zelenium/selenium/core/scripts/selenium-logging.js
+6
-0
product/Zelenium/www/suiteView.zpt
product/Zelenium/www/suiteView.zpt
+3
-0
No files found.
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMCreateNewEvent.zpt
View file @
b9abd32f
...
...
@@ -28,7 +28,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_create_event_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': '',
'field_your_event_workflow_action': 'send',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
@@ -49,7 +49,7 @@
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'erp5_crm_ui_test_create_event_title',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00
:00
',
'field_my_start_date': '2010-01-01T00:00',
'simulation_state': 'Sent',
'field_my_source_title': 'erp5_crm_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_ui_test_customer_title',
...
...
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMCreateNewEventEditorLanguage.zpt
View file @
b9abd32f
...
...
@@ -42,7 +42,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_create_event_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': '',
'field_your_event_workflow_action': 'send',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
@@ -79,7 +79,7 @@
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'erp5_crm_ui_test_create_event_title',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00
:00
',
'field_my_start_date': '2010-01-01T00:00',
'simulation_state': 'Sent',
'field_my_source_title': 'erp5_crm_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_ui_test_customer_title',
...
...
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMCreateNewEventFromNotificationMessage.zpt
View file @
b9abd32f
...
...
@@ -28,7 +28,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_create_event_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': 'erp5_crm_ui_test_notification_reference',
'field_your_event_workflow_action': 'draft',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
@@ -50,7 +50,7 @@
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'erp5_crm_ui_test_create_event_title',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00
:00
',
'field_my_start_date': '2010-01-01T00:00',
'simulation_state': 'Draft',
'field_my_source_title': 'erp5_crm_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_ui_test_customer_title',
...
...
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMCreateResponse.zpt
View file @
b9abd32f
...
...
@@ -27,7 +27,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
@@ -47,7 +47,7 @@
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'erp5_crm_ui_test_response_title',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00
:00
',
'field_my_start_date': '2010-01-01T00:00',
'simulation_state': 'Draft',
'field_my_source_title': 'erp5_crm_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_ui_test_customer_title',
...
...
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMCreateResponseFromNotificationMessage.zpt
View file @
b9abd32f
...
...
@@ -27,7 +27,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': 'erp5_crm_ui_test_notification_reference',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
@@ -47,7 +47,7 @@
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'erp5_crm_ui_test_response_title',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00
:00
',
'field_my_start_date': '2010-01-01T00:00',
'simulation_state': 'Draft',
'field_my_source_title': 'erp5_crm_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_ui_test_customer_title',
...
...
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMUpdateCreateNewEventDialog.zpt
View file @
b9abd32f
...
...
@@ -28,7 +28,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_create_event_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': '',
'field_your_event_workflow_action': 'draft',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
@@ -49,7 +49,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_create_event_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': '',
'field_your_event_workflow_action': 'draft',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMUpdateCreateNewEventDialogFromNotificationMessage.zpt
View file @
b9abd32f
...
...
@@ -28,7 +28,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_create_event_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': 'erp5_crm_ui_test_notification_reference',
'field_your_event_workflow_action': 'draft',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
@@ -49,7 +49,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_notification_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': '',
'field_your_event_workflow_action': 'draft',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMUpdateCreateResponseDialog.zpt
View file @
b9abd32f
...
...
@@ -27,7 +27,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
@@ -47,7 +47,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_crm_action_zuite/testCRMUpdateCreateResponseDialogFromNotificationMessage.zpt
View file @
b9abd32f
...
...
@@ -27,7 +27,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': 'erp5_crm_ui_test_notification_reference',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
@@ -47,7 +47,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_notification_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateNewEvent.zpt
View file @
b9abd32f
...
...
@@ -28,7 +28,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'Test event',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': '',
'field_your_event_workflow_action': 'send',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
@@ -51,7 +51,7 @@
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'Test event',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00
:00
',
'field_my_start_date': '2010-01-01T00:00',
'simulation_state': 'Sent',
'field_my_source_title': 'erp5_crm_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_ui_test_customer_title',
...
...
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateNewEventEditorLanguage.zpt
View file @
b9abd32f
...
...
@@ -54,7 +54,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'Test event',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': '',
'field_your_event_workflow_action': 'send',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
@@ -93,7 +93,7 @@
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'Test event',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00
:00
',
'field_my_start_date': '2010-01-01T00:00',
'simulation_state': 'Sent',
'field_my_source_title': 'erp5_crm_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_ui_test_customer_title',
...
...
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateNewEventFromNotificationMessage.zpt
View file @
b9abd32f
...
...
@@ -28,7 +28,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_create_event_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': 'erp5_crm_ui_test_notification_reference',
'field_your_event_workflow_action': 'draft',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
@@ -51,7 +51,7 @@
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'erp5_crm_ui_test_create_event_title',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00
:00
',
'field_my_start_date': '2010-01-01T00:00',
'simulation_state': 'Draft',
'field_my_source_title': 'erp5_crm_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_ui_test_customer_title',
...
...
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponse.zpt
View file @
b9abd32f
...
...
@@ -27,7 +27,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
@@ -49,7 +49,7 @@
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'erp5_crm_ui_test_response_title',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00
:00
',
'field_my_start_date': '2010-01-01T00:00',
'simulation_state': 'Draft',
'field_my_source_title': 'erp5_crm_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_ui_test_customer_title',
...
...
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponseFromNotificationMessage.zpt
View file @
b9abd32f
...
...
@@ -27,7 +27,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': 'erp5_crm_ui_test_notification_reference',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
@@ -49,7 +49,7 @@
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'erp5_crm_ui_test_response_title',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00
:00
',
'field_my_start_date': '2010-01-01T00:00',
'simulation_state': 'Draft',
'field_my_source_title': 'erp5_crm_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_ui_test_customer_title',
...
...
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateNewEventDialog.zpt
View file @
b9abd32f
...
...
@@ -28,7 +28,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_create_event_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': '',
'field_your_event_workflow_action': 'draft',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
@@ -51,7 +51,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_create_event_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': '',
'field_your_event_workflow_action': 'draft',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateNewEventDialogFromNotificationMessage.zpt
View file @
b9abd32f
...
...
@@ -28,7 +28,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_create_event_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': 'erp5_crm_ui_test_notification_reference',
'field_your_event_workflow_action': 'draft',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
@@ -51,7 +51,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_title': 'erp5_crm_ui_test_notification_title',
'field_your_portal_type': 'Letter',
'field_your_resource': '',
'field_your_start_date': '2010-01-01T00:00
:00
',
'field_your_start_date': '2010-01-01T00:00',
'field_your_notification_message': '',
'field_your_event_workflow_action': 'draft',
'field_your_source': 'erp5_crm_ui_test_agent_title',
...
...
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialog.zpt
View file @
b9abd32f
...
...
@@ -27,7 +27,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
@@ -49,7 +49,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
bt5/erp5_crm_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialogFromNotificationMessage.zpt
View file @
b9abd32f
...
...
@@ -27,7 +27,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': 'erp5_crm_ui_test_notification_reference',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
@@ -49,7 +49,7 @@
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_ui_test_notification_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00
:00
',
'field_your_response_event_start_date': '2010-01-01T00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_ui_test_agent',
...
...
bt5/erp5_graph_editor_ui_test/PathTemplateItem/portal_tests/graph_editor_zuite/testWorkflowGraph-reference-snapshot-1.png.png
View replaced file @
00dcc183
View file @
b9abd32f
41.3 KB
|
W:
|
H:
41.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
bt5/erp5_graph_editor_ui_test/PathTemplateItem/portal_tests/graph_editor_zuite/testWorkflowGraph-reference-snapshot-1.png.xml
View file @
b9abd32f
...
...
@@ -16,7 +16,7 @@
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
2
84
</int>
</value>
<value>
<int>
2
76
</int>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_webtable_zuite/testJexcelEditor.zpt
View file @
b9abd32f
...
...
@@ -78,7 +78,7 @@
<!-- Wait for spreadsheet to be rendered by the gadget -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@class='spreadsheet']
</td>
<td>
css=.spreadsheet
</td>
<td></td>
</tr>
<!-- Verify maximize button is present -->
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_webtable_zuite/testOfficeJSWebTableEditor.zpt
View file @
b9abd32f
...
...
@@ -116,7 +116,7 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@class='spreadsheet']
</td>
<td>
css=.spreadsheet
</td>
<td></td>
</tr>
<!-- Wait for editor completly loaded, this is workaround, wait for lock in renderjs -->
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_site_module/officejs_hr.xml
View file @
b9abd32f
...
...
@@ -357,7 +357,7 @@
</item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'none\'; img-src \'self\' https://*.tile.openstreetmap.org data:; media-src \'self\' blob:; connect-src \'self\' https://localhost:5000 mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net; script-src \'self\' \'unsafe-eval\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data: *.app.officejs.com
</string>
</value>
<value>
<string>
default-src \'none\'; img-src \'self\' https://*.tile.openstreetmap.org data:; media-src \'self\' blob:; connect-src \'self\' https://localhost:5000 mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net; script-src \'self\' \'unsafe-eval\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data: *.app.officejs.com
; manifest-src \'self\'
</string>
</value>
</item>
<item>
<key>
<string>
configuration_default_view_action_reference
</string>
</key>
...
...
@@ -670,7 +670,7 @@
</tuple>
<state>
<tuple>
<float>
1549964409.0
2
</float>
<float>
1549964409.0
3
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/LocalisationRecord_viewAsJio.xml
View file @
b9abd32f
...
...
@@ -80,6 +80,7 @@
<string>
my_source_title
</string>
<string>
my_creation_date
</string>
<string>
your_simulation_state
</string>
<string>
your_modification_date
</string>
</list>
</value>
</item>
...
...
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/LocalisationRecord_viewAsJio/your_modification_date.xml
0 → 100644
View file @
b9abd32f
This diff is collapsed.
Click to expand it.
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/user-extensions.js.js
View file @
b9abd32f
...
...
@@ -226,6 +226,16 @@ Selenium.prototype.doVerifyImageMatchSnapshot = (
locator
,
misMatchTolerance
)
=>
{
if
(
window
[
'
ignoreSnapshotTest
'
].
checked
){
// calling getReferenceImageCounter has the side effect
// of increasing the counter, so if we enable / disable
// snapshot mid test the counter stays in sync.
var
snapshotCounter
=
getReferenceImageCounter
(
testFrame
.
getCurrentTestCase
().
pathname
);
console
.
log
(
"
ignoring snapshot test
"
+
snapshotCounter
);
return
;
}
var
misMatchToleranceFloat
=
parseFloat
(
misMatchTolerance
);
if
(
isNaN
(
misMatchToleranceFloat
))
{
misMatchToleranceFloat
=
0
;
...
...
@@ -263,7 +273,7 @@ Selenium.prototype.doVerifyImageMatchSnapshot = (
if
(
response
.
status
===
200
)
{
return
response
.
blob
();
}
throw
new
Error
(
'
Feching reference failed
'
+
response
.
statusText
);
throw
new
Error
(
'
Fe
t
ching reference failed
'
+
response
.
statusText
);
})
.
then
(
blob
=>
{
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_datetimefield_js.js
View file @
b9abd32f
...
...
@@ -223,7 +223,7 @@
if
(
!
gadget
.
state
.
date_only
)
{
time
=
"
T
"
+
Math
.
floor
(
tmp_hour
/
10
)
+
tmp_hour
%
10
+
"
:
"
+
Math
.
floor
(
tmp_minute
/
10
)
+
(
tmp_minute
%
10
)
+
"
:00
"
;
Math
.
floor
(
tmp_minute
/
10
)
+
(
tmp_minute
%
10
)
;
}
date
=
tmp_year
+
"
-
"
+
Math
.
floor
(
tmp_month
/
10
)
+
(
tmp_month
%
10
)
+
"
-
"
+
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_datetimefield_js.xml
View file @
b9abd32f
...
...
@@ -250,7 +250,7 @@
</tuple>
<state>
<tuple>
<float>
1609253131.4
5
</float>
<float>
1609253131.4
6
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_date_time_field_zuite/testDisplayWithAndWithoutTimeZone.zpt
View file @
b9abd32f
...
...
@@ -78,7 +78,7 @@
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='field_my_start_date']//div[@data-gadget-scope='field']//p[@data-date='2015-12-21T11:00
:00
']
</td>
<td>
//div[@data-gadget-scope='field_my_start_date']//div[@data-gadget-scope='field']//p[@data-date='2015-12-21T11:00']
</td>
<td></td>
</tr>
...
...
@@ -90,7 +90,7 @@
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='field_my_stop_date']//div[@data-gadget-scope='field']//p[@data-date='2016-12-21T12:00
:00
']
</td>
<td>
//div[@data-gadget-scope='field_my_stop_date']//div[@data-gadget-scope='field']//p[@data-date='2016-12-21T12:00']
</td>
<td></td>
</tr>
...
...
@@ -145,7 +145,7 @@
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='field_my_stop_date']//div[@data-gadget-scope='field']//p[@data-date='2016-12-21T12:00
:00
']
</td>
<td>
//div[@data-gadget-scope='field_my_stop_date']//div[@data-gadget-scope='field']//p[@data-date='2016-12-21T12:00']
</td>
<td></td>
</tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_date_time_field_zuite/testLeapYear.zpt
View file @
b9abd32f
...
...
@@ -67,7 +67,7 @@
<tr>
<td>
verifyValue
</td>
<td>
//div[@data-gadget-scope='field_my_stop_date']//input
</td>
<td>
2004-02-29T23:10
:00
</td>
<td>
2004-02-29T23:10
</td>
</tr>
<tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_date_time_field_zuite/testRestoreDateTimeValueIfValidationError.zpt
View file @
b9abd32f
...
...
@@ -123,9 +123,9 @@
</tal:block>
<tr>
<td>
assert
ElementPresent
</td>
<td>
//input[@
value='2017-02-22T22:22:00
']
</td>
<td></td>
<td>
assert
Value
</td>
<td>
//input[@
name='field_my_start_date
']
</td>
<td>
2017-02-22T22:22
</td>
</tr>
<tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_date_time_field_zuite/testSetDateTimeZone.zpt
View file @
b9abd32f
...
...
@@ -78,7 +78,7 @@
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='field_my_start_date']//div[@data-gadget-scope='field']//p[@data-date='2015-12-21T11:00
:00
']
</td>
<td>
//div[@data-gadget-scope='field_my_start_date']//div[@data-gadget-scope='field']//p[@data-date='2015-12-21T11:00']
</td>
<td></td>
</tr>
...
...
@@ -89,13 +89,13 @@
<tr>
<td>
verifyValue
</td>
<td>
//div[@data-gadget-scope='field_my_start_date']//input
</td>
<td>
2015-12-21T11:00
:00
</td>
<td>
2015-12-21T11:00
</td>
</tr>
<tr>
<td>
verifyValue
</td>
<td>
//div[@data-gadget-scope='field_my_stop_date']//input
</td>
<td>
2016-12-21T12:00
:00
</td>
<td>
2016-12-21T12:00
</td>
</tr>
<tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_date_time_field_zuite/testSetDateTimeZone2DigitsYear.zpt
View file @
b9abd32f
...
...
@@ -73,7 +73,7 @@
<tr>
<td>
verifyValue
</td>
<td>
//div[@data-gadget-scope='field_my_stop_date']//input
</td>
<td>
2016-12-21T12:00
:00
</td>
<td>
2016-12-21T12:00
</td>
</tr>
<tr>
...
...
@@ -85,7 +85,7 @@
<tr>
<td>
verifyValue
</td>
<td>
//div[@data-gadget-scope='field_my_start_date']//input
</td>
<td>
2022-12-21T09:00
:00
</td>
<td>
2022-12-21T09:00
</td>
</tr>
...
...
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
View file @
b9abd32f
...
...
@@ -233,6 +233,19 @@ class FunctionalTestRunner:
options
.
set_preference
(
'dom.serviceWorkers.enabled'
,
True
)
# output javascript console and errors on stdout to help diagnosing failures
options
.
set_preference
(
'devtools.console.stdout.content'
,
True
)
# Always download attachments and do not open PDF inline, otherwise the
# browser's active would tab lose the focus
download_dir
=
os
.
path
.
join
(
log_directory
,
'downloads'
)
if
not
os
.
path
.
exists
(
download_dir
):
os
.
mkdir
(
download_dir
)
options
.
set_preference
(
"browser.download.dir"
,
download_dir
)
options
.
set_preference
(
"browser.helperApps.neverAsk.saveToDisk"
,
"application/pdf"
)
options
.
set_preference
(
"browser.download.folderList"
,
2
)
options
.
set_preference
(
"browser.download.manager.showWhenStarting"
,
False
)
options
.
set_preference
(
"dom.block_download_insecure"
,
False
)
options
.
set_preference
(
"pdfjs.disabled"
,
True
)
# always grant location
options
.
set_preference
(
"permissions.default.geo"
,
1
)
selenium_test_runner_configuration
=
{}
test_runner_configuration_file
=
os
.
environ
.
get
(
'ERP5_TEST_RUNNER_CONFIGURATION'
)
...
...
product/Zelenium/selenium/core/TestRunner.html
View file @
b9abd32f
...
...
@@ -106,6 +106,9 @@ to work-around a bug in IE on Win2K whereby the HTA application doesn't function
<div
class=
"executionOptions"
>
<input
id=
"highlightOption"
type=
"checkbox"
name=
"highlightOption"
value=
"0"
/>
<label
for=
"highlightOption"
>
Highlight elements
</label>
<br/>
<input
id=
"ignoreSnapshotTest"
type=
"checkbox"
name=
"ignoreSnapshotTest"
value=
"0"
/>
<label
for=
"ignoreSnapshotTest"
>
Ignore snapshot tests
</label>
</div>
</fieldset>
...
...
product/Zelenium/selenium/core/scripts/htmlutils.js
View file @
b9abd32f
...
...
@@ -356,7 +356,7 @@ function triggerEvent(element, eventType, canBubble, controlKeyDown, altKeyDown,
function
getKeyCodeFromKeySequence
(
keySequence
)
{
var
match
=
/^
\\(\d{1,3})
$/
.
exec
(
keySequence
);
if
(
match
!=
null
)
{
return
match
[
1
]
;
return
parseInt
(
match
[
1
],
10
)
;
}
match
=
/^.$/
.
exec
(
keySequence
);
if
(
match
!=
null
)
{
...
...
@@ -366,7 +366,7 @@ function getKeyCodeFromKeySequence(keySequence) {
// 1 digit ascii codes will break however because they are used for the digit chars
match
=
/^
\d{2,3}
$/
.
exec
(
keySequence
);
if
(
match
!=
null
)
{
return
match
[
0
]
;
return
parseInt
(
match
[
0
],
10
)
;
}
throw
new
SeleniumError
(
"
invalid keySequence
"
);
}
...
...
@@ -390,7 +390,18 @@ function triggerKeyEvent(element, eventType, keySequence, canBubble, controlKeyD
}
else
{
var
evt
;
if
(
window
.
KeyEvent
)
{
if
(
window
.
KeyboardEvent
)
{
evt
=
new
KeyboardEvent
(
eventType
,
{
ctrlKey
:
controlKeyDown
,
altKey
:
altKeyDown
,
shiftKey
:
shiftKeyDown
,
metaKey
:
metaKeyDown
,
keyCode
:
keycode
,
which
:
keycode
,
cancelable
:
true
,
bubbles
:
canBubble
});
}
else
if
(
window
.
KeyEvent
)
{
evt
=
document
.
createEvent
(
'
KeyEvents
'
);
evt
.
initKeyEvent
(
eventType
,
true
,
true
,
window
,
controlKeyDown
,
altKeyDown
,
shiftKeyDown
,
metaKeyDown
,
keycode
,
keycode
);
}
else
{
...
...
@@ -406,7 +417,23 @@ function triggerKeyEvent(element, eventType, keySequence, canBubble, controlKeyD
evt
.
which
=
keycode
;
}
element
.
dispatchEvent
(
evt
);
const
dispatched
=
element
.
dispatchEvent
(
evt
);
// perform "Implicit submission" of the form, as specified in
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#implicit-submission
if
(
keycode
===
13
&&
dispatched
&&
(
eventType
===
"
keypress
"
||
eventType
===
"
keyup
"
)
&&
(
element
.
type
===
"
text
"
||
element
.
type
===
"
password
"
)
&&
element
.
form
&&
window
.
SubmitEvent
)
{
const
defaultButton
=
element
.
form
.
querySelector
(
"
input[type='submit']
"
);
if
(
defaultButton
&&
!
defaultButton
.
disabled
)
{
defaultButton
.
click
();
}
else
{
element
.
form
.
requestSubmit
();
}
}
}
}
...
...
product/Zelenium/selenium/core/scripts/selenium-logging.js
View file @
b9abd32f
...
...
@@ -117,18 +117,24 @@ Logger.prototype = {
},
debug
:
function
(
message
)
{
// debug is too verbose
// console.debug(new Date().toISOString(), message);
this
.
log
(
"
debug
"
,
message
);
},
info
:
function
(
message
)
{
// selenium instructions are logged with level info, we try not to include passwords in logs.
console
.
info
(
new
Date
().
toISOString
(),
message
.
toString
().
replace
(
/password.*/
,
'
***password redacted***
'
));
this
.
log
(
"
info
"
,
message
);
},
warn
:
function
(
message
)
{
console
.
warn
(
new
Date
().
toISOString
(),
message
);
this
.
log
(
"
warn
"
,
message
);
},
error
:
function
(
message
)
{
console
.
error
(
new
Date
().
toISOString
(),
message
);
this
.
log
(
"
error
"
,
message
);
},
...
...
product/Zelenium/www/suiteView.zpt
View file @
b9abd32f
...
...
@@ -107,6 +107,9 @@ to work-around a bug in IE on Win2K whereby the HTA application doesn't function
<div
class=
"executionOptions"
>
<input
id=
"highlightOption"
type=
"checkbox"
name=
"highlightOption"
value=
"0"
/>
<label
for=
"highlightOption"
>
Highlight elements
</label>
<br/>
<input
id=
"ignoreSnapshotTest"
type=
"checkbox"
name=
"ignoreSnapshotTest"
value=
"0"
/>
<label
for=
"ignoreSnapshotTest"
>
Ignore snapshot tests
</label>
</div>
</fieldset>
...
...
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