我Cypress从升级9.5.2到10.3.0,之前我使用cypress-cucumber-preprocessor:4.3.1现在我将其升级到@badeball/cypress-cucumber-preprocessor:^11.4.0。
升级之前,我使用cypress-tags命令来运行测试
npx cypress-tags run --env TAGS="@regression" --browser chrome
Run Code Online (Sandbox Code Playgroud)
但升级后它给我带来了以下错误。
npm ERR! could not determine executable to run
Run Code Online (Sandbox Code Playgroud)
请找到下面的示例功能
Feature: Login Features
@regression
Scenario: Test sample login
Given I login to the website as "testUser"
Run Code Online (Sandbox Code Playgroud)
有人可以帮助我获得基于最新 Cypress 和 Cucumber 标签运行测试的替代选项吗?