Skip to content

[Logs UI] Increase keypress delay in functional tests#41777

Merged
Zacqary merged 10 commits intoelastic:masterfrom
Zacqary:infra-reorder-reduce-flakiness
Jul 29, 2019
Merged

[Logs UI] Increase keypress delay in functional tests#41777
Zacqary merged 10 commits intoelastic:masterfrom
Zacqary:infra-reorder-reduce-flakiness

Conversation

@Zacqary
Copy link
Copy Markdown
Contributor

@Zacqary Zacqary commented Jul 23, 2019

Summary

May help #41749; confirm before closing this issue

Increases the delay between pressKeys calls in the functional test for reordering log columns. This will hopefully reduce the flakiness of this test on CI, whereas on desktop a 100ms delay seems to work consistently.

In the functional test for reordering log columns, uses the charByChar API of pressKeys to execute key presses in a sequence, which seems to include some provisions to retry keypresses on the CI. This will hopefully reduce the flakiness of this test.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@Zacqary Zacqary 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.4.0 test-failure-flaky labels Jul 23, 2019
@Zacqary Zacqary requested a review from a team July 23, 2019 15:02
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/infra-logs-ui

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@Zacqary
Copy link
Copy Markdown
Contributor Author

Zacqary commented Jul 24, 2019

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@Zacqary
Copy link
Copy Markdown
Contributor Author

Zacqary commented Jul 24, 2019

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@Zacqary
Copy link
Copy Markdown
Contributor Author

Zacqary commented Jul 25, 2019

Trying to make sure this test isn't flaky so I'm about to retest again

@Zacqary
Copy link
Copy Markdown
Contributor Author

Zacqary commented Jul 25, 2019

retest [EDIT: retesting again below because a different test flaked]

@Zacqary
Copy link
Copy Markdown
Contributor Author

Zacqary commented Jul 25, 2019

retest

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.

LGTM - I can't think of a different option that wouldn't introduce other problems in turn.

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@weltenwort
Copy link
Copy Markdown
Member

well, at least we're getting more confirmation that the test in question doesn't fail 😉

@weltenwort
Copy link
Copy Markdown
Member

we'll probably have to merge master to get this to pass

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@Zacqary
Copy link
Copy Markdown
Contributor Author

Zacqary commented Jul 25, 2019

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@Zacqary
Copy link
Copy Markdown
Contributor Author

Zacqary commented Jul 29, 2019

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@Zacqary Zacqary merged commit 2997189 into elastic:master Jul 29, 2019
Zacqary added a commit to Zacqary/kibana that referenced this pull request Jul 29, 2019
* [Logs UI] Increase keypress delay in functional tests

* Re-enable moveLogColumn test

* Use charByChar instead of arbitrary key delays

* Remove contradictory expect statement

* Revert to 500ms keypress delay
Zacqary added a commit that referenced this pull request Jul 29, 2019
* [Logs UI] Increase keypress delay in functional tests

* Re-enable moveLogColumn test

* Use charByChar instead of arbitrary key delays

* Remove contradictory expect statement

* Revert to 500ms keypress delay
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 test-failure-flaky v7.4.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants