From 32b2bfe137eb6caa855e3463db17a0816ca0eac7 Mon Sep 17 00:00:00 2001 From: Mike Han Date: Thu, 21 Nov 2024 11:59:54 -0700 Subject: [PATCH] Is the reporter causing issues? --- src/cucumber-runner.ts | 4 +- .../fixtures/cloud/cucumber/package-lock.json | 131 ------------------ tests/fixtures/cloud/cucumber/package.json | 1 - 3 files changed, 2 insertions(+), 134 deletions(-) diff --git a/src/cucumber-runner.ts b/src/cucumber-runner.ts index f356fd0b..46cf6985 100644 --- a/src/cucumber-runner.ts +++ b/src/cucumber-runner.ts @@ -19,8 +19,8 @@ function buildArgs(runCfg: CucumberRunnerConfig, cucumberBin: string) { '--force-exit', '--require-module', 'ts-node/register', - '--format', - '@saucelabs/cucumber-reporter', + // '--format', + // '@saucelabs/cucumber-reporter', '--format-options', JSON.stringify(buildFormatOption(runCfg)), ]; diff --git a/tests/fixtures/cloud/cucumber/package-lock.json b/tests/fixtures/cloud/cucumber/package-lock.json index 25889991..3850838f 100644 --- a/tests/fixtures/cloud/cucumber/package-lock.json +++ b/tests/fixtures/cloud/cucumber/package-lock.json @@ -7,7 +7,6 @@ "dependencies": { "@cucumber/cucumber": "11.1.0", "@playwright/test": "1.48.2", - "@saucelabs/cucumber-reporter": "^1.2.0", "pretty-seconds": "^3.0.1", "ts-node": "10.9.2", "typescript": "^5.6.3" @@ -376,37 +375,6 @@ "node": ">=18" } }, - "node_modules/@saucelabs/cucumber-reporter": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@saucelabs/cucumber-reporter/-/cucumber-reporter-1.2.0.tgz", - "integrity": "sha512-JMguoG7wHhVkYRf/I2nfAGBy1aQOlIHLimq9T2YyVIOCMULHHPcFHcpUYNVRpQnlZJ64SpdV2kM5GAFk3ENclQ==", - "license": "MIT", - "dependencies": { - "@saucelabs/sauce-json-reporter": "4.1.0", - "@saucelabs/testcomposer": "3.0.1" - } - }, - "node_modules/@saucelabs/sauce-json-reporter": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@saucelabs/sauce-json-reporter/-/sauce-json-reporter-4.1.0.tgz", - "integrity": "sha512-UhqXXsaW4yRA/7v10qeCp1B7tIw09fghsNIr2wuU93XhbkqxXmMJTYItqFX66k1JJSEzHsay8Md7sTkUlJfV6Q==", - "engines": { - "node": ">=16.13.2" - } - }, - "node_modules/@saucelabs/testcomposer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@saucelabs/testcomposer/-/testcomposer-3.0.1.tgz", - "integrity": "sha512-4Ye6v09vXsxud89YSoQ1Ag6JFUsZUTYYMZtOux/S1sUch2nN9jkhb4Itn6PxmUqwA7vjMNII8qHOPdLByEFQhA==", - "license": "Apache-2.0", - "dependencies": { - "axios": "^1.7.5", - "form-data": "^4.0.0" - }, - "engines": { - "node": ">=16.13.2" - } - }, "node_modules/@teppeis/multimaps": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@teppeis/multimaps/-/multimaps-3.0.0.tgz", @@ -531,12 +499,6 @@ "repeat-string": "^1.6.1" } }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "license": "MIT" - }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", @@ -552,17 +514,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -673,18 +624,6 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/commander": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", @@ -762,15 +701,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", @@ -863,26 +793,6 @@ "node": ">=8" } }, - "node_modules/follow-redirects": { - "version": "1.15.9", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", - "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "license": "MIT", - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, "node_modules/for-each": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", @@ -908,20 +818,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/form-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", - "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/fsevents": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", @@ -1370,27 +1266,6 @@ "node": ">=10.0.0" } }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/minimatch": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", @@ -1709,12 +1584,6 @@ "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.6.tgz", "integrity": "sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA==" }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "license": "MIT" - }, "node_modules/read-pkg": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", diff --git a/tests/fixtures/cloud/cucumber/package.json b/tests/fixtures/cloud/cucumber/package.json index ff009e8b..b1436c8b 100644 --- a/tests/fixtures/cloud/cucumber/package.json +++ b/tests/fixtures/cloud/cucumber/package.json @@ -2,7 +2,6 @@ "dependencies": { "@cucumber/cucumber": "11.1.0", "@playwright/test": "1.48.2", - "@saucelabs/cucumber-reporter": "^1.2.0", "pretty-seconds": "^3.0.1", "ts-node": "10.9.2", "typescript": "^5.6.3"