|
13 | 13 | "clean": "rm -f -r node_modules && rm -f yarn.lock",
|
14 | 14 | "build:ng": "ng build",
|
15 | 15 | "build:node": "cd api && yarn build",
|
16 |
| - "e2e": "ng e2e", |
17 | 16 | "fortifyScan": "./test/java/gradlew -p test/java fortifyScan",
|
18 | 17 | "lint": "yarn lint:ng && yarn lint:node",
|
19 | 18 | "lint:ng": "yarn eslint src",
|
|
30 | 29 | "start:node:docker": "PUI_ENV=ldocker;cd api && yarn watch",
|
31 | 30 | "test": "yarn test:ng",
|
32 | 31 | "test:a11y": "echo ran in later step",
|
33 |
| - "test:a11y1": "ng e2e --protractorConfig=./test/accessibility/config/protractor.conf.js", |
34 | 32 | "test:a11yInTest": "node ./test_codecept/backendMock/configCopy.js && NODE_CONFIG_ENV=mock TEST_TYPE=a11y PARALLEL=false npx codeceptjs run --config=./test_codecept/codeceptCommon/codeceptA11y.conf.ts",
|
35 | 33 | "test:api": "ts-node ./test_codecept/integration/tests/test.ts",
|
36 | 34 | "test:can-i-deploy:consumer": "export VERSION=$(git rev-parse --short HEAD) && SSL_CERT_FILE=api/test/pact/cer/ca-bundle.crt pact-broker can-i-deploy --pacticipant 'xui_manageOrg' --version ${VERSION} --broker-base-url https://pact-broker.platform.hmcts.net",
|
|
40 | 38 | "test:crossbrowser": "yarn playwright install --with-deps && yarn playwright install webkit && yarn playwright install firefox && npx playwright test -c playwright.config.ts",
|
41 | 39 | "test:node": "cd api && yarn test",
|
42 | 40 | "test:functional": "yarn build && node ./test_codecept/backendMock/configCopy.js && NODE_CONFIG_ENV=mock && yarn playwright install chromium && yarn test:api && yarn run test:xuiIntegration && yarn run test:codeceptE2E && yarn run test:a11yInTest",
|
43 |
| - "test:functional:backup": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/functional.conf.js", |
44 |
| - "test:functional:local": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/functional.conf.js --local", |
45 | 41 | "test:fullfunctional": "yarn test:api && yarn run test:codeceptE2E",
|
46 |
| - "test:fullfunctional:local": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/fullfunctional.conf.js --local", |
47 | 42 | "test:mutation": "echo 'not implemented'",
|
48 | 43 | "test:mutation:fix": "NODE_ENV=development npx nyc stryker run stryker.node.conf.js ",
|
49 | 44 | "test:ng": "ng test rpx-xui-manage-organisations",
|
50 |
| - "test:ngIntegration": "yarn test:ngIntegrationMockEnv && ng e2e --protractorConfig=./test/ngIntegration/config/protractor.conf.js", |
51 | 45 | "test:ngIntegrationMockEnv": "node -e 'require(`./test/nodeMock/availablePortFinder.js`).configureTestProxyPort()'",
|
52 | 46 | "test:node:watch": "cd api && yarn test:watch",
|
53 | 47 | "test:pact:run-and-publish": "yarn test-pact && yarn publish-pact",
|
54 | 48 | "test:smoke": "yarn playwright install chromium && TEST_TYPE=smoke npx codeceptjs run --plugins retryFailedStep,cucumberJsonReporter --config ./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @smoke --reporter mochawesome",
|
55 |
| - "test:smoke:local": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/smoke.conf.js --local", |
56 | 49 | "test-pact": "NODE_PATH=. NODE_ENV=pacttesting LOG_LEVEL=info mocha --timeout 10000 -r ts-node/register api/test/pact/pact-tests/**/*.spec.ts",
|
57 | 50 | "testx": "cd api && yarn coverage && cd .. && yarn test:ng //node tests are broken need to fix",
|
58 | 51 | "test:codeceptE2EDebug": "DEBUG=true TEST_TYPE=e2e npx codeceptjs run --plugins cucumberJsonReporter --plugins retryFailedStep --config ./test_codecept/codeceptCommon/codecept.conf.ts --features",
|
59 |
| - "test:codeceptE2E": "TEST_TYPE=e2e npx codeceptjs run-workers --suites 6 --plugins cucumberJsonReporter --plugins retryFailedStep --config ./test_codecept/codeceptCommon/codecept.conf.ts --features", |
| 52 | + "test:codeceptE2E": "TEST_TYPE=e2e npx codeceptjs run-workers --suites 6 --config ./test_codecept/codeceptCommon/codecept.conf.ts --features", |
60 | 53 | "test:backendMock": "DEBUG=true nodemon test_codecept/backendMock/app --standalone",
|
61 | 54 | "test:xuiIntegrationDebug": "DEBUG=true NODE_CONFIG_ENV=mock TEST_TYPE=ngIntegration npx codeceptjs run -p pauseOnFail --config ./test_codecept/codeceptCommon/codecept.conf.ts --features",
|
62 | 55 | "test:xuiIntegration": "yarn build && node ./test_codecept/backendMock/configCopy.js && NODE_CONFIG_ENV=mock TEST_TYPE=ngIntegration PARALLEL=true npx codeceptjs run-workers --suites 6 --config ./test_codecept/codeceptCommon/codecept.conf.ts --features"
|
|
76 | 69 | "@angular/platform-browser-dynamic": "^18.2.13",
|
77 | 70 | "@angular/router": "^18.2.13",
|
78 | 71 | "@circlon/angular-tree-component": "^11.0.4",
|
79 |
| - "@cucumber/cucumber": "^11.0.0", |
80 |
| - "@cucumber/pretty-formatter": "^1.0.1", |
81 | 72 | "@edium/fsm": "^2.1.2",
|
82 | 73 | "@hmcts/ccd-case-ui-toolkit": "7.2.0",
|
83 | 74 | "@hmcts/ccpay-web-component": "6.2.15",
|
|
164 | 155 | "smoothscroll-polyfill": "^0.4.3",
|
165 | 156 | "striptags": "^3.1.1",
|
166 | 157 | "tar-fs": "^3.0.9",
|
| 158 | + "why-is-node-running": "^3.2.2", |
167 | 159 | "zone.js": "~0.14.10"
|
168 | 160 | },
|
169 | 161 | "devDependencies": {
|
|
197 | 189 | "codeceptjs-cucumber-json-reporter": "^1.0.14",
|
198 | 190 | "codelyzer": "^5.1.2",
|
199 | 191 | "cross-env": "^7.0.2",
|
200 |
| - "cucumber": "5.1.0", |
201 | 192 | "cucumber-html-report": "0.6.5",
|
202 |
| - "cucumber-html-reporter": "^4.0.5", |
203 |
| - "cucumber-pretty": "1.5.0", |
| 193 | + "cucumber-html-reporter": "^7.1.1", |
204 | 194 | "eslint": "^8.37.0",
|
205 | 195 | "jasmine-core": "~5.1.0",
|
206 | 196 | "jasmine-marbles": "^0.9.2",
|
|
221 | 211 | "pa11y": "^8.0.0",
|
222 | 212 | "pa11y-reporter-html": "^2.0.0",
|
223 | 213 | "portfinder": "^1.0.28",
|
224 |
| - "protractor": "~7.0.0", |
225 |
| - "protractor-cucumber-framework": "^9.7.0", |
226 |
| - "protractor-multiple-cucumber-html-reporter-plugin": "1.8.0", |
227 |
| - "protractor-screenshot-utils": "^1.0.5", |
228 | 214 | "rest-assured": "^0.1.0",
|
229 | 215 | "should": "13.2.3",
|
230 | 216 | "sinon": "^7.2.3",
|
|
0 commit comments