-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
chore: Cypress runtime enhancements #21332
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
9366d17
Enhance dashboards list tests
geido 1864115
Seed/clean up dashboards
geido 04d1a76
Enhance dashboards list filtering
geido f5a74cd
Enhance charts list tests
geido b429773
Enhance charts filter test
geido c95faa2
Enhance dashboard load tests
geido 984baf6
Refactor edit/save dashboard tests
geido 3ea671e
Improve cleanup samples data
geido 1c4d440
Additional sample data management enhancements
geido 106c917
Clean up
geido 1cc7d74
Minor enhancements
geido 39b7428
Add codeowner
geido 4559fe6
Move markdown in editmode
geido 05049de
Improve test reliability
geido d179a95
Merge branch 'master' of https://github.com/apache/superset into chor…
geido a9eb065
Refactor fav/unfav
geido ac2219a
Lint
geido 76bb41a
Refactor tabs test
geido 4afedab
Improve nativeFilters tests
geido b50c508
Improve database tests
geido abb038c
Skip unused test
geido 83578a5
Improve dataset test
geido fe89588
improve alerts_reports tests
geido b99051d
Skip unused test
geido fadbec6
Lint
geido 30d483f
Merge branch 'master' of https://github.com/apache/superset into chor…
geido 34ada5a
Refactor nativeFilters tests
geido ba1257c
Remove unused command
geido 7f86449
Clean up
geido 1cb117a
Minor enhancements
geido c61a533
Merge branch 'master' of https://github.com/apache/superset into chor…
geido 9e2e334
Add TODOs
geido 24cee14
Skip unused test
geido 1318e88
Clean up test data
geido File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+16.5 KB
...-frontend/cypress-base/cypress/downloads/new-chart-2022-09-09T14-22-31.728Z.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions
38
superset-frontend/cypress-base/cypress/fixtures/charts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[ | ||
{ | ||
"slice_name": "1 - Sample chart", | ||
"description": "chart description", | ||
"owners": [1], | ||
"viz_type": "line", | ||
"cache_timeout": 1000, | ||
"datasource_id": 1, | ||
"datasource_type": "table" | ||
}, | ||
{ | ||
"slice_name": "2 - Sample chart", | ||
"description": "chart description", | ||
"owners": [1], | ||
"viz_type": "line", | ||
"cache_timeout": 1000, | ||
"datasource_id": 1, | ||
"datasource_type": "table" | ||
}, | ||
{ | ||
"slice_name": "3 - Sample chart", | ||
"description": "chart description", | ||
"owners": [1], | ||
"viz_type": "line", | ||
"cache_timeout": 1000, | ||
"datasource_id": 1, | ||
"datasource_type": "table" | ||
}, | ||
{ | ||
"slice_name": "4 - Sample chart", | ||
"description": "chart description", | ||
"owners": [1], | ||
"viz_type": "line", | ||
"cache_timeout": 1000, | ||
"datasource_id": 1, | ||
"datasource_type": "table" | ||
} | ||
] |
18 changes: 18 additions & 0 deletions
18
superset-frontend/cypress-base/cypress/fixtures/dashboards.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"dashboard_title": "1 - Sample dashboard", | ||
"slug": "1-sample-dashboard" | ||
}, | ||
{ | ||
"dashboard_title": "2 - Sample dashboard", | ||
"slug": "2-sample-dashboard" | ||
}, | ||
{ | ||
"dashboard_title": "3 - Sample dashboard", | ||
"slug": "3-sample-dashboard" | ||
}, | ||
{ | ||
"dashboard_title": "4 - Sample dashboard", | ||
"slug": "4-sample-dashboard" | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
129 changes: 0 additions & 129 deletions
129
superset-frontend/cypress-base/cypress/integration/chart_list/card_view.test.ts
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
superset-frontend/cypress-base/cypress/integration/chart_list/chart_list.helper.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you fixed the
Active
one. IsActions
a lost cause, or should we leave the commented line in for now?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I think I just forgot to keep that comment. Cypress won't recognize that one. There is something weird going on with it. For now, I'll bring the comment back.