-
Notifications
You must be signed in to change notification settings - Fork 937
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
[Cypress][TESTID-147] Add tests for table canvas in discover #9285
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 #9285 +/- ##
==========================================
- Coverage 61.70% 61.70% -0.01%
==========================================
Files 3816 3816
Lines 91824 91824
Branches 14542 14542
==========================================
- Hits 56664 56662 -2
- Misses 31506 31507 +1
- Partials 3654 3655 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
8ee2845
to
a4d2110
Compare
}).forEach((config) => { | ||
describe(`${config.testName}`, () => { | ||
beforeEach(() => { | ||
if (config.datasetType === 'INDEX_PATTERN') { |
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.
nitpick: config.datasetType === DataTypes.IndexPattern.name
(or something like that. i just hand wrote this)
Doesn't there need to be a change to |
}).forEach((config) => { | ||
describe(`${config.testName}`, () => { | ||
beforeEach(() => { | ||
if (config.datasetType === 'INDEX_PATTERN') { |
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.
nitpick here too
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.
updated
22b4ec0
to
4230fef
Compare
url: SECONDARY_ENGINE.url, | ||
authType: 'no_auth', | ||
}); | ||
//cy.deleteWorkspaceByName(`${workspaceName}`); |
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.
Is this needed?
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.
updated
Issue resolved: opensearch-project#8947 Signed-off-by: Anan <[email protected]>
dafe3eb
to
4b61dc9
Compare
added it |
Description
Add tests for table canvas in discover
Note: It depends on #9154 and needs to rebase after it is merged. Test won't work before that.
Issues Resolved
#8947
Screenshot
Changelog
Check List
yarn test:jest
yarn test:jest_integration