Skip to content
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

[Maps] properly wait for map pan and zoom in functional tests #33993

Merged
merged 7 commits into from
Apr 1, 2019

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Mar 27, 2019

#33313 introduced changes that broke the maps functional tests using the method gis_page.clickFitToBounds. The problem was that with a shorter waitForDeleted timeout, the map did not have time to pan and zoom to the location calculated from fit to bounds.

The tests were skipped in #33977 to unblock the build.

This PR fixes the problem and turns on the skipped tests

@nreese nreese requested review from dmlemeshko and LeeDr March 27, 2019 18:26
@nreese nreese added v8.0.0 v7.2.0 release_note:skip Skip the PR/issue when compiling release notes labels Mar 27, 2019
@nreese nreese added the v7.0.0 label Mar 27, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Member

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

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

I tested it locally with/without network throttling and no failures spotted. LGTM

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@nreese nreese merged commit f32a44a into elastic:master Apr 1, 2019
nreese added a commit to nreese/kibana that referenced this pull request Apr 1, 2019
…c#33993)

* [Maps] properly wait for map pan and zoom in functional tests

* unskip tests from merge with master

* do not check original view with setView

* update expect statements for numbers instead of strings
nreese added a commit that referenced this pull request Apr 1, 2019
#34277)

* [Maps] properly wait for map pan and zoom in functional tests

* unskip tests from merge with master

* do not check original view with setView

* update expect statements for numbers instead of strings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.0.0 v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants