-
Notifications
You must be signed in to change notification settings - Fork 918
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
[MD] Datasource management Edit/Update page UX updates #2629
[MD] Datasource management Edit/Update page UX updates #2629
Conversation
Signed-off-by: mpabba3003 <amazonmanideep@gmail.com>
Signed-off-by: mpabba3003 <amazonmanideep@gmail.com>
Signed-off-by: mpabba3003 <amazonmanideep@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #2629 +/- ##
==========================================
- Coverage 66.81% 66.80% -0.01%
==========================================
Files 3207 3207
Lines 61137 61146 +9
Branches 9313 9314 +1
==========================================
+ Hits 40849 40850 +1
- Misses 18057 18063 +6
- Partials 2231 2233 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Probably update PR title to something meaningful, e.g |
Done |
src/plugins/data_source_management/public/components/edit_data_source/edit_data_source.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: mpabba3003 <amazonmanideep@gmail.com>
/> | ||
</h4> | ||
} | ||
<EuiFormRow |
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.
Can we remove the snapshot tests for components like this? This diff does not make sense for the corresponding change in the test file and is a symptom of a bad snapshot. If we want to test the functionality of the component or its UI, we should leverage the functional test repo. Unit tests should only test the logic. the same comment applies to edit_data_source
.
You need to test your components as a unit and in isolation, if one react component output changes only one unit test fails.
This principle breaks here because if EUI changes the markup for this component, all these tests will break.
Signed-off-by: mpabba3003 <amazonmanideep@gmail.com> (cherry picked from commit e056e83)
…oject#2629) Signed-off-by: mpabba3003 <amazonmanideep@gmail.com> Signed-off-by: Sergey V. Osipov <sipopo@yandex.ru>
Signed-off-by: mpabba3003 amazonmanideep@gmail.com
Description
Edit Data Source page
Issues Resolved
#2621
#2622
SCREENSHOTS
Data.Sources.-.OpenSearch.Dashboards.2.mp4
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr