- 29 Jun, 2021 23 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
When using checkPythonSourceCode integrated in the source code editor, for a scenario where developer edit a component and save we can benefit from caching the check message for the source code content, because the same check that the one happening in the editor will happen when the component is saved. This cache varies on: - "component_packages" cache cookie which is reset every time some component code is edited. - zope startup time to take into account editions of file system code. This assumes that after reseting file system code zope will be restarted. - portal_type, because the checks performed by this function also depend on portal type.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
this makes completions works when using Ctrl+space
-
Jérome Perrin authored
This makes "Format Document" / "Format Selection" work.
-
Jérome Perrin authored
because pylint is a bit slow on large components, debounce every 2 seconds. TODO: this is too slow.
-
Jérome Perrin authored
For now this is just the portal_url, but I'm thinking it could be a proper tool.
-
Jérome Perrin authored
-
Jérome Perrin authored
IIRC the only thing needed is that ERP5TypeTestCase.getPortal is an ERP5Site
-
Jérome Perrin authored
-
Jérome Perrin authored
on very large python files (>1000 lines) sometimes they queue up and we have to wait for all requests that were queued by zope. XXX maybe this does not happen when accessing through haproxy/apache, I am observing this when hitting zope directly
-
Jérome Perrin authored
This can hide bugs, especially when updating business templates. TODO: if we drop this we can also drop the command line flag
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 25 Jun, 2021 1 commit
-
-
Roque authored
-
- 24 Jun, 2021 1 commit
-
-
Jérome Perrin authored
See merge request !1447
-
- 23 Jun, 2021 3 commits
-
-
Roque authored
-
Jérome Perrin authored
- 22 Jun, 2021 6 commits
- 21 Jun, 2021 2 commits
-
-
Xiaowu Zhang authored
-
Jérome Perrin authored
* expose firefox console and error logs in `geckodriver.log` * expose `geckodriver.log` in the folder testnodes expose on http * fix some cases where test were detected as "did not run" and cases where "did not run" tests were not reported as failures See merge request !1444
-
- 18 Jun, 2021 4 commits
-
-
Jérome Perrin authored
This is not really for errors during the test itself, but for errors when ERP5TypeFunctionalTestCase manipulates browser to execute selenium test.
-
Jérome Perrin authored
This depends on the support in slapos nexedi/slapos!999
-
Jérome Perrin authored
It can happen that a test running selenium fail in python, but not in selenium, like for example test_result_module/20210615-CDADEC14/183 To prevent such tests from being reported as PASS, we make the total number of failures being the sum of the python unittest failures and the selenium failures.
-
Jérome Perrin authored
It happens, for example with erp5_officejs_ui_test:testFunctionalOfficeJSPyodideNotebook on test_result_module/20210615-CDADEC14/183 that the test is considered as not running, because the test result table was not populated in time. Add an explicit wait to prevent such problems.
-