fix: install cypress-split when running tests

This commit is contained in:
Saqib Ansari 2026-03-19 13:03:30 +05:30
parent 4c68fae18c
commit c485bacbcd
3 changed files with 15 additions and 1559 deletions

View file

@ -480,6 +480,7 @@ def run_ui_tests(
real_events_plugin_path = f"{node_bin}/../cypress-real-events"
testing_library_path = f"{node_bin}/../@testing-library"
coverage_plugin_path = f"{node_bin}/../@cypress/code-coverage"
cypress_split_path = f"{node_bin}/../cypress-split"
# check if cypress in path...if not, install it.
if not (
@ -488,6 +489,7 @@ def run_ui_tests(
and os.path.exists(real_events_plugin_path)
and os.path.exists(testing_library_path)
and os.path.exists(coverage_plugin_path)
and os.path.exists(cypress_split_path)
):
# install cypress & dependent plugins
click.secho("Installing Cypress...", fg="yellow")
@ -499,6 +501,7 @@ def run_ui_tests(
"@testing-library/cypress@^10",
"@testing-library/dom@8.17.1",
"@cypress/code-coverage@^3",
"cypress-split@^1.0.0",
]
)

View file

@ -45,7 +45,6 @@
"cookie": "^0.7.0",
"cropperjs": "^1.5.12",
"cssnano": "^5.0.0",
"cypress-split": "^1.24.28",
"driver.js": "^0.9.8",
"editorjs-undo": "0.1.6",
"esbuild": "^0.14.29",

1570
yarn.lock

File diff suppressed because it is too large Load diff