Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions x-pack/plugins/apm/e2e/cypress/integration/snapshots.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
__version: '5.5.0',
};
"__version": "5.4.0"
}
12 changes: 2 additions & 10 deletions x-pack/plugins/apm/e2e/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,6 @@ if [ $? -ne 0 ]; then
exit 1
fi

#
# Cypress
##################################################
echo "" # newline
echo "${bold}Cypress (logs: ${E2E_DIR}${TMP_DIR}/e2e-yarn.log)${normal}"
echo "Installing cypress dependencies "
yarn &> ${TMP_DIR}/e2e-yarn.log

#
# Static mock data
##################################################
Expand Down Expand Up @@ -165,15 +157,15 @@ echo "✅ Setup completed successfully. Running tests..."
#
# run cypress tests
##################################################
yarn cypress run --config pageLoadTimeout=100000,watchForFileChanges=true
yarn cypress:run --config pageLoadTimeout=100000,watchForFileChanges=true
e2e_status=$?

#
# Run interactively
##################################################
echo "${bold}If you want to run the test interactively, run:${normal}"
echo "" # newline
echo "cd ${E2E_DIR} && yarn cypress open --config pageLoadTimeout=100000,watchForFileChanges=true"
echo "cd ${E2E_DIR} && yarn cypress:open --config pageLoadTimeout=100000,watchForFileChanges=true"

# Report the e2e status at the very end
if [ $e2e_status -ne 0 ]; then
Expand Down