cucu 1.3.10__py3-none-any.whl → 1.3.12__py3-none-any.whl
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/cli/core.py +0 -12
- cucu/environment.py +1 -1
- cucu/fuzzy/core.py +4 -2
- cucu/reporter/html.py +3 -1
- {cucu-1.3.10.dist-info → cucu-1.3.12.dist-info}/METADATA +4 -4
- {cucu-1.3.10.dist-info → cucu-1.3.12.dist-info}/RECORD +8 -8
- {cucu-1.3.10.dist-info → cucu-1.3.12.dist-info}/WHEEL +1 -1
- {cucu-1.3.10.dist-info → cucu-1.3.12.dist-info}/entry_points.txt +0 -0
cucu/cli/core.py
CHANGED
|
@@ -35,9 +35,7 @@ from cucu.cli.steps import print_human_readable_steps, print_json_steps
|
|
|
35
35
|
from cucu.config import CONFIG
|
|
36
36
|
from cucu.db import (
|
|
37
37
|
consolidate_database_files,
|
|
38
|
-
db,
|
|
39
38
|
finish_worker_record,
|
|
40
|
-
get_first_cucu_run_filepath,
|
|
41
39
|
)
|
|
42
40
|
from cucu.lint import linter
|
|
43
41
|
from cucu.utils import generate_short_id
|
|
@@ -524,16 +522,6 @@ def _generate_report(
|
|
|
524
522
|
if os.path.exists(results_dir):
|
|
525
523
|
consolidate_database_files(results_dir)
|
|
526
524
|
|
|
527
|
-
db_path = os.path.join(results_dir, "run.db")
|
|
528
|
-
|
|
529
|
-
try:
|
|
530
|
-
db.init(db_path)
|
|
531
|
-
db.connect(reuse_if_open=True)
|
|
532
|
-
filepath = get_first_cucu_run_filepath()
|
|
533
|
-
behave_init(filepath)
|
|
534
|
-
finally:
|
|
535
|
-
db.close()
|
|
536
|
-
|
|
537
525
|
report_location = reporter.generate(
|
|
538
526
|
results_dir, output, only_failures=only_failures
|
|
539
527
|
)
|
cucu/environment.py
CHANGED
|
@@ -303,7 +303,7 @@ def after_step(ctx, step):
|
|
|
303
303
|
|
|
304
304
|
# Add tab info to step.stdout so it shows up in the HTML report
|
|
305
305
|
step.stdout.extend(
|
|
306
|
-
[f"tab({current_tab} of {total_tabs}): {title}", "url: {url}"]
|
|
306
|
+
[f"tab({current_tab} of {total_tabs}): {title}", f"url: {url}"]
|
|
307
307
|
)
|
|
308
308
|
|
|
309
309
|
# if the step has substeps from using `run_steps` then we already moved
|
cucu/fuzzy/core.py
CHANGED
|
@@ -97,7 +97,7 @@ def find(
|
|
|
97
97
|
str(index),
|
|
98
98
|
str(direction.value),
|
|
99
99
|
name_within_thing,
|
|
100
|
-
"true"
|
|
100
|
+
"true",
|
|
101
101
|
]
|
|
102
102
|
|
|
103
103
|
def execute_fuzzy_find():
|
|
@@ -109,5 +109,7 @@ def find(
|
|
|
109
109
|
if fuzzy_return is None:
|
|
110
110
|
logger.info("Fuzzy found no element.")
|
|
111
111
|
return None
|
|
112
|
-
logger.info(
|
|
112
|
+
logger.info(
|
|
113
|
+
"Fuzzy found element by search term {}".format(fuzzy_return[1])
|
|
114
|
+
)
|
|
113
115
|
return fuzzy_return[0]
|
cucu/reporter/html.py
CHANGED
|
@@ -247,7 +247,9 @@ def generate(results, basepath, only_failures=False):
|
|
|
247
247
|
"__CUCU_HTML_REPORT_SCENARIO_SUBHEADER_HANDLER"
|
|
248
248
|
]:
|
|
249
249
|
try:
|
|
250
|
-
|
|
250
|
+
sub_header = handler(scenario, feature)
|
|
251
|
+
if sub_header:
|
|
252
|
+
sub_headers.append(sub_header)
|
|
251
253
|
except Exception:
|
|
252
254
|
logger.warning(
|
|
253
255
|
f'Exception while trying to run sub_headers hook for scenario: "{scenario["name"]}"\n{traceback.format_exc()}'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: cucu
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.12
|
|
4
4
|
Summary: Easy BDD web testing
|
|
5
5
|
Keywords: cucumber,selenium,behave
|
|
6
6
|
Author: Domino Data Lab, Rodney Gomes, Cedric Young, Xin Dong, Kavya Yakkati, Kevin Garton, Joy Liao
|
|
@@ -13,13 +13,13 @@ Classifier: License :: OSI Approved :: BSD License
|
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
14
|
Classifier: Natural Language :: English
|
|
15
15
|
Classifier: Topic :: Software Development :: Testing :: BDD
|
|
16
|
-
Requires-Dist: beautifulsoup4~=4.
|
|
16
|
+
Requires-Dist: beautifulsoup4~=4.14.2
|
|
17
17
|
Requires-Dist: behave==1.2.6
|
|
18
18
|
Requires-Dist: chromedriver-autoinstaller~=0.6.2
|
|
19
|
-
Requires-Dist: click~=8.
|
|
19
|
+
Requires-Dist: click~=8.3.0
|
|
20
20
|
Requires-Dist: coverage[toml]~=7.8
|
|
21
21
|
Requires-Dist: geckodriver-autoinstaller~=0.1.0
|
|
22
|
-
Requires-Dist: humanize~=4.
|
|
22
|
+
Requires-Dist: humanize~=4.13.0
|
|
23
23
|
Requires-Dist: importlib-metadata~=8.7.0
|
|
24
24
|
Requires-Dist: jellyfish>=1.1
|
|
25
25
|
Requires-Dist: jinja2~=3.1.3
|
|
@@ -7,7 +7,7 @@ cucu/browser/frames.py,sha256=IW7kzRJn5PkbMaovIelAeCWO-T-2sOTwqaYBw-0-LKU,3545
|
|
|
7
7
|
cucu/browser/selenium.py,sha256=eUC2DZkhUIZi70sVTaNE_0AhanGTceyx_pCLIT7PN6o,13299
|
|
8
8
|
cucu/browser/selenium_tweaks.py,sha256=oUIhWVhBZbc9qsmQUJMpIr9uUWKxtgZBcnySWU6Yttk,879
|
|
9
9
|
cucu/cli/__init__.py,sha256=uXX5yVG1konJ_INdlrcfMg-Tt_5_cSx29Ed8R8v908A,62
|
|
10
|
-
cucu/cli/core.py,sha256=
|
|
10
|
+
cucu/cli/core.py,sha256=gIc_r6qjfLxVvGiiJeSErdsXsoKWlhi9ca_EaBUx6fM,26673
|
|
11
11
|
cucu/cli/run.py,sha256=XIGIACPieywM5Mi3k_CycM9eiRElzGNZdHlV0_TDSVY,6118
|
|
12
12
|
cucu/cli/steps.py,sha256=lg5itVH_C-0_3RelWXv9X2qQUHggdxuxLCGwH5l1bf4,4210
|
|
13
13
|
cucu/cli/thread_dumper.py,sha256=Z3XnYSxidx6pqjlQ7zu-TKMIYZWk4z9c5YLdPkcemiU,1593
|
|
@@ -16,7 +16,7 @@ cucu/db.py,sha256=0aT4h1hGeToIBXlPoxkuB7dBpQ3lMlUHWfq-J3WJINA,14581
|
|
|
16
16
|
cucu/edgedriver_autoinstaller/README.md,sha256=tDkAWIqgRdCjt-oX1nYqikIC_FfiOEM2-pc5S5VbRLo,84
|
|
17
17
|
cucu/edgedriver_autoinstaller/__init__.py,sha256=fo6xJJPvcc5Xvni8epXfxDoPxJH5_b6Vk2jD9JTwfRs,969
|
|
18
18
|
cucu/edgedriver_autoinstaller/utils.py,sha256=iRKTww77CGaTAntt_QDvxlKPxpMU4otx95OeD97khcM,6802
|
|
19
|
-
cucu/environment.py,sha256=
|
|
19
|
+
cucu/environment.py,sha256=wjj-CA3i3sDi9G_sVzkIUgOv1CgBlwaePdUWIZQMBsw,11729
|
|
20
20
|
cucu/external/jquery/jquery-3.5.1.min.js,sha256=9_aliU8dGd2tb6OSsuzixeV4y_faTqgFtohetphbbj0,89476
|
|
21
21
|
cucu/formatter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
22
|
cucu/formatter/cucu.py,sha256=NRLFsd6xl3uwUk45ihKN2OEioOeAqeTURrcQgscDGnU,9351
|
|
@@ -24,7 +24,7 @@ cucu/formatter/json.py,sha256=fJ1dZBGwYD4OkhQFDE49MRKGNzsrhDzQYq-dUfsYh94,10589
|
|
|
24
24
|
cucu/formatter/junit.py,sha256=dCyS47iHOqn5AZjsRpWCsDRkxxJ67IZy3wIlE5jjhoM,10249
|
|
25
25
|
cucu/formatter/rundb.py,sha256=dKNlD-LXmrJ1Gm4OHI7Cs49eMuBGlBfwLz7NLISF5sg,7857
|
|
26
26
|
cucu/fuzzy/__init__.py,sha256=ce4JRmaBF6oab6U99Qbpt7DrD3elhH32__-ND6fw5xc,104
|
|
27
|
-
cucu/fuzzy/core.py,sha256
|
|
27
|
+
cucu/fuzzy/core.py,sha256=CMxS5XifmWNtuDacGA8SA6dAUNuFR71WrNzZ2uK0_vc,3395
|
|
28
28
|
cucu/fuzzy/fuzzy.js,sha256=7ppPmR8szoEQ2rfIsyTmtYDgTrNwXrP_g11y-qEITGk,13882
|
|
29
29
|
cucu/helpers.py,sha256=l_YMmbuXjtBRo-MER-qe6soUIyjt0ey2BoSgWs4zYwA,36285
|
|
30
30
|
cucu/hooks.py,sha256=3Z1mavU42XMQ0DZ7lVWwTB-BJYHRyYUOzzOtmkdIsow,7117
|
|
@@ -56,7 +56,7 @@ cucu/reporter/external/jquery-3.5.1.min.js,sha256=9_aliU8dGd2tb6OSsuzixeV4y_faTq
|
|
|
56
56
|
cucu/reporter/external/jquery.dataTables.min.js,sha256=XNhaB1tBOSFMHu96BSAJpZOJzfZ4SZI1nwAbnwry2UY,90265
|
|
57
57
|
cucu/reporter/external/popper.min.js,sha256=pS96pU17yq-gVu4KBQJi38VpSuKN7otMrDQprzf_DWY,19188
|
|
58
58
|
cucu/reporter/favicon.png,sha256=9ikXLAmzfQzy2NQps_8CGaZog2FvQrOX8nnSZ0e1UmM,2161
|
|
59
|
-
cucu/reporter/html.py,sha256=
|
|
59
|
+
cucu/reporter/html.py,sha256=I0eRj3FDQO6Oo1dWVmQ3wrDKqEuKC8mpUwdp5IJpDQU,19608
|
|
60
60
|
cucu/reporter/templates/feature.html,sha256=IBkwGiul-sRO5lT8q8VFXMUJx1owsAd1YbdDzziSjKw,3645
|
|
61
61
|
cucu/reporter/templates/flat.html,sha256=JGsMq-IWz6YUpJX9hcN65-15HxcX3NJclOmMDtW3HZE,2358
|
|
62
62
|
cucu/reporter/templates/index.html,sha256=xgPYNU-sozN-iOaEzyymoQ4LDRI75eHXngbAP0xDYls,2770
|
|
@@ -88,7 +88,7 @@ cucu/steps/text_steps.py,sha256=Jj_GHoHeemNwVdUOdqcehArNp7WM-WMjljA4w0pLXuw,2576
|
|
|
88
88
|
cucu/steps/variable_steps.py,sha256=WSctH3_xcxjijGPYZlxp-foC_SIAAKtF__saNtgZJbk,2966
|
|
89
89
|
cucu/steps/webserver_steps.py,sha256=wWkpSvcSMdiskPkh4cqlepWx1nkvEpTU2tRXQmPDbyo,1410
|
|
90
90
|
cucu/utils.py,sha256=LCcs8sMzvdvH05N8P5QYO4lO6j-_PQC530mEAD96go8,10957
|
|
91
|
-
cucu-1.3.
|
|
92
|
-
cucu-1.3.
|
|
93
|
-
cucu-1.3.
|
|
94
|
-
cucu-1.3.
|
|
91
|
+
cucu-1.3.12.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
92
|
+
cucu-1.3.12.dist-info/entry_points.txt,sha256=11WRIhQM7LuUnQg1lAoZQoNvvBvYNN1maDgQS4djwJo,40
|
|
93
|
+
cucu-1.3.12.dist-info/METADATA,sha256=Dll_GwbkRROSj58VKzcldTeZYm9LY76Vjuer6EOWInI,16722
|
|
94
|
+
cucu-1.3.12.dist-info/RECORD,,
|
|
File without changes
|