2024-07-13 18:23:11 +03:00
|
|
|
{
|
|
|
|
"name": "@hcengineering/qms-tests-sanity",
|
|
|
|
"version": "0.6.0",
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"svelte": "src/index.ts",
|
|
|
|
"types": "types/index.d.ts",
|
|
|
|
"author": "Hardcore Engineering Inc",
|
|
|
|
"template": "@hcengineering/default-package",
|
|
|
|
"license": "EPL-2.0",
|
|
|
|
"scripts": {
|
|
|
|
"build": "compile",
|
|
|
|
"build:watch": "compile",
|
|
|
|
"_phase:build": "compile transpile tests",
|
|
|
|
"_phase:test": "",
|
|
|
|
"_phase:format": "format src",
|
|
|
|
"_phase:validate": "compile validate",
|
|
|
|
"lint:fix": "eslint --fix tests",
|
|
|
|
"lint": "eslint tests",
|
|
|
|
"format": "format tests",
|
|
|
|
"ci": "playwright install --with-deps chromium",
|
|
|
|
"test": "",
|
2024-09-11 20:21:29 +03:00
|
|
|
"uitest": "cross-env LOCAL_URL=http://host.docker.internal:3003/ DEV_URL= playwright test -c ./tests/playwright.config.ts",
|
2024-07-13 18:23:11 +03:00
|
|
|
"staging-uitest": "cross-env PLATFORM_URI=https://front.hc.engineering/ playwright test -c ./tests/playwright.config.ts --grep @staging",
|
2024-09-11 20:21:29 +03:00
|
|
|
"dev-uitest": "cross-env PLATFORM_URI=http://localhost:8080 PLATFORM_TRANSACTOR=ws://host.docker.internal:3333 SETTING=storage-dev.json SETTING_SECOND=storageSecond-dev.json DEV_URL=http://localhost:8080/account playwright test -c ./tests/playwright.config.ts",
|
2024-07-13 18:23:11 +03:00
|
|
|
"debug": "playwright test -c ./tests/playwright.config.ts --debug --headed",
|
2024-09-11 20:21:29 +03:00
|
|
|
"dev-debug": "cross-env PLATFORM_URI=http://localhost:8080 PLATFORM_TRANSACTOR=ws://host.docker.internal:3333 SETTING=storage-dev.json SETTING_SECOND=storageSecond-dev.json playwright test -c ./tests/playwright.config.ts --debug --headed",
|
|
|
|
"codegen": "playwright codegen --load-storage storage.json http://host.docker.internal:8083/workbench/sanity-ws/",
|
2024-07-13 18:23:11 +03:00
|
|
|
"dev-codegen": "cross-env playwright codegen --load-storage storage-dev.json http://localhost:8080/workbench/sanity-ws/",
|
|
|
|
"allure:generate": "allure generate allure-results -o allure-report --clean"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@hcengineering/platform-rig": "^0.6.0",
|
|
|
|
"@types/jest": "^29.5.5",
|
|
|
|
"@types/node": "~20.11.16",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
|
|
"eslint-plugin-import": "^2.26.0",
|
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
|
|
"eslint-plugin-n": "^15.4.0",
|
|
|
|
"eslint": "^8.54.0",
|
|
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
|
|
"eslint-config-standard-with-typescript": "^40.0.0",
|
|
|
|
"prettier": "^3.1.0",
|
|
|
|
"typescript": "^5.3.3",
|
2024-10-04 21:19:31 +03:00
|
|
|
"@playwright/test": "^1.47.2",
|
|
|
|
"allure-playwright": "^3.0.4",
|
|
|
|
"allure-js-commons": "^3.0.4",
|
2024-07-23 17:06:41 +03:00
|
|
|
"@faker-js/faker": "^8.4.1"
|
2024-07-13 18:23:11 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"dotenv": "~16.0.0",
|
|
|
|
"cross-env": "~7.0.3",
|
|
|
|
"@hcengineering/core": "^0.6.32",
|
|
|
|
"@hcengineering/client-resources": "^0.6.27"
|
|
|
|
}
|
|
|
|
}
|