Skip to content

[Logs UI] Complete extendDatemath test suite#64069

Merged
afgomez merged 4 commits intoelastic:masterfrom
afgomez:59875-extend-datemath-tests
Apr 24, 2020
Merged

[Logs UI] Complete extendDatemath test suite#64069
afgomez merged 4 commits intoelastic:masterfrom
afgomez:59875-extend-datemath-tests

Conversation

@afgomez
Copy link
Copy Markdown
Contributor

@afgomez afgomez commented Apr 21, 2020

Summary

Part of #59875

The super date picker PR added a new helper function extendDatemath to modify datemath expressions. The test suite didn't cover all possible cases. This PR adds the missing tests.

Checklist

Delete any items that are not applicable to this PR.

@afgomez afgomez added v8.0.0 Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services release_note:skip Skip the PR/issue when compiling release notes v7.8.0 labels Apr 21, 2020
@afgomez afgomez requested a review from a team as a code owner April 21, 2020 13:25
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@afgomez afgomez changed the title [Logs UI] Extend datemath tests [Logs UI] Complete extendDatemath test suite Apr 21, 2020
Copy link
Copy Markdown
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀 Reviewing on behalf of @elastic/logs-metrics-ui...

@afgomez
Copy link
Copy Markdown
Contributor Author

afgomez commented Apr 23, 2020

@elasticmachine merge upstream

@afgomez
Copy link
Copy Markdown
Contributor Author

afgomez commented Apr 24, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@afgomez afgomez merged commit 085c245 into elastic:master Apr 24, 2020
@afgomez afgomez deleted the 59875-extend-datemath-tests branch April 24, 2020 20:30
afgomez pushed a commit to afgomez/kibana that referenced this pull request Apr 24, 2020
* Add tests for datemath: `after` direction with a negative operator

* Add tests for datemath: `after` direction with a positive operator

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Logs UI Logs UI feature release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.8.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants