UNPKG

wdio-ui5-service

Version:

WebdriverIO plugin for testing UI5 browser-based apps

138 lines (137 loc) 5.18 kB
{ "name": "wdio-ui5-service", "version": "3.0.11", "description": "WebdriverIO plugin for testing UI5 browser-based apps", "keywords": [ "wdi5", "wdio-service", "ui5", "openui5", "sapui5" ], "homepage": "https://github.com/ui5-community/wdi5#readme", "repository": { "type": "git", "url": "https://github.com/ui5-community/wdi5.git" }, "license": "(Apache-2.0 or DERIVED BEER-WARE)", "author": "the UI5 community <do_not_use@openui5.org> (https://github.com/ui5-community)", "type": "module", "main": "./dist/cjs/index.js", "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" } } }, "files": [ "dist" ], "workspaces": [ ".", "examples/**" ], "scripts": { "// build time": "refers to developing wdi5/wdio-ui5-service itself", "clean": "rimraf cjs esm dist", "build": "run-s -c clean _build:cjs _build:esm", "_build:cjs": "tsc --p tsconfig-cjs.json", "_build:esm": "tsc --p tsconfig-esm.json", "build:watch": "npm-run-all clean --parallel _build:watch:cjs _build:watch:esm", "_build:watch:cjs": "tsc -w --p tsconfig-cjs.json", "_build:watch:esm": "tsc -w --p tsconfig-esm.json", "// test time": "refers to testing wdio-ui5-service", "test:cjs": "npm test -w=wdio-cjs", "test:mjs": "npm test -w=wdio-mjs", "test:cjs:ts": "npm test -w=wdio-cjs-ts", "test:mjs:ts": "npm test -w=wdio-mjs-ts", "test:classic": "npm test -w=wdio-classic", "test:ui5:lts": "npm test -w=wdio-ui5-lts", "test:cucumber": "npm test -w=cucumber-app", "test:fe:app": "npm run start:test -w=incidents", "test:btp:calm": "npm test -w=btp-cloudalm-fiori-lpd", "test:btp:sbwz": "npm test -w=btp-sbwz-std", "test:ui5:app:v1": "npm run start:test -w=ui5-app", "test:ui5:app:v2": "npm run start:test -w=ui5-v2-js-app", "_startApp:ts": "npm run start --workspace=examples/ui5-ts-app", "_startApp:cap": "npm run start --workspace=examples/cap-bookshop-wdi5", "_test:ts-app": "wait-on tcp:8080 && npm run test --workspace=examples/ui5-ts-app", "_test:cap-app": "wait-on tcp:4004 && npm run wdi5 --workspace=examples/cap-bookshop-wdi5 -- --headless", "_test-h:ts-app": "wait-on tcp:8080 && npm run test -w examples/ui5-ts-app -- --headless && npm run test:lateInject -w examples/ui5-ts-app -- --headless", "test:ts-app": "run-p -r _startApp:ts _test:ts-app", "test-h:ts-app": "run-p -r _startApp:ts _test-h:ts-app", "//test:auth": "this runs either locally or on browserstack depending on the env variable BROWSERSTACK", "test:auth": "npm run test:authentication:bstack -w examples/ui5-ts-app", "test:capAuth": "run-p -r _startApp:cap _test:cap-app", "//test:protocol": "runs the same test with webdriver and bidi protocol", "test:protocol": "npm run test:protocol -w examples/ui5-ts-app", "//test:wz": "specific tests for SAP Build Workzone, standard edition", "test:wz:testlib": "npm run test:wz --workspace=examples/ui5-ts-app -- --headless --spec test/e2e/workzone/testlib-journey.test.ts", "test:wz:regular": "npm run test:wz --workspace=examples/ui5-ts-app -- --headless --spec test/e2e/workzone/regular-journey.test.ts", "test": "cross-env TS_NODE_PROJECT=\"test/tsconfig.json\" mocha", "prepare": "husky install", "release": "standard-version", "startDoc": "docsify serve ./docs", "lint": "eslint . --cache && prettier . --check --cache", "pretty": "prettier . --write" }, "lint-staged": { "*": "prettier --ignore-unknown --write", "*.ts": "eslint --cache --fix" }, "dependencies": { "compare-versions": "^6.1.1" }, "devDependencies": { "@commitlint/cli": "^20.5.3", "@commitlint/config-conventional": "^20.5.3", "@eslint/js": "^9.39.2", "@sap-ux/ui5-middleware-fe-mockserver": "^2.4.13", "@sap/approuter": "^20.10.0", "@sap/ux-ui5-fe-mockserver-middleware": "^1.6.5", "@sapui5/types": "^1.149.0", "@types/node": "^25.9.4", "@types/openui5": "^1.149.0", "@ui5/cli": "^4.0.56", "@wdio/browserstack-service": "^9.29.0", "@wdio/sauce-service": "^9.29.0", "@wdio/types": "^9.29.0", "conventional-commits-filter": "^5.0.0", "cross-env": "^10.1.0", "docsify-cli": "4.4.4", "eslint": "^9.39.4", "eslint-plugin-mocha": "^11.3.0", "eslint-plugin-wdio": "^9.29.0", "husky": "^9.1.7", "lint-staged": "^16.4.0", "mbt": "^1.2.49", "mocha": "^11.7.6", "npm-run-all2": "^8.0.4", "prettier": "^3.8.4", "rimraf": "^6.1.3", "soerver": "^0.0.3", "standard-version": "^9.5.0", "ts-node": "^10.9.2", "typescript": "^5.9.3", "typescript-eslint": "^8.61.1", "wait-on": "^9.0.10" }, "peerDependencies": { "@wdio/cli": "^9", "@wdio/globals": "^9", "@wdio/local-runner": "^9", "@wdio/mocha-framework": "^9", "@wdio/spec-reporter": "^9", "webdriverio": "^9" }, "engines": { "node": ">=20", "npm": ">=10" } }