diff --git a/package-lock.json b/package-lock.json index fe5e1b0..89a5702 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,6 +26,7 @@ "portscanner": "^2.2.0" }, "devDependencies": { + "@appium/types": "^0.20.3", "@testing-library/webdriverio": "^3.2.1", "@types/mocha": "^10.0.6", "@wdio/appium-service": "^8.38.0", @@ -63,17 +64,17 @@ } }, "node_modules/@appium/base-driver": { - "version": "9.9.0", - "resolved": "https://registry.npmjs.org/@appium/base-driver/-/base-driver-9.9.0.tgz", - "integrity": "sha512-8NxLExpq6jS5+vEQT7elEvJGvlScv5BqAOqf80QNO2dYL5dMpTLDWmUarBnX9uWU4MJ/jFrVjCoGZsEwZ2xOfg==", + "version": "9.10.3", + "resolved": "https://registry.npmjs.org/@appium/base-driver/-/base-driver-9.10.3.tgz", + "integrity": "sha512-xPv2StYa8hHzgXF70bvQtc/5dOdqCR1DcwwSjSTOt49FTPGg6bYCSSobAfdHr80iR/alwNXe66qVkiOn1rO1iw==", "dependencies": { - "@appium/support": "^4.5.0", - "@appium/types": "^0.19.2", + "@appium/support": "^5.0.3", + "@appium/types": "^0.20.3", "@colors/colors": "1.6.0", "@types/async-lock": "1.4.2", "@types/bluebird": "3.5.42", "@types/express": "4.17.21", - "@types/lodash": "4.17.4", + "@types/lodash": "4.17.5", "@types/method-override": "0.0.35", "@types/serve-favicon": "2.5.7", "async-lock": "1.4.1", @@ -90,7 +91,7 @@ "path-to-regexp": "6.2.2", "serve-favicon": "2.5.0", "source-map-support": "0.5.21", - "type-fest": "4.19.0", + "type-fest": "4.20.0", "validate.js": "0.13.1" }, "engines": { @@ -101,27 +102,183 @@ "spdy": "4.0.2" } }, + "node_modules/@appium/base-driver/node_modules/@appium/support": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@appium/support/-/support-5.0.3.tgz", + "integrity": "sha512-MCfaP3lg6WyRlBqk2yKr2q51tYhHBbOpJKX9rcHaFenlvf6lCKTrdazY4U/GP8MzW7/RxQE4l8jCJUXomLRfbQ==", + "dependencies": { + "@appium/logger": "^1.4.2", + "@appium/tsconfig": "^0.3.3", + "@appium/types": "^0.20.3", + "@colors/colors": "1.6.0", + "@types/archiver": "6.0.2", + "@types/base64-stream": "1.0.5", + "@types/find-root": "1.1.4", + "@types/jsftp": "2.1.5", + "@types/klaw": "3.0.6", + "@types/lockfile": "1.0.4", + "@types/mv": "2.1.4", + "@types/ncp": "2.0.8", + "@types/pluralize": "0.0.33", + "@types/semver": "7.5.8", + "@types/shell-quote": "1.7.5", + "@types/supports-color": "8.1.3", + "@types/teen_process": "2.0.4", + "@types/uuid": "9.0.8", + "@types/which": "3.0.4", + "archiver": "7.0.1", + "axios": "1.7.2", + "base64-stream": "1.0.0", + "bluebird": "3.7.2", + "bplist-creator": "0.1.1", + "bplist-parser": "0.3.2", + "form-data": "4.0.0", + "get-stream": "6.0.1", + "glob": "10.4.1", + "jsftp": "2.1.3", + "klaw": "4.1.0", + "lockfile": "1.0.4", + "lodash": "4.17.21", + "log-symbols": "4.1.0", + "moment": "2.30.1", + "mv": "2.1.1", + "ncp": "2.0.0", + "opencv-bindings": "4.5.5", + "pkg-dir": "5.0.0", + "plist": "3.1.0", + "pluralize": "8.0.0", + "read-pkg": "5.2.0", + "resolve-from": "5.0.0", + "sanitize-filename": "1.6.3", + "semver": "7.6.2", + "shell-quote": "1.8.1", + "source-map-support": "0.5.21", + "supports-color": "8.1.1", + "teen_process": "2.1.4", + "type-fest": "4.20.0", + "uuid": "9.0.1", + "which": "4.0.0", + "yauzl": "3.1.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0", + "npm": ">=8" + }, + "optionalDependencies": { + "sharp": "0.33.4" + } + }, + "node_modules/@appium/base-driver/node_modules/type-fest": { + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.20.0.tgz", + "integrity": "sha512-MBh+PHUHHisjXf4tlx0CFWoMdjx8zCMLJHOjnV1prABYZFHqtFOyauCIK2/7w4oIfwkF8iNhLtnJEfVY2vn3iw==", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@appium/base-plugin": { - "version": "2.2.35", - "resolved": "https://registry.npmjs.org/@appium/base-plugin/-/base-plugin-2.2.35.tgz", - "integrity": "sha512-QqH/HFCXLTarLa8+KRTPowl/5VY4Esh5pGrRHXroKSJc23Fi3aE6AXEgUU8GuBDoPAKeom0AksmSILCHWS+EQQ==", + "version": "2.2.39", + "resolved": "https://registry.npmjs.org/@appium/base-plugin/-/base-plugin-2.2.39.tgz", + "integrity": "sha512-IP97zRJ3CiHqcIqFRk+3giyQVa76FEzSKJMtQW0rtDlELq4eRKbvTgOkIK0+U8uSDCKDzlklhjQ/36unSyzD9g==", "peer": true, "dependencies": { - "@appium/base-driver": "^9.9.0", - "@appium/support": "^4.5.0" + "@appium/base-driver": "^9.10.3", + "@appium/support": "^5.0.3" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0", "npm": ">=8" } }, + "node_modules/@appium/base-plugin/node_modules/@appium/support": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@appium/support/-/support-5.0.3.tgz", + "integrity": "sha512-MCfaP3lg6WyRlBqk2yKr2q51tYhHBbOpJKX9rcHaFenlvf6lCKTrdazY4U/GP8MzW7/RxQE4l8jCJUXomLRfbQ==", + "peer": true, + "dependencies": { + "@appium/logger": "^1.4.2", + "@appium/tsconfig": "^0.3.3", + "@appium/types": "^0.20.3", + "@colors/colors": "1.6.0", + "@types/archiver": "6.0.2", + "@types/base64-stream": "1.0.5", + "@types/find-root": "1.1.4", + "@types/jsftp": "2.1.5", + "@types/klaw": "3.0.6", + "@types/lockfile": "1.0.4", + "@types/mv": "2.1.4", + "@types/ncp": "2.0.8", + "@types/pluralize": "0.0.33", + "@types/semver": "7.5.8", + "@types/shell-quote": "1.7.5", + "@types/supports-color": "8.1.3", + "@types/teen_process": "2.0.4", + "@types/uuid": "9.0.8", + "@types/which": "3.0.4", + "archiver": "7.0.1", + "axios": "1.7.2", + "base64-stream": "1.0.0", + "bluebird": "3.7.2", + "bplist-creator": "0.1.1", + "bplist-parser": "0.3.2", + "form-data": "4.0.0", + "get-stream": "6.0.1", + "glob": "10.4.1", + "jsftp": "2.1.3", + "klaw": "4.1.0", + "lockfile": "1.0.4", + "lodash": "4.17.21", + "log-symbols": "4.1.0", + "moment": "2.30.1", + "mv": "2.1.1", + "ncp": "2.0.0", + "opencv-bindings": "4.5.5", + "pkg-dir": "5.0.0", + "plist": "3.1.0", + "pluralize": "8.0.0", + "read-pkg": "5.2.0", + "resolve-from": "5.0.0", + "sanitize-filename": "1.6.3", + "semver": "7.6.2", + "shell-quote": "1.8.1", + "source-map-support": "0.5.21", + "supports-color": "8.1.1", + "teen_process": "2.1.4", + "type-fest": "4.20.0", + "uuid": "9.0.1", + "which": "4.0.0", + "yauzl": "3.1.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0", + "npm": ">=8" + }, + "optionalDependencies": { + "sharp": "0.33.4" + } + }, + "node_modules/@appium/base-plugin/node_modules/type-fest": { + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.20.0.tgz", + "integrity": "sha512-MBh+PHUHHisjXf4tlx0CFWoMdjx8zCMLJHOjnV1prABYZFHqtFOyauCIK2/7w4oIfwkF8iNhLtnJEfVY2vn3iw==", + "peer": true, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@appium/docutils": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@appium/docutils/-/docutils-1.0.11.tgz", - "integrity": "sha512-hwFPdJLFZHUTBwZ0p+R1XPxGmJJ+hjjH8uy8454knMT+WqzKeZNxFyVQZYvFdy5imEk3EvDnMNXSEcacy/wOsw==", + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@appium/docutils/-/docutils-1.0.15.tgz", + "integrity": "sha512-R8gxGLdtZIKkhOfz4ZuwYMO1K9xdZJm0UWRua3bkoifugkgInFdXNJT4y+UBOP39DvlV1qGYKS0euvPdoN8KQw==", "peer": true, "dependencies": { - "@appium/support": "^4.5.0", + "@appium/support": "^5.0.3", "@appium/tsconfig": "^0.3.3", "@sliphua/lilconfig-ts-loader": "3.2.2", "@types/which": "3.0.4", @@ -129,16 +286,16 @@ "consola": "3.2.3", "diff": "5.2.0", "json5": "2.2.3", - "lilconfig": "3.1.1", + "lilconfig": "3.1.2", "lodash": "4.17.21", "pkg-dir": "5.0.0", "read-pkg": "5.2.0", "semver": "7.6.2", "source-map-support": "0.5.21", "teen_process": "2.1.4", - "type-fest": "4.19.0", + "type-fest": "4.20.0", "typescript": "5.4.5", - "yaml": "2.4.3", + "yaml": "2.4.5", "yargs": "17.7.2", "yargs-parser": "21.1.1" }, @@ -150,12 +307,92 @@ "npm": ">=8" } }, + "node_modules/@appium/docutils/node_modules/@appium/support": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@appium/support/-/support-5.0.3.tgz", + "integrity": "sha512-MCfaP3lg6WyRlBqk2yKr2q51tYhHBbOpJKX9rcHaFenlvf6lCKTrdazY4U/GP8MzW7/RxQE4l8jCJUXomLRfbQ==", + "peer": true, + "dependencies": { + "@appium/logger": "^1.4.2", + "@appium/tsconfig": "^0.3.3", + "@appium/types": "^0.20.3", + "@colors/colors": "1.6.0", + "@types/archiver": "6.0.2", + "@types/base64-stream": "1.0.5", + "@types/find-root": "1.1.4", + "@types/jsftp": "2.1.5", + "@types/klaw": "3.0.6", + "@types/lockfile": "1.0.4", + "@types/mv": "2.1.4", + "@types/ncp": "2.0.8", + "@types/pluralize": "0.0.33", + "@types/semver": "7.5.8", + "@types/shell-quote": "1.7.5", + "@types/supports-color": "8.1.3", + "@types/teen_process": "2.0.4", + "@types/uuid": "9.0.8", + "@types/which": "3.0.4", + "archiver": "7.0.1", + "axios": "1.7.2", + "base64-stream": "1.0.0", + "bluebird": "3.7.2", + "bplist-creator": "0.1.1", + "bplist-parser": "0.3.2", + "form-data": "4.0.0", + "get-stream": "6.0.1", + "glob": "10.4.1", + "jsftp": "2.1.3", + "klaw": "4.1.0", + "lockfile": "1.0.4", + "lodash": "4.17.21", + "log-symbols": "4.1.0", + "moment": "2.30.1", + "mv": "2.1.1", + "ncp": "2.0.0", + "opencv-bindings": "4.5.5", + "pkg-dir": "5.0.0", + "plist": "3.1.0", + "pluralize": "8.0.0", + "read-pkg": "5.2.0", + "resolve-from": "5.0.0", + "sanitize-filename": "1.6.3", + "semver": "7.6.2", + "shell-quote": "1.8.1", + "source-map-support": "0.5.21", + "supports-color": "8.1.1", + "teen_process": "2.1.4", + "type-fest": "4.20.0", + "uuid": "9.0.1", + "which": "4.0.0", + "yauzl": "3.1.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0", + "npm": ">=8" + }, + "optionalDependencies": { + "sharp": "0.33.4" + } + }, + "node_modules/@appium/docutils/node_modules/type-fest": { + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.20.0.tgz", + "integrity": "sha512-MBh+PHUHHisjXf4tlx0CFWoMdjx8zCMLJHOjnV1prABYZFHqtFOyauCIK2/7w4oIfwkF8iNhLtnJEfVY2vn3iw==", + "peer": true, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@appium/logger": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@appium/logger/-/logger-1.3.0.tgz", - "integrity": "sha512-5Lg1ENylU/vcPuzlMEnJixCUk10M4SUDdURZhZoKQvAo0tpaGFnrX9ZiJa7x+nWNGG9EUvNLX1tgTcygqDY9mg==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@appium/logger/-/logger-1.4.2.tgz", + "integrity": "sha512-ifHuA4wuBa8xLx77lYhYmNi9qNPuGb1QgUQreME58Ugh5K2M6C+4xq6dD9KiQpHf0sy64m8fflxy24jrRPJ8ZA==", "dependencies": { "console-control-strings": "1.1.0", + "lodash": "4.17.21", "set-blocking": "2.0.0" }, "engines": { @@ -164,9 +401,9 @@ } }, "node_modules/@appium/schema": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@appium/schema/-/schema-0.5.0.tgz", - "integrity": "sha512-HFed9HtFU6+kLdVyp/xpS/Wfcge8PuMS37LJVShviT6OuzHOYvNFx1/y8+KMa/l0Npvll5eafdfHmUsWlRnUAA==", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@appium/schema/-/schema-0.6.1.tgz", + "integrity": "sha512-tk4ytYaQQ94h5pqz97V2yKqZAmGnBd4ld50ZEw4Tt8QL2VBXOuTuizKDH+AMpyyL6hn/+dMFtcSVjy19iKrsUg==", "dependencies": { "@types/json-schema": "7.0.15", "json-schema": "0.4.0", @@ -243,19 +480,21 @@ "sharp": "0.33.4" } }, - "node_modules/@appium/tsconfig": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@appium/tsconfig/-/tsconfig-0.3.3.tgz", - "integrity": "sha512-Lk2M2NWVY2M8SIE1PTDVvj1NEuV4lze8yzPDSmklhkJSPDPrOCx7PkDziyjIycQBXy0ficd5CNwNDvdOD1Ym2w==", + "node_modules/@appium/support/node_modules/@appium/schema": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@appium/schema/-/schema-0.5.0.tgz", + "integrity": "sha512-HFed9HtFU6+kLdVyp/xpS/Wfcge8PuMS37LJVShviT6OuzHOYvNFx1/y8+KMa/l0Npvll5eafdfHmUsWlRnUAA==", "dependencies": { - "@tsconfig/node14": "14.1.2" + "@types/json-schema": "7.0.15", + "json-schema": "0.4.0", + "source-map-support": "0.5.21" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0", "npm": ">=8" } }, - "node_modules/@appium/types": { + "node_modules/@appium/support/node_modules/@appium/types": { "version": "0.19.2", "resolved": "https://registry.npmjs.org/@appium/types/-/types-0.19.2.tgz", "integrity": "sha512-u4oHR8TaFK3uyptgOT26/u3zQU5N6vh652OHIpRDJ78EDWgCWXLfIA6YdF8tA8YMrvZHhRpX9om04+9l8wSXyA==", @@ -272,6 +511,46 @@ "npm": ">=8" } }, + "node_modules/@appium/tsconfig": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@appium/tsconfig/-/tsconfig-0.3.3.tgz", + "integrity": "sha512-Lk2M2NWVY2M8SIE1PTDVvj1NEuV4lze8yzPDSmklhkJSPDPrOCx7PkDziyjIycQBXy0ficd5CNwNDvdOD1Ym2w==", + "dependencies": { + "@tsconfig/node14": "14.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0", + "npm": ">=8" + } + }, + "node_modules/@appium/types": { + "version": "0.20.3", + "resolved": "https://registry.npmjs.org/@appium/types/-/types-0.20.3.tgz", + "integrity": "sha512-5PTxTAyMvJbSY1ByBiXbnaLOejjPh2B0X+jadoOu6dciuPYMt+12yaH9yk/FfpFI4E7v/tbe1Vov5K/aIKm/jA==", + "dependencies": { + "@appium/logger": "^1.4.2", + "@appium/schema": "^0.6.1", + "@appium/tsconfig": "^0.3.3", + "@types/express": "4.17.21", + "@types/ws": "8.5.10", + "type-fest": "4.20.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0", + "npm": ">=8" + } + }, + "node_modules/@appium/types/node_modules/type-fest": { + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.20.0.tgz", + "integrity": "sha512-MBh+PHUHHisjXf4tlx0CFWoMdjx8zCMLJHOjnV1prABYZFHqtFOyauCIK2/7w4oIfwkF8iNhLtnJEfVY2vn3iw==", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@babel/code-frame": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", @@ -2602,9 +2881,9 @@ "integrity": "sha512-Q8oFIHJHr+htLrTXN2FuZfg+WXVHQRwU/hC2GpUu+Q8e3FUM9EDkS2pE3R2AO1ZGu56f479ybdMCNF1DAu8cAQ==" }, "node_modules/@types/lodash": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha512-wYCP26ZLxaT3R39kiN2+HcJ4kTd3U1waI/cY7ivWYqFP6pW3ZNpvi6Wd6PHZx7T/t8z0vlkXMg3QYLa7DZ/IJQ==" + "version": "4.17.5", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.5.tgz", + "integrity": "sha512-MBIOHVZqVqgfro1euRDWX7OO0fBVUUMrN6Pwm8LQsz8cWhEpihlvR70ENj3f40j58TNxZaWv2ndSkInykNBBJw==" }, "node_modules/@types/method-override": { "version": "0.0.35", @@ -3296,19 +3575,19 @@ } }, "node_modules/appium": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/appium/-/appium-2.9.0.tgz", - "integrity": "sha512-ALzjp5nIUYDZopv/db5PApvXgWo+5wHiH2nOvFdta6Lrg1cPivuE95tckQrtKSb3E6O2oU4FjZxwIoqJt7fsHw==", + "version": "2.10.3", + "resolved": "https://registry.npmjs.org/appium/-/appium-2.10.3.tgz", + "integrity": "sha512-old7FJBVCFLIgEYiRszmfaElhUOAGHSLxPXC8UkLvq6ioA/hELc9kfU1QkCzXRaTMFHRQwgXbT5HTa6Wy2YPnA==", "hasInstallScript": true, "peer": true, "dependencies": { - "@appium/base-driver": "^9.9.0", - "@appium/base-plugin": "^2.2.35", - "@appium/docutils": "^1.0.11", - "@appium/logger": "^1.3.0", - "@appium/schema": "~0.5.0", - "@appium/support": "^4.5.0", - "@appium/types": "^0.19.2", + "@appium/base-driver": "^9.10.3", + "@appium/base-plugin": "^2.2.39", + "@appium/docutils": "^1.0.15", + "@appium/logger": "^1.4.2", + "@appium/schema": "^0.6.1", + "@appium/support": "^5.0.3", + "@appium/types": "^0.20.3", "@sidvind/better-ajv-errors": "2.1.3", "@types/argparse": "2.0.16", "@types/bluebird": "3.5.42", @@ -3324,19 +3603,20 @@ "axios": "1.7.2", "bluebird": "3.7.2", "cross-env": "7.0.3", - "lilconfig": "3.1.1", + "lilconfig": "3.1.2", "lodash": "4.17.21", + "lru-cache": "10.2.2", "ora": "5.4.1", "package-changed": "3.0.0", "resolve-from": "5.0.0", "semver": "7.6.2", "source-map-support": "0.5.21", "teen_process": "2.1.4", - "type-fest": "4.19.0", + "type-fest": "4.20.0", "winston": "3.13.0", "wrap-ansi": "7.0.0", "ws": "8.17.0", - "yaml": "2.4.3" + "yaml": "2.4.5" }, "bin": { "appium": "index.js" @@ -13130,6 +13410,85 @@ "node": ">= 14" } }, + "node_modules/appium/node_modules/@appium/support": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@appium/support/-/support-5.0.3.tgz", + "integrity": "sha512-MCfaP3lg6WyRlBqk2yKr2q51tYhHBbOpJKX9rcHaFenlvf6lCKTrdazY4U/GP8MzW7/RxQE4l8jCJUXomLRfbQ==", + "peer": true, + "dependencies": { + "@appium/logger": "^1.4.2", + "@appium/tsconfig": "^0.3.3", + "@appium/types": "^0.20.3", + "@colors/colors": "1.6.0", + "@types/archiver": "6.0.2", + "@types/base64-stream": "1.0.5", + "@types/find-root": "1.1.4", + "@types/jsftp": "2.1.5", + "@types/klaw": "3.0.6", + "@types/lockfile": "1.0.4", + "@types/mv": "2.1.4", + "@types/ncp": "2.0.8", + "@types/pluralize": "0.0.33", + "@types/semver": "7.5.8", + "@types/shell-quote": "1.7.5", + "@types/supports-color": "8.1.3", + "@types/teen_process": "2.0.4", + "@types/uuid": "9.0.8", + "@types/which": "3.0.4", + "archiver": "7.0.1", + "axios": "1.7.2", + "base64-stream": "1.0.0", + "bluebird": "3.7.2", + "bplist-creator": "0.1.1", + "bplist-parser": "0.3.2", + "form-data": "4.0.0", + "get-stream": "6.0.1", + "glob": "10.4.1", + "jsftp": "2.1.3", + "klaw": "4.1.0", + "lockfile": "1.0.4", + "lodash": "4.17.21", + "log-symbols": "4.1.0", + "moment": "2.30.1", + "mv": "2.1.1", + "ncp": "2.0.0", + "opencv-bindings": "4.5.5", + "pkg-dir": "5.0.0", + "plist": "3.1.0", + "pluralize": "8.0.0", + "read-pkg": "5.2.0", + "resolve-from": "5.0.0", + "sanitize-filename": "1.6.3", + "semver": "7.6.2", + "shell-quote": "1.8.1", + "source-map-support": "0.5.21", + "supports-color": "8.1.1", + "teen_process": "2.1.4", + "type-fest": "4.20.0", + "uuid": "9.0.1", + "which": "4.0.0", + "yauzl": "3.1.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0", + "npm": ">=8" + }, + "optionalDependencies": { + "sharp": "0.33.4" + } + }, + "node_modules/appium/node_modules/type-fest": { + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.20.0.tgz", + "integrity": "sha512-MBh+PHUHHisjXf4tlx0CFWoMdjx8zCMLJHOjnV1prABYZFHqtFOyauCIK2/7w4oIfwkF8iNhLtnJEfVY2vn3iw==", + "peer": true, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/archiver": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/archiver/-/archiver-7.0.1.tgz", @@ -18351,9 +18710,9 @@ } }, "node_modules/lilconfig": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.1.tgz", - "integrity": "sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", + "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", "peer": true, "engines": { "node": ">=14" @@ -22413,9 +22772,9 @@ "dev": true }, "node_modules/yaml": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.3.tgz", - "integrity": "sha512-sntgmxj8o7DE7g/Qi60cqpLBA3HG3STcDA0kO+WfB05jEKhZMbY7umNm2rBpQvsmZ16/lPXCJGW2672dgOUkrg==", + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", + "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", "peer": true, "bin": { "yaml": "bin.mjs" diff --git a/package.json b/package.json index 9201526..15b9078 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "wdio-ios": "wdio run ./ios.conf.ts" }, "devDependencies": { + "@appium/types": "^0.20.3", "@testing-library/webdriverio": "^3.2.1", "@types/mocha": "^10.0.6", "@wdio/appium-service": "^8.38.0", @@ -63,8 +64,8 @@ "rimraf": "^5.0.7", "ts-node": "^10.9.2", "typescript": "^5.4.5", - "webdriverio": "^8.38.0", - "wdio-flutter-by-service": "^1.0.6" + "wdio-flutter-by-service": "^1.0.6", + "webdriverio": "^8.38.0" }, "peerDependencies": { "appium": "^2.5.4" diff --git a/test/specs/sample.e2e.js b/test/specs/sample.e2e.js deleted file mode 100644 index 2bec350..0000000 --- a/test/specs/sample.e2e.js +++ /dev/null @@ -1,19 +0,0 @@ -import { browser, expect } from '@wdio/globals'; - -async function performLogin(userName = 'admin', password = '1234') { - await browser.takeScreenshot(); - await browser.flutterBySemanticsLabel$('username_text_field').clearValue(); - await browser - .flutterBySemanticsLabel$('username_text_field') - .addValue(userName); - - await browser.flutterBySemanticsLabel$('password_text_field').clearValue(); - await browser.flutterByValueKey$('password').addValue(password); - await browser.flutterBySemanticsLabel$('login_button').click(); -} - -describe('My Login application', () => { - it('Create Session with Flutter Integration Driver', async () => { - await performLogin(); - }); -}); diff --git a/wdio.conf.ts b/wdio.conf.ts index 4086ede..93461c0 100644 --- a/wdio.conf.ts +++ b/wdio.conf.ts @@ -41,7 +41,7 @@ export const config: Options.Testrunner = { // The path of the spec files will be resolved relative from the directory of // of the config file unless it's absolute. // - specs: ['./test/specs/**/sample*.js'], + specs: ['./test/specs/**/*.js'], // Patterns to exclude. exclude: [ // 'path/to/excluded/files' @@ -125,7 +125,7 @@ export const config: Options.Testrunner = { args: { basePath: '/wd/hub', port: 4723, - log: join(process.cwd(), 'appium-logs', 'logs.txt'), + log: join(process.cwd(), 'appium-logs', 'logs.txt') }, }, ],