-
Notifications
You must be signed in to change notification settings - Fork 942
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
[TESTID-64] Add cypress test for auto query updates when switch dataset #9322
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9322 +/- ##
==========================================
- Coverage 61.71% 61.70% -0.01%
==========================================
Files 3816 3816
Lines 91829 91829
Branches 14543 14543
==========================================
- Hits 56668 56666 -2
- Misses 31506 31507 +1
- Partials 3655 3656 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
} from '../../../../../utils/apps/query_enhancements/autocomplete'; | ||
|
||
const workspaceName = getRandomizedWorkspaceName(); | ||
const datasourceName = getRandomizedDatasourceName(); |
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.
just fyi i am removing the function getRandomizedDatasourceName()
in my other open PR: #9319
but if your PR gets merged first, I will take care of it
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.
Yeah thanks for the remind
describe('discover autocomplete tests', () => { | ||
beforeEach(() => { | ||
cy.setupTestData( | ||
SECONDARY_ENGINE.url, |
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.
just fyi I am changing this to PATHS.SECONDARY_ENGINE_URL
or something like that in my other PR: #9319
but if your PR gets merged first, i will take care of it (Sorry for redundant comments, just moreso leaving a note to myself)
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.
👍
Signed-off-by: Anan <[email protected]>
Description
Switch dataset in discover should automatically update query
Issues Resolved
#8974
Screenshot
NA
Changelog
-test: [TESTID-64] Add cypress test for auto query updates when switch dataset
Check List
yarn test:jest
yarn test:jest_integration