From 02a7217c65b0aa55dfae3ed3f35fa3d0d0773a5c Mon Sep 17 00:00:00 2001 From: Thomas Hohn Date: Thu, 10 Apr 2025 16:52:30 +0200 Subject: [PATCH 1/3] Bump various minor versions to keeps deps updated --- package.json | 18 ++--- .../custom-reporter-plugin/output/result.json | 67 +++++++++++++++++++ 2 files changed, 76 insertions(+), 9 deletions(-) create mode 100644 test/data/sandbox/configs/custom-reporter-plugin/output/result.json diff --git a/package.json b/package.json index 112de68e7..99bdc3458 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "@codeceptjs/configure": "1.0.4", "@codeceptjs/helper": "2.0.4", "@cucumber/cucumber-expressions": "18", - "@cucumber/gherkin": "32", + "@cucumber/gherkin": "32.1.0", "@cucumber/messages": "27.2.0", "@xmldom/xmldom": "0.9.8", "acorn": "8.14.1", @@ -124,7 +124,7 @@ "@codeceptjs/expect-helper": "^1.0.2", "@codeceptjs/mock-request": "0.3.1", "@eslint/eslintrc": "3.3.1", - "@eslint/js": "9.23.0", + "@eslint/js": "9.24.0", "@faker-js/faker": "9.6.0", "@pollyjs/adapter-puppeteer": "6.0.6", "@pollyjs/core": "6.0.6", @@ -133,14 +133,14 @@ "@types/node": "22.14.0", "@wdio/sauce-service": "9.12.4", "@wdio/selenium-standalone-service": "8.15.0", - "@wdio/utils": "9.12.2", + "@wdio/utils": "9.12.3", "@xmldom/xmldom": "0.9.8", "chai": "^4.0.0", "chai-as-promised": "7.1.2", "chai-subset": "1.6.0", "documentation": "14.0.3", - "electron": "35.1.4", - "eslint": "^9.21.0", + "electron": "35.1.5", + "eslint": "^9.24.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-mocha": "10.5.0", "expect": "29.7.0", @@ -155,7 +155,7 @@ "json-server": "0.17.4", "playwright": "1.51.1", "prettier": "^3.3.2", - "puppeteer": "24.5.0", + "puppeteer": "24.6.1", "qrcode-terminal": "0.12.0", "rosie": "2.1.1", "runok": "0.9.3", @@ -165,13 +165,13 @@ "testcafe": "3.7.2", "ts-morph": "25.0.1", "ts-node": "10.9.2", - "tsd": "^0.31.0", + "tsd": "^0.32.0", "tsd-jsdoc": "2.5.0", "typedoc": "0.28.2", - "typedoc-plugin-markdown": "4.6.1", + "typedoc-plugin-markdown": "4.6.2", "typescript": "5.8.3", "wdio-docker-service": "3.2.1", - "webdriverio": "9.12.2", + "webdriverio": "9.12.4", "xml2js": "0.6.2", "xpath": "0.0.34" }, diff --git a/test/data/sandbox/configs/custom-reporter-plugin/output/result.json b/test/data/sandbox/configs/custom-reporter-plugin/output/result.json new file mode 100644 index 000000000..4adf2c09f --- /dev/null +++ b/test/data/sandbox/configs/custom-reporter-plugin/output/result.json @@ -0,0 +1,67 @@ +{ + "hasFailed": true, + "stats": { + "passes": 0, + "failures": 1, + "tests": 1, + "pending": 0, + "failedHooks": 0, + "start": "2025-04-10T14:47:37.568Z", + "end": "2025-04-10T14:47:37.577Z", + "duration": 9 + }, + "duration": 17, + "tests": [ + { + "opts": {}, + "tags": [], + "uid": "7NxSU6hWX0tj5d6GGxCtwSpDCOTsK3ggAD33fv7kzE", + "retries": -1, + "title": "test custom-reporter-plugin", + "state": "failed", + "notes": [], + "meta": {}, + "artifacts": [], + "duration": 1, + "err": { + "stack": "AssertionError [ERR_ASSERTION]: \n at FileSystem.seeFile (/Volumes/dev/external-repos/codecept-js/CodeceptJS/lib/helper/FileSystem.js:70:12)\n at HelperStep.run (/Volumes/dev/external-repos/codecept-js/CodeceptJS/lib/step/helper.js:28:49)\n\n\n◯ File: /Volumes/dev/external-repos/codecept-js/CodeceptJS/test/data/sandbox/configs/custom-reporter-plugin/custom-reporter-plugin_test.js\n\n◯ Scenario Steps:\n✖ I.seeFile(\"this-file-should-not-exist.txt\") at Test. (./custom-reporter-plugin_test.js:13:5)\n✔ I.amInPath(\".\") at Test. (./custom-reporter-plugin_test.js:12:5)\n", + "message": "\n File this-file-should-not-exist.txt not found in /Volumes/dev/external-repos/codecept-js/CodeceptJS/test/data/sandbox/configs/custom-reporter-plugin", + "actual": "false", + "expected": "true" + }, + "parent": { + "title": "custom-reporter-plugin" + }, + "steps": [ + { + "opts": {}, + "title": "seeFile", + "args": ["this-file-should-not-exist.txt"], + "status": "failed", + "startTime": 1744296457574, + "endTime": 1744296457575, + "parent": {} + }, + { + "opts": {}, + "title": "amInPath", + "args": ["."], + "status": "success", + "startTime": 1744296457574, + "endTime": 1744296457574, + "parent": {} + } + ] + } + ], + "failures": [ + [], + [ + " %s) %s:\n%s\n%s\n", + 1, + "custom-reporter-plugin\n test custom-reporter-plugin", + "\n \n File this-file-should-not-exist.txt not found in /Volumes/dev/external-repos/codecept-js/CodeceptJS/test/data/sandbox/configs/custom-reporter-plugin\n + expected - actual\n\n -false\n +true\n ", + " AssertionError [ERR_ASSERTION]: \n at FileSystem.seeFile (/Volumes/dev/external-repos/codecept-js/CodeceptJS/lib/helper/FileSystem.js:70:12)\n at HelperStep.run (/Volumes/dev/external-repos/codecept-js/CodeceptJS/lib/step/helper.js:28:49)\n \n \n ◯ File: /Volumes/dev/external-repos/codecept-js/CodeceptJS/test/data/sandbox/configs/custom-reporter-plugin/custom-reporter-plugin_test.js\n \n ◯ Scenario Steps:\n ✖ I.seeFile(\"this-file-should-not-exist.txt\") at Test. (./custom-reporter-plugin_test.js:13:5)\n ✔ I.amInPath(\".\") at Test. (./custom-reporter-plugin_test.js:12:5)\n " + ] + ] +} From 66b40b248058ee82e2ea895fbc00224f4c12b14d Mon Sep 17 00:00:00 2001 From: Thomas Hohn Date: Thu, 10 Apr 2025 17:05:53 +0200 Subject: [PATCH 2/3] Trigger Build From ec528941f5b4a75bf63c1fa0e00325a1e5587b38 Mon Sep 17 00:00:00 2001 From: Thomas Hohn Date: Fri, 11 Apr 2025 05:41:53 +0200 Subject: [PATCH 3/3] Removed result.json and added it to .gitignore --- .gitignore | 1 + .../custom-reporter-plugin/output/result.json | 67 ------------------- 2 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 test/data/sandbox/configs/custom-reporter-plugin/output/result.json diff --git a/.gitignore b/.gitignore index 899a0b988..fc1f70320 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ examples/output examples/selenoid-example/output test/data/app/db test/data/sandbox/steps.d.ts +test/data/sandbox/configs/custom-reporter-plugin/output/result.json testpullfilecache* .DS_Store package-lock.json diff --git a/test/data/sandbox/configs/custom-reporter-plugin/output/result.json b/test/data/sandbox/configs/custom-reporter-plugin/output/result.json deleted file mode 100644 index 4adf2c09f..000000000 --- a/test/data/sandbox/configs/custom-reporter-plugin/output/result.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "hasFailed": true, - "stats": { - "passes": 0, - "failures": 1, - "tests": 1, - "pending": 0, - "failedHooks": 0, - "start": "2025-04-10T14:47:37.568Z", - "end": "2025-04-10T14:47:37.577Z", - "duration": 9 - }, - "duration": 17, - "tests": [ - { - "opts": {}, - "tags": [], - "uid": "7NxSU6hWX0tj5d6GGxCtwSpDCOTsK3ggAD33fv7kzE", - "retries": -1, - "title": "test custom-reporter-plugin", - "state": "failed", - "notes": [], - "meta": {}, - "artifacts": [], - "duration": 1, - "err": { - "stack": "AssertionError [ERR_ASSERTION]: \n at FileSystem.seeFile (/Volumes/dev/external-repos/codecept-js/CodeceptJS/lib/helper/FileSystem.js:70:12)\n at HelperStep.run (/Volumes/dev/external-repos/codecept-js/CodeceptJS/lib/step/helper.js:28:49)\n\n\n◯ File: /Volumes/dev/external-repos/codecept-js/CodeceptJS/test/data/sandbox/configs/custom-reporter-plugin/custom-reporter-plugin_test.js\n\n◯ Scenario Steps:\n✖ I.seeFile(\"this-file-should-not-exist.txt\") at Test. (./custom-reporter-plugin_test.js:13:5)\n✔ I.amInPath(\".\") at Test. (./custom-reporter-plugin_test.js:12:5)\n", - "message": "\n File this-file-should-not-exist.txt not found in /Volumes/dev/external-repos/codecept-js/CodeceptJS/test/data/sandbox/configs/custom-reporter-plugin", - "actual": "false", - "expected": "true" - }, - "parent": { - "title": "custom-reporter-plugin" - }, - "steps": [ - { - "opts": {}, - "title": "seeFile", - "args": ["this-file-should-not-exist.txt"], - "status": "failed", - "startTime": 1744296457574, - "endTime": 1744296457575, - "parent": {} - }, - { - "opts": {}, - "title": "amInPath", - "args": ["."], - "status": "success", - "startTime": 1744296457574, - "endTime": 1744296457574, - "parent": {} - } - ] - } - ], - "failures": [ - [], - [ - " %s) %s:\n%s\n%s\n", - 1, - "custom-reporter-plugin\n test custom-reporter-plugin", - "\n \n File this-file-should-not-exist.txt not found in /Volumes/dev/external-repos/codecept-js/CodeceptJS/test/data/sandbox/configs/custom-reporter-plugin\n + expected - actual\n\n -false\n +true\n ", - " AssertionError [ERR_ASSERTION]: \n at FileSystem.seeFile (/Volumes/dev/external-repos/codecept-js/CodeceptJS/lib/helper/FileSystem.js:70:12)\n at HelperStep.run (/Volumes/dev/external-repos/codecept-js/CodeceptJS/lib/step/helper.js:28:49)\n \n \n ◯ File: /Volumes/dev/external-repos/codecept-js/CodeceptJS/test/data/sandbox/configs/custom-reporter-plugin/custom-reporter-plugin_test.js\n \n ◯ Scenario Steps:\n ✖ I.seeFile(\"this-file-should-not-exist.txt\") at Test. (./custom-reporter-plugin_test.js:13:5)\n ✔ I.amInPath(\".\") at Test. (./custom-reporter-plugin_test.js:12:5)\n " - ] - ] -}