* performance_tests: draft version * update cli runner and script * ingest metrics * save asset type for plugins * Update src/dev/performance/ingest_metrics.ts Co-authored-by: Spencer <email@spalger.com> * follow review comments * fix size calc, add FTR config, move src to kbn/test * fix import, remove unused interface * Update packages/kbn-test/src/page_load_metrics/capture_page_load_metrics.ts Co-authored-by: Spencer <email@spalger.com> * start chromium with no-sandbox * add logging * check page contains expected element, cut apps to 5 * fix locator & typo * Update packages/kbn-test/src/page_load_metrics/navigation.ts Co-authored-by: Spencer <email@spalger.com> * Update navigation.ts * Update navigation.ts * bump puppeteer version * fix typo * update navigation script * update config file * update yarn.lock * fix * take screenshot on failure * update screenshot title * fix screenshot saving and error * invalid locator * Revert "invalid locator" This reverts commit3007539a69
. * run script in a loop 10 times * Revert "run script in a loop 10 times" This reverts commit6cfa219140
. * path config value directly * fix screenshots directory setup * update maps locator, common for landing and new map Co-authored-by: Spencer <email@spalger.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Mikhail Shustov <restrry@gmail.com>
38 lines
993 B
JSON
38 lines
993 B
JSON
{
|
|
"name": "@kbn/test",
|
|
"main": "./target/index.js",
|
|
"version": "1.0.0",
|
|
"license": "Apache-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "babel src --out-dir target --delete-dir-on-start --extensions .ts,.js,.tsx --ignore *.test.js,**/__tests__/** --source-maps=inline",
|
|
"kbn:bootstrap": "yarn build",
|
|
"kbn:watch": "yarn build --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.8.4",
|
|
"@kbn/babel-preset": "1.0.0",
|
|
"@kbn/dev-utils": "1.0.0",
|
|
"@types/parse-link-header": "^1.0.0",
|
|
"@types/puppeteer": "^3.0.0",
|
|
"@types/strip-ansi": "^5.2.1",
|
|
"@types/xml2js": "^0.4.5",
|
|
"diff": "^4.0.1"
|
|
},
|
|
"dependencies": {
|
|
"chalk": "^2.4.2",
|
|
"dedent": "^0.7.0",
|
|
"del": "^5.1.0",
|
|
"getopts": "^2.2.4",
|
|
"glob": "^7.1.2",
|
|
"parse-link-header": "^1.0.1",
|
|
"puppeteer": "^3.3.0",
|
|
"strip-ansi": "^5.2.0",
|
|
"rxjs": "^6.5.3",
|
|
"tar-fs": "^1.16.3",
|
|
"tmp": "^0.1.0",
|
|
"xml2js": "^0.4.22",
|
|
"zlib": "^1.0.5"
|
|
}
|
|
}
|