cucu 1.3.7__tar.gz → 1.3.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cucu might be problematic. Click here for more details.
- {cucu-1.3.7 → cucu-1.3.8}/PKG-INFO +1 -1
- {cucu-1.3.7 → cucu-1.3.8}/pyproject.toml +1 -1
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/html.py +12 -5
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/templates/scenario.html +18 -10
- {cucu-1.3.7 → cucu-1.3.8}/README.md +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/ansi_parser.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/behave_tweaks.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/browser/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/browser/core.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/browser/frames.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/browser/selenium.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/browser/selenium_tweaks.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/cli/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/cli/core.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/cli/run.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/cli/steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/cli/thread_dumper.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/config.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/db.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/edgedriver_autoinstaller/README.md +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/edgedriver_autoinstaller/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/edgedriver_autoinstaller/utils.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/environment.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/external/jquery/jquery-3.5.1.min.js +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/formatter/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/formatter/cucu.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/formatter/json.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/formatter/junit.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/formatter/rundb.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/fuzzy/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/fuzzy/core.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/fuzzy/fuzzy.js +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/helpers.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/hooks.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/init_data/.gitignore +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/init_data/README.md +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/init_data/cucurc.yml +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/init_data/data/www/example.html +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/init_data/features/cucurc.yml +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/init_data/features/environment.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/init_data/features/example.feature +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/init_data/features/lint_rules/sid.yaml +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/init_data/features/steps/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/init_data/features/steps/my_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/language_server/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/language_server/core.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/lint/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/lint/linter.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/lint/rules/format.yaml +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/logger.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/matcher/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/matcher/core.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/page_checks.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/external/bootstrap.min.css +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/external/bootstrap.min.js +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/external/dataTables.bootstrap.min.css +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/external/dataTables.bootstrap.min.js +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/external/jquery-3.5.1.min.js +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/external/jquery.dataTables.min.js +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/external/popper.min.js +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/favicon.png +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/templates/feature.html +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/templates/flat.html +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/templates/index.html +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/reporter/templates/layout.html +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/__init__.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/base_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/browser_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/button_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/checkbox_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/command_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/draggable_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/dropdown_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/file_input_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/filesystem_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/flow_control_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/image_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/input_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/link_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/menuitem_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/platform_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/radio_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/section_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/step_utils.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/tab_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/table_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/tables.js +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/text_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/variable_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/steps/webserver_steps.py +0 -0
- {cucu-1.3.7 → cucu-1.3.8}/src/cucu/utils.py +0 -0
|
@@ -139,14 +139,21 @@ def generate(results, basepath, only_failures=False):
|
|
|
139
139
|
if db_step.table_data:
|
|
140
140
|
step_dict["table"] = db_step.table_data
|
|
141
141
|
|
|
142
|
-
step_dict["result"]["error_message"] =
|
|
143
|
-
db_step.error_message
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
step_dict["result"]["error_message"] = (
|
|
143
|
+
db_step.error_message.splitlines()
|
|
144
|
+
if db_step.error_message
|
|
145
|
+
else []
|
|
146
|
+
)
|
|
146
147
|
step_dict["result"]["exception"] = db_step.exception
|
|
147
|
-
|
|
148
148
|
step_dict["result"]["stdout"] = db_step.stdout
|
|
149
149
|
step_dict["result"]["stderr"] = db_step.stderr
|
|
150
|
+
step_dict["result"]["browser_logs"] = (
|
|
151
|
+
db_step.browser_logs.splitlines()
|
|
152
|
+
)
|
|
153
|
+
step_dict["result"]["debug_output"] = (
|
|
154
|
+
db_step.debug_output.splitlines()
|
|
155
|
+
)
|
|
156
|
+
|
|
150
157
|
scenario_dict["steps"].append(step_dict)
|
|
151
158
|
|
|
152
159
|
feature_dict["elements"].append(scenario_dict)
|
|
@@ -131,24 +131,32 @@
|
|
|
131
131
|
<tr class="row"><td style="min-width: 0;" class="col-12 collapse multi-collapse" id="collapsable-row-{{ loop.index }}" colspan="2">
|
|
132
132
|
|
|
133
133
|
{% if step['result']['stdout'] %}
|
|
134
|
+
<p>stdout ({{ step['result']['stdout']|length }} lines)</p>
|
|
134
135
|
<pre style="color: darkgray; margin: 0;">{{ escape("\n".join(step['result']['stdout'])) }}</pre>
|
|
135
136
|
{% endif %}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
{
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
{% if step['result']['stderr'] %}
|
|
138
|
+
<p>stderr ({{ step['result']['stderr']|length }} lines)</p>
|
|
139
|
+
<pre style="color: darkgray; margin: 0;">{{ escape("\n".join(step['result']['stderr'])) }}</pre>
|
|
140
|
+
{% endif %}
|
|
141
|
+
{% if step['images'] %}
|
|
142
|
+
<p>images ({{ step['images']|length }} images)</p>
|
|
141
143
|
{% for image in step['images'] %}
|
|
142
144
|
<img class="mx-auto d-block img-fluid shadow bg-white rounded" style="margin-bottom:15px" alt='{{ image["label"] }}' title='{{ image["label"] }}' src='{{ image["src"] }}'></img>
|
|
143
145
|
{% endfor %}
|
|
144
146
|
{% endif %}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
{% if step['image'] is defined %}
|
|
148
|
-
<br/>
|
|
149
|
-
{% endif %}
|
|
147
|
+
{% if step['result']['error_message'] %}
|
|
148
|
+
<p>error message ({{ step['result']['error_message']|length }} lines)</p>
|
|
150
149
|
<pre style="color: gray; margin: 0">{{ escape("\n".join(step['result']['error_message'])) }}</pre>
|
|
151
150
|
{% endif %}
|
|
151
|
+
{% if step['result']['browser_logs'] %}
|
|
152
|
+
<p>browser logs ({{ step['result']['browser_logs']|length }} lines)</p>
|
|
153
|
+
<pre style="color: gray; margin: 0;">{{ escape("\n".join(step['result']['browser_logs'])) }}</pre>
|
|
154
|
+
{% endif %}
|
|
155
|
+
{% if step['result']['debug_output'] %}
|
|
156
|
+
<p>debug output ({{ step['result']['debug_output']|length }} lines)</p>
|
|
157
|
+
<pre style="color: gray; margin: 0;">{{ escape("\n".join(step['result']['debug_output'])) }}</pre>
|
|
158
|
+
{% endif %}
|
|
159
|
+
|
|
152
160
|
</td></tr>
|
|
153
161
|
{% endif %}
|
|
154
162
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|