fix: Use yarn to figure out bin path instead of npm
Npm v9 doesn't have bin anymore. This causes run-ui-tests to fail refs: - https://docs.npmjs.com/cli/v8/commands/npm-bin - https://yarnpkg.com/cli/bin
This commit is contained in:
parent
c3e526b475
commit
01cc586e20
1 changed files with 1 additions and 1 deletions
|
|
@ -908,7 +908,7 @@ def run_ui_tests(
|
|||
|
||||
os.chdir(app_base_path)
|
||||
|
||||
node_bin = subprocess.getoutput("npm bin")
|
||||
node_bin = subprocess.getoutput("yarn bin")
|
||||
cypress_path = f"{node_bin}/cypress"
|
||||
drag_drop_plugin_path = f"{node_bin}/../@4tw/cypress-drag-drop"
|
||||
real_events_plugin_path = f"{node_bin}/../cypress-real-events"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue