-
Notifications
You must be signed in to change notification settings - Fork 8.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
Functional tests: refactor dashboard_page #54588
Functional tests: refactor dashboard_page #54588
Conversation
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Last 2 failures were not caused by my changes:
|
|
||
async setLogstashDataRange() { | ||
const fromTime = 'Apr 9, 2018 @ 00:00:00.000'; | ||
const toTime = 'Apr 13, 2018 @ 00:00:00.000'; |
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.
Why these dates in this fn, and the previous fn?
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.
It was transferred from dashboard_page.js
because it is not dashboard action, but time picker. There are 3 of these functions and they set an interval according to data in ES archivers.
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.
LGTM
* [test/functional] cleanup & tsfy dashboard_page * fix & improvement Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [test/functional] cleanup & tsfy dashboard_page * fix & improvement Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
The follow-up to #53845 that closes the first item in #53117 to improve the developer's experience in writing functional tests.
Common actions between landing pages of Visualize and Dashboard are move to
listingTable
service, duplicated code is deleted.dashboard_page
contains only Dashboard-specific actions.