Skip to content

Commit

Permalink
ci: faster cypress in the CI and more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed May 25, 2020
1 parent 09c75f3 commit c3a465b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/plugins/apm/e2e/cypress.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"nodeVersion": "system",
"baseUrl": "http://localhost:5701",
"video": true,
"trashAssetsBeforeRuns": false,
"fileServerFolder": "../",
"fixturesFolder": "./cypress/fixtures",
"integrationFolder": "./cypress/integration",
"pluginsFile": "./cypress/plugins/index.js",
"screenshotsFolder": "./cypress/screenshots",
"supportFile": "./cypress/support/index.ts",
"video": true,
"videoCompression": false,
"videosFolder": "./cypress/videos",
"useRelativeSnapshots": true,
"reporter": "junit",
Expand Down
Binary file not shown.
2 changes: 2 additions & 0 deletions x-pack/plugins/apm/e2e/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ yarn wait-on -i 500 -w 500 http-get://admin:changeme@localhost:$KIBANA_PORT/api/
## See: https://github.com/elastic/kibana/issues/66326
if [ -e kibana.log ] ; then
grep -m 1 "http server running" <(tail -f -n +1 kibana.log)
grep -m 1 "http server running" kibana.log
echo "\n✅ Kibana server running...\n"
fi

echo "\n✅ Setup completed successfully. Running tests...\n"
Expand Down

0 comments on commit c3a465b

Please sign in to comment.