Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding configuration to cypress to enable dashboard #5926

Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 4 additions & 3 deletions superset/assets/cypress.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"baseUrl": "http://localhost:8081",
"videoUploadOnPasses": false,
"ignoreTestFiles": "*.helper.js"
"baseUrl": "http://localhost:8081",
"videoUploadOnPasses": false,
"ignoreTestFiles": "*.helper.js",
"projectId": "fbf96q"
}
2 changes: 1 addition & 1 deletion superset/assets/cypress_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ cd "$(dirname "$0")"
npm install -g yarn
yarn
npm run build
npm run cypress run
npm run cypress run --record --parallel --key 1f958c86-be14-44d9-8d08-fad68da06811
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is --record for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--record is used for setting up cypress with Dashboard https://dashboard.cypress.io/#/projects/fbf96q/runs

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh.. I see. Thought the name was abt video recording or sth.

kill %1