cucu 1.3.5__tar.gz → 1.3.6__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.5 → cucu-1.3.6}/PKG-INFO +3 -3
- {cucu-1.3.5 → cucu-1.3.6}/pyproject.toml +2 -2
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/environment.py +17 -10
- {cucu-1.3.5 → cucu-1.3.6}/README.md +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/ansi_parser.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/behave_tweaks.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/browser/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/browser/core.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/browser/frames.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/browser/selenium.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/browser/selenium_tweaks.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/cli/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/cli/core.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/cli/run.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/cli/steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/cli/thread_dumper.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/config.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/db.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/edgedriver_autoinstaller/README.md +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/edgedriver_autoinstaller/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/edgedriver_autoinstaller/utils.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/external/jquery/jquery-3.5.1.min.js +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/formatter/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/formatter/cucu.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/formatter/json.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/formatter/junit.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/fuzzy/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/fuzzy/core.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/fuzzy/fuzzy.js +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/helpers.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/hooks.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/init_data/.gitignore +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/init_data/README.md +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/init_data/cucurc.yml +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/init_data/data/www/example.html +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/init_data/features/cucurc.yml +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/init_data/features/environment.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/init_data/features/example.feature +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/init_data/features/lint_rules/sid.yaml +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/init_data/features/steps/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/init_data/features/steps/my_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/language_server/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/language_server/core.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/lint/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/lint/linter.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/lint/rules/format.yaml +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/logger.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/matcher/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/matcher/core.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/page_checks.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/external/bootstrap.min.css +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/external/bootstrap.min.js +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/external/dataTables.bootstrap.min.css +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/external/dataTables.bootstrap.min.js +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/external/jquery-3.5.1.min.js +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/external/jquery.dataTables.min.js +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/external/popper.min.js +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/favicon.png +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/html.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/templates/feature.html +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/templates/flat.html +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/templates/index.html +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/templates/layout.html +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/reporter/templates/scenario.html +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/__init__.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/base_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/browser_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/button_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/checkbox_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/command_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/draggable_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/dropdown_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/file_input_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/filesystem_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/flow_control_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/image_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/input_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/link_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/menuitem_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/platform_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/radio_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/section_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/step_utils.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/tab_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/table_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/tables.js +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/text_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/variable_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/steps/webserver_steps.py +0 -0
- {cucu-1.3.5 → cucu-1.3.6}/src/cucu/utils.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: cucu
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.6
|
|
4
4
|
Summary: Easy BDD web testing
|
|
5
5
|
Keywords: cucumber,selenium,behave
|
|
6
|
-
Author: Domino Data Lab, Rodney Gomes, Cedric Young, Xin Dong, Kavya, Kevin Garton, Joy Liao
|
|
7
|
-
Author-email: Domino Data Lab <open-source@dominodatalab.com>, Rodney Gomes <107359+rlgomes@users.noreply.github.com>, Cedric Young <4129217+ccedricyoung@users.noreply.github.com>, Xin Dong <104880864+ddl-xin@users.noreply.github.com>, Kavya <91882851+ddl-kavya@users.noreply.github.com>, Kevin Garton <71028750+ddl-kgarton@users.noreply.github.com>, Joy Liao <107583686+ddl-joy-liao@users.noreply.github.com>
|
|
6
|
+
Author: Domino Data Lab, Rodney Gomes, Cedric Young, Xin Dong, Kavya Yakkati, Kevin Garton, Joy Liao
|
|
7
|
+
Author-email: Domino Data Lab <open-source@dominodatalab.com>, Rodney Gomes <107359+rlgomes@users.noreply.github.com>, Cedric Young <4129217+ccedricyoung@users.noreply.github.com>, Xin Dong <104880864+ddl-xin@users.noreply.github.com>, Kavya Yakkati <91882851+ddl-kavya@users.noreply.github.com>, Kevin Garton <71028750+ddl-kgarton@users.noreply.github.com>, Joy Liao <107583686+ddl-joy-liao@users.noreply.github.com>
|
|
8
8
|
License: The Clear BSD License
|
|
9
9
|
Classifier: Development Status :: 4 - Beta
|
|
10
10
|
Classifier: Environment :: Console
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "cucu"
|
|
3
|
-
version = "1.3.
|
|
3
|
+
version = "1.3.6"
|
|
4
4
|
description = "Easy BDD web testing"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "The Clear BSD License" }
|
|
@@ -10,7 +10,7 @@ authors = [
|
|
|
10
10
|
{name = "Rodney Gomes", email = "107359+rlgomes@users.noreply.github.com"},
|
|
11
11
|
{name = "Cedric Young", email = "4129217+ccedricyoung@users.noreply.github.com"},
|
|
12
12
|
{name = "Xin Dong", email = "104880864+ddl-xin@users.noreply.github.com"},
|
|
13
|
-
{name = "Kavya", email = "91882851+ddl-kavya@users.noreply.github.com"},
|
|
13
|
+
{name = "Kavya Yakkati", email = "91882851+ddl-kavya@users.noreply.github.com"},
|
|
14
14
|
{name = "Kevin Garton", email = "71028750+ddl-kgarton@users.noreply.github.com"},
|
|
15
15
|
{name = "Joy Liao", email = "107583686+ddl-joy-liao@users.noreply.github.com"},
|
|
16
16
|
]
|
|
@@ -215,6 +215,23 @@ def after_scenario(ctx, scenario):
|
|
|
215
215
|
for timer_name in ctx.step_timers:
|
|
216
216
|
logger.warning(f'timer "{timer_name}" was never stopped/recorded')
|
|
217
217
|
|
|
218
|
+
browser_info = {"has_browser": False}
|
|
219
|
+
|
|
220
|
+
if len(ctx.browsers) != 0:
|
|
221
|
+
try:
|
|
222
|
+
tab_info = ctx.browser.get_tab_info()
|
|
223
|
+
all_tabs = ctx.browser.get_all_tabs_info()
|
|
224
|
+
browser_info = {
|
|
225
|
+
"has_browser": True,
|
|
226
|
+
"current_tab_index": tab_info["index"],
|
|
227
|
+
"all_tabs": all_tabs,
|
|
228
|
+
"browser_type": ctx.browser.driver.name,
|
|
229
|
+
}
|
|
230
|
+
except Exception as e:
|
|
231
|
+
logger.error(f"Error getting browser info: {e}")
|
|
232
|
+
|
|
233
|
+
scenario.browser_info = browser_info
|
|
234
|
+
|
|
218
235
|
run_after_scenario_hook(ctx, scenario, download_mht_data)
|
|
219
236
|
|
|
220
237
|
# run after all scenario hooks in 'lifo' order.
|
|
@@ -227,22 +244,12 @@ def after_scenario(ctx, scenario):
|
|
|
227
244
|
|
|
228
245
|
CONFIG["__CUCU_AFTER_THIS_SCENARIO_HOOKS"] = []
|
|
229
246
|
|
|
230
|
-
browser_info = {"has_browser": False}
|
|
231
247
|
if CONFIG.true("CUCU_KEEP_BROWSER_ALIVE"):
|
|
232
248
|
logger.debug("keeping browser alive between sessions")
|
|
233
249
|
elif len(ctx.browsers) != 0:
|
|
234
|
-
tab_info = ctx.browser.get_tab_info()
|
|
235
|
-
all_tabs = ctx.browser.get_all_tabs_info()
|
|
236
|
-
browser_info = {
|
|
237
|
-
"current_tab_index": tab_info["index"],
|
|
238
|
-
"all_tabs": all_tabs,
|
|
239
|
-
"browser_type": ctx.browser.driver.name,
|
|
240
|
-
}
|
|
241
|
-
|
|
242
250
|
logger.debug("quitting browser between sessions")
|
|
243
251
|
run_after_scenario_hook(ctx, scenario, cleanup_browsers)
|
|
244
252
|
|
|
245
|
-
scenario.browser_info = browser_info
|
|
246
253
|
|
|
247
254
|
cucu_config_path = ctx.scenario_logs_dir / "cucu.config.yaml.txt"
|
|
248
255
|
with open(cucu_config_path, "w") as config_file:
|
|
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
|