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

[App Search] Handle curation suggestions with a delete operation #114545

Merged
merged 2 commits into from
Oct 12, 2021

Conversation

JasonStoltz
Copy link
Member

Summary

Suggestions can be of 3 operation types:

  • create - accepting this suggestion will create a new curation
  • update - accepting this suggestion will up an existing curation
  • delete - accepting this suggestion will delete an existing curation

We need to handle the delete operation differently than update and create.

  • After the suggestion is accepted, the curation is deleted, so we can't redirect a user the curation detail page, we need to redirect the user back to the curations overview page.
  • This is a destructive operation, we need to prompt the user and make sure the user understands that accepting the suggestion will delete the existing curation

latest

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@JasonStoltz JasonStoltz added release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v7.16.0 labels Oct 11, 2021
@JasonStoltz JasonStoltz requested a review from a team October 11, 2021 18:02
@JasonStoltz
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Contributor

@daveyholler daveyholler left a comment

Choose a reason for hiding this comment

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

LGTM

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/maps/documents_source/docvalue_fields·js.maps app documents source docvalue_fields should format date fields as epoch_millis when data driven styling is applied to a date field

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 8 times on tracked branches: https://github.com/elastic/kibana/issues/114418

[00:00:00]     │
[00:00:00]       └-: maps app
[00:00:00]         └-> "before all" hook in "maps app"
[00:00:00]         └-> "before all" hook in "maps app"
[00:00:00]           │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "mappings.json"
[00:00:00]           │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "data.json.gz"
[00:00:00]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:00]           │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]           │ debg [x-pack/test/functional/es_archives/logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:00]           │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]           │ debg [x-pack/test/functional/es_archives/logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:00]           │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]           │ debg [x-pack/test/functional/es_archives/logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]           │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.21/pmiz6B6hRgGepzS4bwQ4sg] update_mapping [_doc]
[00:00:05]           │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.20/j8KjzFDFSfa2FVOeTsK8vQ] update_mapping [_doc]
[00:00:10]           │ info progress: 8115
[00:00:15]           │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:00:15]           │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:15]           │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:16]           │ debg resolved import for x-pack/test/functional/fixtures/kbn_archiver/maps.json to /dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/fixtures/kbn_archiver/maps.json
[00:00:16]           │ info importing 37 saved objects { space: undefined }
[00:00:16]           │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/pDX7DkFiQPy7NlL1LzyiNw] update_mapping [_doc]
[00:00:16]           │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/pDX7DkFiQPy7NlL1LzyiNw] update_mapping [_doc]
[00:00:16]           │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/pDX7DkFiQPy7NlL1LzyiNw] update_mapping [_doc]
[00:00:16]           │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/pDX7DkFiQPy7NlL1LzyiNw] update_mapping [_doc]
[00:00:16]           │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/pDX7DkFiQPy7NlL1LzyiNw] update_mapping [_doc]
[00:00:16]           │ succ import success
[00:00:16]           │ info Delete index pattern
[00:00:16]           │ debg id: idThatDoesNotExitForESGeoGridSource
[00:00:16]           │ debg id: idThatDoesNotExitForESSearchSource
[00:00:16]           │ debg id: idThatDoesNotExitForESJoinSource
[00:00:21]           │ info [x-pack/test/functional/es_archives/maps/data] Loading "mappings.json"
[00:00:21]           │ info [x-pack/test/functional/es_archives/maps/data] Loading "data.json"
[00:00:21]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [geo_shapes] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[geo_shapes][0]]])." previous.health="YELLOW" reason="shards started [[geo_shapes][0]]"
[00:00:21]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "geo_shapes"
[00:00:21]           │ debg [x-pack/test/functional/es_archives/maps/data] "geo_shapes" settings {"index":{"number_of_replicas":"0","number_of_shards":"1","max_result_window":"10001","max_inner_result_window":"101"}}
[00:00:21]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [drawing_data] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[drawing_data][0]]])." previous.health="YELLOW" reason="shards started [[drawing_data][0]]"
[00:00:21]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "drawing_data"
[00:00:21]           │ debg [x-pack/test/functional/es_archives/maps/data] "drawing_data" settings {"index":{"number_of_replicas":"0","number_of_shards":"1","max_result_window":"10001","max_inner_result_window":"101"}}
[00:00:21]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [meta_for_geo_shapes] creating index, cause [api], templates [], shards [1]/[0]
[00:00:21]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[meta_for_geo_shapes][0]]])." previous.health="YELLOW" reason="shards started [[meta_for_geo_shapes][0]]"
[00:00:21]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "meta_for_geo_shapes"
[00:00:21]           │ debg [x-pack/test/functional/es_archives/maps/data] "meta_for_geo_shapes" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:21]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [antimeridian_points] creating index, cause [api], templates [], shards [1]/[0]
[00:00:22]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[antimeridian_points][0]]])." previous.health="YELLOW" reason="shards started [[antimeridian_points][0]]"
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "antimeridian_points"
[00:00:22]           │ debg [x-pack/test/functional/es_archives/maps/data] "antimeridian_points" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:22]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [antimeridian_shapes] creating index, cause [api], templates [], shards [1]/[0]
[00:00:22]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[antimeridian_shapes][0]]])." previous.health="YELLOW" reason="shards started [[antimeridian_shapes][0]]"
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "antimeridian_shapes"
[00:00:22]           │ debg [x-pack/test/functional/es_archives/maps/data] "antimeridian_shapes" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:22]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [flights] creating index, cause [api], templates [], shards [1]/[0]
[00:00:22]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[flights][0]]])." previous.health="YELLOW" reason="shards started [[flights][0]]"
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "flights"
[00:00:22]           │ debg [x-pack/test/functional/es_archives/maps/data] "flights" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:22]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [connections] creating index, cause [api], templates [], shards [1]/[0]
[00:00:22]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[connections][0]]])." previous.health="YELLOW" reason="shards started [[connections][0]]"
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "connections"
[00:00:22]           │ debg [x-pack/test/functional/es_archives/maps/data] "connections" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:22]           │ info [o.e.c.m.MetadataMappingService] [node-01] [meta_for_geo_shapes/a4jw61X0QvCmBuOIERbxqg] update_mapping [_doc]
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 4 docs into "geo_shapes"
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 1 docs into "drawing_data"
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 6 docs into "meta_for_geo_shapes"
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 3 docs into "antimeridian_points"
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 3 docs into "antimeridian_shapes"
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 3 docs into "flights"
[00:00:22]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 4 docs into "connections"
[00:00:22]           │ debg replacing kibana config doc: {"defaultIndex":"c698b940-e149-11e8-a35a-370a8516603a"}
[00:00:23]         └-: 
[00:00:23]           └-> "before all" hook in ""
[00:00:23]           └-: documents source
[00:00:23]             └-> "before all" hook in "documents source"
[00:00:23]             └-: docvalue_fields
[00:00:23]               └-> "before all" hook for "should only fetch geo_point field and time field and nothing else when source does not have data driven styling"
[00:00:23]               └-> "before all" hook for "should only fetch geo_point field and time field and nothing else when source does not have data driven styling"
[00:00:23]                 │ debg set roles = global_maps_read,test_logstash_reader
[00:00:23]                 │ debg creating user test_user
[00:00:23]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [test_user]
[00:00:23]                 │ debg created user test_user
[00:00:23]                 │ debg Load Saved Map document example
[00:00:23]                 │ debg searchForMapWithName: document example
[00:00:23]                 │ debg gotoMapListingPage
[00:00:23]                 │ debg onMapListingPage
[00:00:23]                 │ debg TestSubjects.exists(mapLandingPage)
[00:00:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:00:25]                 │ debg --- retry.tryForTime error: [data-test-subj="mapLandingPage"] is not displayed
[00:00:28]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:29]                 │ debg navigateToActualUrl http://localhost:61241/app/maps/
[00:00:29]                 │ debg browser[INFO] http://localhost:61241/login?next=%2Fapp%2Fmaps%2F%3F_t%3D1633979571559 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:29]                 │
[00:00:29]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:29]                 │ debg currentUrl = http://localhost:61241/login?next=%2Fapp%2Fmaps%2F%3F_t%3D1633979571559
[00:00:29]                 │          appUrl = http://localhost:61241/app/maps/
[00:00:29]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:29]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:32]                 │ debg Found login page
[00:00:32]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:00:32]                 │ debg TestSubjects.click(loginUsername)
[00:00:32]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:32]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:32]                 │ERROR browser[SEVERE] http://localhost:61241/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:33]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:00:33]                 │ debg TestSubjects.click(loginPassword)
[00:00:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:33]                 │ debg TestSubjects.click(loginSubmit)
[00:00:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:33]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:00:33]                 │ proc [kibana] [2021-10-11T19:12:55.446+00:00][INFO ][plugins.security.routes] Logging in with provider "basic" (basic)
[00:00:34]                 │ debg browser[INFO] http://localhost:61241/app/maps/?_t=1633979571559 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:34]                 │
[00:00:34]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:34]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:37]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:00:38]                 │ debg browser[INFO] http://localhost:61241/app/maps/?_t=1633979579270 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:38]                 │
[00:00:38]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:38]                 │ debg Finished login process currentUrl = http://localhost:61241/app/maps/
[00:00:38]                 │ debg onMapListingPage
[00:00:38]                 │ debg TestSubjects.exists(mapLandingPage)
[00:00:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:00:40]                 │ debg searchForItemWithName: document example
[00:00:40]                 │ debg TestSubjects.find(tableListSearchBox)
[00:00:40]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:00:40]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:40]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:42]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:42]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:42]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:43]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:43]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:44]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:45]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:45]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:45]                 │ debg TestSubjects.click(mapListingTitleLink-document-example)
[00:00:45]                 │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:00:45]                 │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:00:45]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:45]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:46]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:46]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:47]                 │ debg TestSubjects.missingOrFail(mapLandingPage)
[00:00:47]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=10000
[00:00:47]                 │ debg Wait for layers to load
[00:00:47]                 │ debg TestSubjects.find(mapLayerTOC)
[00:00:47]                 │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:00:48]               └-> should only fetch geo_point field and time field and nothing else when source does not have data driven styling
[00:00:48]                 └-> "before each" hook: global before each for "should only fetch geo_point field and time field and nothing else when source does not have data driven styling"
[00:00:48]                 │ debg Load Saved Map document example
[00:00:48]                 │ debg searchForMapWithName: document example
[00:00:48]                 │ debg gotoMapListingPage
[00:00:48]                 │ debg onMapListingPage
[00:00:48]                 │ debg TestSubjects.exists(mapLandingPage)
[00:00:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:00:51]                 │ debg --- retry.tryForTime error: [data-test-subj="mapLandingPage"] is not displayed
[00:00:52]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/pDX7DkFiQPy7NlL1LzyiNw] update_mapping [_doc]
[00:00:54]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:54]                 │ debg navigateToActualUrl http://localhost:61241/app/maps/
[00:00:55]                 │ debg browser[INFO] http://localhost:61241/app/maps/?_t=1633979597024 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:55]                 │
[00:00:55]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:55]                 │ debg currentUrl = http://localhost:61241/app/maps/
[00:00:55]                 │          appUrl = http://localhost:61241/app/maps/
[00:00:55]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:55]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:56]                 │ debg onMapListingPage
[00:00:56]                 │ debg TestSubjects.exists(mapLandingPage)
[00:00:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:00:57]                 │ debg searchForItemWithName: document example
[00:00:57]                 │ debg TestSubjects.find(tableListSearchBox)
[00:00:57]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:00:57]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:57]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:59]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:59]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:59]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:59]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:59]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:01]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:02]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:02]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:02]                 │ debg TestSubjects.click(mapListingTitleLink-document-example)
[00:01:02]                 │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:01:02]                 │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:01:02]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:02]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:03]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:03]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:04]                 │ debg TestSubjects.missingOrFail(mapLandingPage)
[00:01:04]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=10000
[00:01:04]                 │ debg Wait for layers to load
[00:01:04]                 │ debg TestSubjects.find(mapLayerTOC)
[00:01:04]                 │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:01:05]                 │ debg Inspector.open
[00:01:05]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:08]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:08]                 │ debg TestSubjects.click(openInspectorButton)
[00:01:08]                 │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:01:09]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:09]                 │ debg Open Inspector view inspectorViewChooserRequests
[00:01:09]                 │ debg TestSubjects.click(inspectorViewChooser)
[00:01:09]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:01:09]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:01:09]                 │ debg TestSubjects.click(inspectorViewChooserRequests)
[00:01:09]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:01:09]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:01:09]                 │ debg TestSubjects.click(inspectorRequestDetailResponse)
[00:01:09]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:01:09]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:01:09]                 │ debg Find.findByCssSelector('.react-monaco-editor-container') with timeout=10000
[00:01:09]                 │ debg Close Inspector
[00:01:09]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:09]                 │ debg Closing flyout inspectorPanel
[00:01:09]                 │ debg TestSubjects.find(inspectorPanel)
[00:01:09]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:01:10]                 │ debg Waiting up to 20000ms for flyout closed...
[00:01:10]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:01:11]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:11]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:14]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:14]                 └- ✓ pass  (25.7s) "maps app  documents source docvalue_fields should only fetch geo_point field and time field and nothing else when source does not have data driven styling"
[00:01:14]               └-> should only fetch geo_point field and data driven styling fields
[00:01:14]                 └-> "before each" hook: global before each for "should only fetch geo_point field and data driven styling fields"
[00:01:14]                 │ debg Load Saved Map document example with data driven styles
[00:01:14]                 │ debg searchForMapWithName: document example with data driven styles
[00:01:14]                 │ debg gotoMapListingPage
[00:01:14]                 │ debg onMapListingPage
[00:01:14]                 │ debg TestSubjects.exists(mapLandingPage)
[00:01:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:01:17]                 │ debg --- retry.tryForTime error: [data-test-subj="mapLandingPage"] is not displayed
[00:01:20]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:20]                 │ debg navigateToActualUrl http://localhost:61241/app/maps/
[00:01:21]                 │ debg browser[INFO] http://localhost:61241/app/maps/?_t=1633979622808 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:21]                 │
[00:01:21]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:21]                 │ debg currentUrl = http://localhost:61241/app/maps/
[00:01:21]                 │          appUrl = http://localhost:61241/app/maps/
[00:01:21]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:21]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:22]                 │ debg onMapListingPage
[00:01:22]                 │ debg TestSubjects.exists(mapLandingPage)
[00:01:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:01:23]                 │ debg searchForItemWithName: document example with data driven styles
[00:01:23]                 │ debg TestSubjects.find(tableListSearchBox)
[00:01:23]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:01:24]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:24]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:26]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:26]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:26]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:26]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:26]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:28]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:28]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:28]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:28]                 │ debg TestSubjects.click(mapListingTitleLink-document-example-with-data-driven-styles)
[00:01:28]                 │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example-with-data-driven-styles"]') with timeout=10000
[00:01:28]                 │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example-with-data-driven-styles"]') with timeout=10000
[00:01:28]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:28]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:30]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:30]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:31]                 │ debg TestSubjects.missingOrFail(mapLandingPage)
[00:01:31]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=10000
[00:01:31]                 │ debg Wait for layers to load
[00:01:31]                 │ debg TestSubjects.find(mapLayerTOC)
[00:01:31]                 │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:01:32]                 │ debg Inspector.open
[00:01:32]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:35]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:35]                 │ debg TestSubjects.click(openInspectorButton)
[00:01:35]                 │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:01:35]                 │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:01:36]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:36]                 │ debg Open Inspector view inspectorViewChooserRequests
[00:01:36]                 │ debg TestSubjects.click(inspectorViewChooser)
[00:01:36]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:01:36]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:01:36]                 │ debg TestSubjects.click(inspectorViewChooserRequests)
[00:01:36]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:01:36]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:01:36]                 │ debg TestSubjects.click(inspectorRequestDetailResponse)
[00:01:36]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:01:36]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:01:36]                 │ debg Find.findByCssSelector('.react-monaco-editor-container') with timeout=10000
[00:01:36]                 │ debg Close Inspector
[00:01:36]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:36]                 │ debg Closing flyout inspectorPanel
[00:01:36]                 │ debg TestSubjects.find(inspectorPanel)
[00:01:36]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:01:36]                 │ debg Waiting up to 20000ms for flyout closed...
[00:01:36]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:01:37]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:38]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:40]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:41]                 └- ✓ pass  (26.8s) "maps app  documents source docvalue_fields should only fetch geo_point field and data driven styling fields"
[00:01:41]               └-> should format date fields as epoch_millis when data driven styling is applied to a date field
[00:01:41]                 └-> "before each" hook: global before each for "should format date fields as epoch_millis when data driven styling is applied to a date field"
[00:01:41]                 │ debg Load Saved Map document example with data driven styles on date field
[00:01:41]                 │ debg searchForMapWithName: document example with data driven styles on date field
[00:01:41]                 │ debg gotoMapListingPage
[00:01:41]                 │ debg onMapListingPage
[00:01:41]                 │ debg TestSubjects.exists(mapLandingPage)
[00:01:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:01:44]                 │ debg --- retry.tryForTime error: [data-test-subj="mapLandingPage"] is not displayed
[00:01:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:47]                 │ debg navigateToActualUrl http://localhost:61241/app/maps/
[00:01:47]                 │ debg browser[INFO] http://localhost:61241/app/maps/?_t=1633979649617 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:47]                 │
[00:01:47]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:47]                 │ debg currentUrl = http://localhost:61241/app/maps/
[00:01:47]                 │          appUrl = http://localhost:61241/app/maps/
[00:01:47]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:47]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:49]                 │ debg onMapListingPage
[00:01:49]                 │ debg TestSubjects.exists(mapLandingPage)
[00:01:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:01:50]                 │ debg searchForItemWithName: document example with data driven styles on date field
[00:01:50]                 │ debg TestSubjects.find(tableListSearchBox)
[00:01:50]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:01:51]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:51]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:52]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:53]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:53]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:53]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:53]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:54]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:55]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:55]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:55]                 │ debg TestSubjects.click(mapListingTitleLink-document-example-with-data-driven-styles-on-date-field)
[00:01:55]                 │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example-with-data-driven-styles-on-date-field"]') with timeout=10000
[00:01:55]                 │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example-with-data-driven-styles-on-date-field"]') with timeout=10000
[00:01:55]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:55]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:56]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:56]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:57]                 │ debg TestSubjects.missingOrFail(mapLandingPage)
[00:01:57]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=10000
[00:01:58]                 │ debg Wait for layers to load
[00:01:58]                 │ debg TestSubjects.find(mapLayerTOC)
[00:01:58]                 │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:01:59]                 │ debg Inspector.open
[00:01:59]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:02:01]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:02:02]                 │ debg TestSubjects.click(openInspectorButton)
[00:02:02]                 │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:02:02]                 │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:02:02]                 │ debg TestSubjects.exists(inspectorPanel)
[00:02:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:02:02]                 │ debg Open Inspector view inspectorViewChooserRequests
[00:02:02]                 │ debg TestSubjects.click(inspectorViewChooser)
[00:02:02]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:02:02]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:02:02]                 │ debg TestSubjects.click(inspectorViewChooserRequests)
[00:02:02]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:02:02]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:02:02]                 │ debg TestSubjects.click(inspectorRequestDetailResponse)
[00:02:02]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:02:02]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:02:02]                 │ debg Find.findByCssSelector('.react-monaco-editor-container') with timeout=10000
[00:02:02]                 │ debg Close Inspector
[00:02:02]                 │ debg TestSubjects.exists(inspectorPanel)
[00:02:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:02:03]                 │ debg Closing flyout inspectorPanel
[00:02:03]                 │ debg TestSubjects.find(inspectorPanel)
[00:02:03]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:02:03]                 │ debg Waiting up to 20000ms for flyout closed...
[00:02:03]                 │ debg TestSubjects.exists(inspectorPanel)
[00:02:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:02:04]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:02:04]                 │ debg TestSubjects.exists(inspectorPanel)
[00:02:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:02:07]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:02:07]                 │ info Taking screenshot "/dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/screenshots/failure/maps app  documents source docvalue_fields should format date fields as epoch_millis when data driven styling is applied to a date field.png"
[00:02:08]                 │ info Current URL is: http://localhost:61241/app/maps/map/c9277dd0-eb8f-11e9-ae47-693d6a50fb9e#?_g=(filters:!(),refreshInterval:(pause:!t,value:1000),time:(from:%272015-09-20T00:00:00.000Z%27,to:%272015-09-20T01:00:00.000Z%27))&_a=(filters:!(),query:(language:kuery,query:%27%27))
[00:02:08]                 │ info Saving page source to: /dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/failure_debug/html/maps app  documents source docvalue_fields should format date fields as epoch_millis when data driven styling is applied to a date field.html
[00:02:08]                 └- ✖ fail: maps app  documents source docvalue_fields should format date fields as epoch_millis when data driven styling is applied to a date field
[00:02:08]                 │       Error: expected '1442709961071' to sort of equal '1442709321445'
[00:02:08]                 │       + expected - actual
[00:02:08]                 │ 
[00:02:08]                 │       -1442709961071
[00:02:08]                 │       +1442709321445
[00:02:08]                 │       
[00:02:08]                 │       at Assertion.assert (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:02:08]                 │       at Assertion.eql (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:02:08]                 │       at Context.<anonymous> (test/functional/apps/maps/documents_source/docvalue_fields.js:52:51)
[00:02:08]                 │       at Object.apply (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:02:08]                 │ 
[00:02:08]                 │ 

