-
Notifications
You must be signed in to change notification settings - Fork 894
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
Fix functional tests for legacy discover plugin #4687
Fix functional tests for legacy discover plugin #4687
Conversation
Codecov Report
@@ Coverage Diff @@
## feature/data-explorer #4687 +/- ##
=========================================================
- Coverage 66.50% 66.32% -0.19%
=========================================================
Files 3289 3380 +91
Lines 62821 64661 +1840
Branches 9788 10303 +515
=========================================================
+ Hits 41782 42888 +1106
- Misses 18658 19241 +583
- Partials 2381 2532 +151
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
5568f6c
to
e6c906e
Compare
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
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.
Great job fixing these!
@@ -88,6 +95,8 @@ export default function ({ getService, getPageObjects }) { | |||
expect(colorChoiceRetained).to.be(true); | |||
}); | |||
|
|||
// the following three tests are skipped because of save search save window bug: |
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.
I see the comment but not the skip. Did you leave this in here accidentally?
// Have to add steps to actually click on the dashboard; since added browser.refresh() will make | ||
// clickDashboard() to only land on the dashboard listing page | ||
// We need to add browser.refresh() so clickDiscover() lands correctly on the legacy discover page |
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.
Not for right now but when we remove Legacy discover in 2.11, is it easy enough to migrate these to Discover 2.0?
8ee9c91
into
opensearch-project:feature/data-explorer
Description
Make sure all the original functional tests pass for the legacy discover plugin.
Issues Resolved
#4653
Screenshot
Testing the changes
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr