wazuh-kibana-app/package.json
Jose Sanchez Robles 15a0ef4bb2 Add E2E tests to the enviroment (#1810)
* Add the test environment

* Add the first functional test

* Add two services to test the visualizations

* Add two tests for the alerts visualizations

* Refactoring and cleaning code

* Create two new services to test pie charts

* Create two tests for charts pie

* should top 5 agent chart pie values are correct
* should top 5 rule groups chart pie values are correct

* Add test and fix sort problem

* should alerts evolution - top 5 agents chart values are correct

* Add the missing ID property

* Fix problem with the sort function

* Add two classes to test visualization tables

* Add new test for alert summary table

`should alerts summary table values are correct`

* Refactoring duplicate code in `setTodayRange`

* Add 14 tests to cover query bar and filters

* should `alertStats` values ​​are correct when add the filter ` rule.level: 7`
* should `alert level evolution` chart values are correct when add the filter ` rule.level: 7`
* should `alert` chart values are correct when add the filter ` rule.level: 7`
* should `top 5 agent` chart pie values are correct when add the filter ` rule.level: 7`
* should `top 5 rule groups` chart pie values are correct when add the filter ` rule.level: 7`
* should `alerts evolution - top 5 agents` chart values are correct when add the filter ` rule.level: 7`
* should `alerts summary` table values are correct when add the filter ` rule.level: 7`
* should `alertStats` values ​​are correct when add to the query bar ` rule.level: 7`
* should `alert level evolution` chart values are correct when add to the query bar ` rule.level: 7`
* should `alert` chart values are correct when add to the query bar ` rule.level: 7`
* should `top 5 agent` chart pie values are correct when add to the query bar ` rule.level: 7`
* should `top 5 rule groups` chart pie values are correct when add to the query bar ` rule.level: 7`
* should `alerts evolution - top 5 agents` chart values are correct when add to the query bar ` rule.level: 7`
* should `alerts summary` table values are correct when add to the query bar ` rule.level: 7`

* Fix the problem with summary alerts test

* Fix expect problem with alert summary table

* Change the value of a param in visualization

The aggregation type of the visualization is `sum`

I change the value to `count`

* Add missing id properties to visualizations

* Create a new method to navigate to the FIM view

* Add a `beforeEach` method to remove duplicate code

* Add the tests for FIM Dashboard

* Add test for the filters and query bar in FIM

* Add documentation to the code

* Fix problem when comparing objects

* Set index pattern

* Fix the problem with the expected test result

* Removed discover from wz-menu
2019-10-09 10:19:34 +02:00

71 lines
2.0 KiB
JSON

{
"name": "wazuh",
"version": "3.10.2",
"revision": "0546",
"code": "0546-0",
"kibana": {
"version": "7.3.2"
},
"description": "Wazuh app",
"main": "index.js",
"keywords": [
"kibana",
"wazuh",
"ossec"
],
"node_build": "8.14.0",
"author": "Wazuh, Inc",
"license": "GPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/wazuh/wazuh-kibana-app.git"
},
"bugs": {
"url": "https://github.com/wazuh/wazuh-kibana-app/issues"
},
"homepage": "https://www.wazuh.com/",
"scripts": {
"pretty": "prettier --single-quote \"{,!(node_modules)/**/}*.js\" --write",
"tslint": "tslint -c .tslint.yml server/**/*.ts server/**/*.tsx public/**/*.ts public/**/*.tsx",
"lint": "eslint . --ext .js -c .eslintrc.json --color",
"prebuild": "tsc; find . -name \"*.ts*\" -type f -not -path \"./node_modules/*\" -delete",
"build": "plugin-helpers build",
"test": "_mocha test/**/*",
"test:ui:runner": "node ../../scripts/functional_test_runner.js"
},
"dependencies": {
"angular-animate": "1.7.8",
"angular-chart.js": "1.1.1",
"angular-cookies": "1.6.5",
"angular-material": "1.1.18",
"dom-to-image": "^2.6.0",
"install": "^0.10.1",
"js2xmlparser": "^3.0.0",
"json2csv": "^4.1.2",
"needle": "^2.0.1",
"node-cron": "^1.1.2",
"pdfmake": "^0.1.37",
"pug-loader": "^2.4.0",
"querystring-browser": "1.0.4",
"simple-tail": "^1.1.0",
"timsort": "^0.3.0",
"winston": "3.0.0",
"babel-polyfill": "^6.13.0"
},
"devDependencies": {
"@elastic/plugin-helpers": "^7.1.8",
"babel-eslint": "^8.2.6",
"chai": "^4.1.2",
"eslint": "^5.10.0",
"eslint-plugin-async-await": "^0.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-react": "^7.13.0",
"mocha": "^5.2.0",
"prettier": "^1.14.2",
"tslint": "^5.11.0",
"typescript": "^3.0.1",
"typescript-eslint-parser": "^18.0.0"
}
}