Stack Trace

Error: expected '1442709961071' to sort of equal '1442709321445'
    at Assertion.assert (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/maps/documents_source/docvalue_fields.js:52:51)
    at Object.apply (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '1442709961071',
  expected: '1442709321445',
  showDiff: true
}

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
enterpriseSearch 1.4MB 1.4MB +388.0B

History

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

cc @daveyholler @byronhulcher

Comment on lines +349 to +354
const confirmDialog = (msg: string) => {
return new Promise(function (resolve) {
const confirmed = window.confirm(msg);
return resolve(confirmed);
});
};
Copy link
Contributor

Choose a reason for hiding this comment

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

At some point we'll want to stop writing new window.confirms and implement EuiConfirmModals but that doesn't need to be now

Copy link
Member Author

Choose a reason for hiding this comment

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

True.

@JasonStoltz JasonStoltz merged commit a11c337 into elastic:master Oct 12, 2021
@JasonStoltz JasonStoltz deleted the handle-delete branch October 12, 2021 11:53
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 12, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Oct 14, 2021
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

3 similar comments
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

byronhulcher pushed a commit that referenced this pull request Oct 19, 2021
…4549) (#115650)

* Handle deletes (#114545)

* [App Search] Wired up organic results on Curation Suggestions view (#114717)

* [App Search] Added a History tab to the Automated Curation detail view (#115090)

* Check platinum license (#114549)
@byronhulcher
Copy link
Contributor

Backported in #115650

@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants