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

unskip maps tests #90323

Merged
merged 13 commits into from
Feb 11, 2021
Merged

Conversation

rashmivkulkarni
Copy link
Contributor

@rashmivkulkarni rashmivkulkarni commented Feb 4, 2021

unskip functional maps tests.
Part of #89788
Fixes: #38137
Fixes: #36011

Note: had to skip the layer_error test for reasons mentioned below in comments.
Ref: #69617

@rashmivkulkarni rashmivkulkarni added [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation test_xpack_functional v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.11.0 labels Feb 4, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@rashmivkulkarni
Copy link
Contributor Author

https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/1249/ ( running it on Flaky test runner as well on CI group9 where this test belongs- for 50 times).

Copy link
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

Would you also mind updating the baseline/flights_map.png?

LGTM, thanks for turning on these skipped tests.
code review

@rashmivkulkarni
Copy link
Contributor Author

rashmivkulkarni commented Feb 9, 2021

This test is run on :

Error: expected 'Unable to find EMS tile configuration for id: . Kibana is unable to access Elastic Maps Service. Contact your system administrator.' to equal 'Unable to find EMS tile configuration for id: idThatDoesNotExitForEMSTile. Kibana is unable to access Elastic Maps Service. Contact your system administrator.'
passed
Error: expected 'Unable to find EMS tile configuration for id: . Kibana is unable to access Elastic Maps Service. Contact your system administrator.' to equal 'Unable to find EMS tile configuration for id: idThatDoesNotExitForEMSTile. Kibana is unable to access Elastic Maps Service. Contact your system administrator.'

@LeeDr
Copy link
Contributor

LeeDr commented Feb 9, 2021

On my local Windows 10 running not headless the first 2 of the 3 sample_data test passed and the 3rd one failed with these diffs;

           │ debg percent different: 0.013915625
           └- √ pass  (2.2s) "maps app  maps loaded from sample data ecommerce should load layers"
           │ debg percent different: 0.018916875
           └- √ pass  (2.7s) "maps app  maps loaded from sample data flights should load saved object and display layers"
            │ debg percent different: 0.03130125
           └- × fail: maps app  maps loaded from sample data web logs should load saved object and display layers
           │      Error: expected 0.03130125 to be below 0.02

But running the test with TEST_HEADLESS_BROWSER=1 (Jenkins runs headless) gave better results with all 3 passing (percent different < .01);

           │ debg percent different: 0.005636875
           └- √ pass  (1.7s) "maps app  maps loaded from sample data ecommerce should load layers"
           │ debg percent different: 0.00162
           └- √ pass  (1.6s) "maps app  maps loaded from sample data flights should load saved object and display layers"
           │ debg percent different: 0.007640625
           └- √ pass  (1.4s) "maps app  maps loaded from sample data web logs should load saved object and display layers"

Copy link
Contributor

@LeeDr LeeDr left a comment

Choose a reason for hiding this comment

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

LGTM - If it passes on the cloud flaky test runner you're all good. If it doesn't pass let me know.

@LeeDr
Copy link
Contributor

LeeDr commented Feb 10, 2021

The layer_errors test passed for me locally on Windows running from source on this PR. But it fails on both our Cloud and Windows Jenkins jobs (which both use the snapshot build). We could try it locally against a snapshot build.

Copy link
Contributor

@LeeDr LeeDr left a comment

Choose a reason for hiding this comment

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

Can we skip just this one layer_errors test please.

x-pack/test/functional/apps/maps/layer_errors.js Outdated Show resolved Hide resolved
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
maps 2.8MB 2.8MB +14.0B
triggersActionsUi 1.5MB 1.5MB -26.9KB
total -26.9KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
triggersActionsUi 163.1KB 163.2KB +102.0B
Unknown metric groups

async chunk count

id before after diff
triggersActionsUi 31 32 +1

History

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

@rashmivkulkarni rashmivkulkarni merged commit b1134bb into elastic:7.11 Feb 11, 2021
rashmivkulkarni added a commit to rashmivkulkarni/kibana that referenced this pull request Feb 11, 2021
* unskip maps tests

* checking the baseline images

* updated the test to move the mouse away and close the Legend

* more changes to the test

* reducing the threshold limit

* updating the baseline images

* added a comment about the baseline images

* updating flights baseline image and adjusting threshold

* updated threshold and baseline image for web log

* session image of weblogsmap

* skipping layer_errors test

* skip the test - as it fails on cloud and windows on snapshot
rashmivkulkarni added a commit that referenced this pull request Feb 11, 2021
…errors) and also added baseline images (#91205)

* fixes #74449

* unskip maps tests (#90323)

* unskip maps tests

* checking the baseline images

* updated the test to move the mouse away and close the Legend

* more changes to the test

* reducing the threshold limit

* updating the baseline images

* added a comment about the baseline images

* updating flights baseline image and adjusting threshold

* updated threshold and baseline image for web log

* session image of weblogsmap

* skipping layer_errors test

* skip the test - as it fails on cloud and windows on snapshot
rashmivkulkarni added a commit to rashmivkulkarni/kibana that referenced this pull request Feb 19, 2021
…errors) and also added baseline images (elastic#91205)

* fixes elastic#74449

* unskip maps tests (elastic#90323)

* unskip maps tests

* checking the baseline images

* updated the test to move the mouse away and close the Legend

* more changes to the test

* reducing the threshold limit

* updating the baseline images

* added a comment about the baseline images

* updating flights baseline image and adjusting threshold

* updated threshold and baseline image for web log

* session image of weblogsmap

* skipping layer_errors test

* skip the test - as it fails on cloud and windows on snapshot
rashmivkulkarni added a commit to rashmivkulkarni/kibana that referenced this pull request Feb 19, 2021
…errors) and also added baseline images (elastic#91205)

* fixes elastic#74449

* unskip maps tests (elastic#90323)

* unskip maps tests

* checking the baseline images

* updated the test to move the mouse away and close the Legend

* more changes to the test

* reducing the threshold limit

* updating the baseline images

* added a comment about the baseline images

* updating flights baseline image and adjusting threshold

* updated threshold and baseline image for web log

* session image of weblogsmap

* skipping layer_errors test

* skip the test - as it fails on cloud and windows on snapshot
rashmivkulkarni added a commit that referenced this pull request Feb 19, 2021
…errors) and also added baseline images (#91205) (#91973)

* fixes #74449

* unskip maps tests (#90323)

* unskip maps tests

* checking the baseline images

* updated the test to move the mouse away and close the Legend

* more changes to the test

* reducing the threshold limit

* updating the baseline images

* added a comment about the baseline images

* updating flights baseline image and adjusting threshold

* updated threshold and baseline image for web log

* session image of weblogsmap

* skipping layer_errors test

* skip the test - as it fails on cloud and windows on snapshot
rashmivkulkarni added a commit that referenced this pull request Feb 19, 2021
…errors) and also added baseline images (#91205) (#91972)

* fixes #74449

* unskip maps tests (#90323)

* unskip maps tests

* checking the baseline images

* updated the test to move the mouse away and close the Legend

* more changes to the test

* reducing the threshold limit

* updating the baseline images

* added a comment about the baseline images

* updating flights baseline image and adjusting threshold

* updated threshold and baseline image for web log

* session image of weblogsmap

* skipping layer_errors test

* skip the test - as it fails on cloud and windows on snapshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation release_note:skip Skip the PR/issue when compiling release notes test_xpack_functional v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants