Skip to content

[KibanaPageTemplate] Fix custom sidebar classes overriding kbnPageTemplate class#103715

Merged
cee-chen merged 6 commits intoelastic:masterfrom
cee-chen:kbt-sidebar-classes
Jul 14, 2021
Merged

[KibanaPageTemplate] Fix custom sidebar classes overriding kbnPageTemplate class#103715
cee-chen merged 6 commits intoelastic:masterfrom
cee-chen:kbt-sidebar-classes

Conversation

@cee-chen
Copy link
Copy Markdown
Contributor

Summary

The .kbnPageTemplate__pageSideBar CSS class was getting overridden by anyone passing a custom pageSideBarProps={{ className: 'whatever' }} into KibanaPageTemplate. This PR should fix that!

Before:

Missing class and styling:

After:

Checklist

cee-chen added 2 commits June 29, 2021 09:21
- due to it existing in ...rest, and ...rest coming after pageSideBarProps
@cee-chen cee-chen added release_note:skip Skip the PR/issue when compiling release notes v7.14.0 auto-backport Deprecated - use backport:version if exact versions are needed v7.15.0 labels Jun 29, 2021
@cee-chen cee-chen requested a review from cchaos June 29, 2021 16:51
@cee-chen cee-chen requested a review from a team as a code owner June 29, 2021 16:51
@cee-chen cee-chen removed the v7.14.0 label Jun 29, 2021
@cee-chen
Copy link
Copy Markdown
Contributor Author

@elastic/kibana-app-services Any chance one of y'all can take a quick look at this and approve as CODEOWNER? This should be a fairly small PR :)

@cee-chen
Copy link
Copy Markdown
Contributor Author

@elasticmachine run elasticsearch-ci/docs

@cee-chen
Copy link
Copy Markdown
Contributor Author

cee-chen commented Jul 9, 2021

@elasticmachine merge upstream

@cchaos
Copy link
Copy Markdown
Contributor

cchaos commented Jul 12, 2021

@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

Thanks @constancecchen !

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

👍 Code LGTM!

@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/heatmap·ts.lens app lens heatmap should reflect stop colors change on the chart

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:11:05]         └-: lens app
[00:11:05]           └-> "before all" hook in "lens app"
[00:11:05]           └-> "before all" hook in "lens app"
[00:11:05]             │ debg Starting lens before method
[00:11:05]             │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "mappings.json"
[00:11:05]             │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "data.json.gz"
[00:11:05]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.22/Lbkht-nCS16BOOEV28CHPg] deleting index
[00:11:05]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.22"
[00:11:05]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:11:05]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.22"
[00:11:05]             │ 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:11:05]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.20/BmPGjHaNTn2LDAj_SoEzgg] deleting index
[00:11:05]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.20"
[00:11:05]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:11:05]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.20"
[00:11:05]             │ 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:11:05]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.21/qTpHclr9Q2-ncBDcJGwfdw] deleting index
[00:11:05]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.21"
[00:11:05]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:11:05]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.21"
[00:11:05]             │ 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:11:05]             │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.21/znKi6ihsQJ2GxtkqvEcMew] update_mapping [_doc]
[00:11:09]             │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.20/Z0pcVBEbS0KrPBHVDupcUw] update_mapping [_doc]
[00:11:15]             │ info progress: 11133
[00:11:17]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:11:17]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:11:17]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:11:18]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "mappings.json"
[00:11:18]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "data.json"
[00:11:18]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "data.json.gz"
[00:11:18]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/sUdWQ-O1Ru62RQkeo3PAYw] deleting index
[00:11:18]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/14duVRGhRxKJgMZp2e3rOA] deleting index
[00:11:18]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/uOQE_MgYT8q35rX34z79XA] deleting index
[00:11:18]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_8.0.0_001"
[00:11:18]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:11:18]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_1"
[00:11:18]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:11:18]             │ info [x-pack/test/functional/es_archives/lens/basic] Created index ".kibana_1"
[00:11:18]             │ debg [x-pack/test/functional/es_archives/lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:11:18]             │ info [x-pack/test/functional/es_archives/lens/basic] Indexed 24 docs into ".kibana_1"
[00:11:18]             │ debg Migrating saved objects
[00:11:18]             │ proc [kibana]   log   [15:31:27.993] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:11:18]             │ proc [kibana]   log   [15:31:27.996] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 9ms.
[00:11:18]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:11:18]             │ proc [kibana]   log   [15:31:27.999] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 3ms.
[00:11:18]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:11:18]             │ proc [kibana]   log   [15:31:28.007] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 8ms.
[00:11:18]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/HdOY1YD-TtOMrI7wMwMEjQ]]
[00:11:18]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:11:18]             │ proc [kibana]   log   [15:31:28.076] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 83ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.092] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 85ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.112] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 36ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.112] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 122ms
[00:11:18]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:11:18]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:11:18]             │ proc [kibana]   log   [15:31:28.169] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 77ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.173] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 4ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.182] [info][savedobjects-service] [.kibana] Starting to process 12 documents.
[00:11:18]             │ proc [kibana]   log   [15:31:28.182] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 8ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.214] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 33ms.
[00:11:18]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/e3c4qRbjSCK0Qi0n4_2JFQ] update_mapping [_doc]
[00:11:18]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/e3c4qRbjSCK0Qi0n4_2JFQ] update_mapping [_doc]
[00:11:18]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/e3c4qRbjSCK0Qi0n4_2JFQ] update_mapping [_doc]
[00:11:18]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/e3c4qRbjSCK0Qi0n4_2JFQ] update_mapping [_doc]
[00:11:18]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/e3c4qRbjSCK0Qi0n4_2JFQ] update_mapping [_doc]
[00:11:18]             │ proc [kibana]   log   [15:31:28.373] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 159ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.378] [info][savedobjects-service] [.kibana] Processed 12 documents out of 12.
[00:11:18]             │ proc [kibana]   log   [15:31:28.378] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 5ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.381] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:11:18]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_8.0.0_reindex_temp/e3c4qRbjSCK0Qi0n4_2JFQ]]
[00:11:18]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:11:18]             │ proc [kibana]   log   [15:31:28.429] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 48ms.
[00:11:18]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:11:18]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:11:18]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:11:18]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/Jwj1xcDWSj-evDv1-RL-PA] create_mapping
[00:11:18]             │ proc [kibana]   log   [15:31:28.550] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 121ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.554] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.557] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.563] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 6ms.
[00:11:18]             │ proc [kibana]   log   [15:31:28.566] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 3ms.
[00:11:18]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/Jwj1xcDWSj-evDv1-RL-PA] update_mapping [_doc]
[00:11:18]             │ proc [kibana]   log   [15:31:28.623] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 57ms.
[00:11:18]             │ info [o.e.t.LoggingTaskListener] [node-01] 25241 finished with response BulkByScrollResponse[took=35.8ms,timed_out=false,sliceId=null,updated=12,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:11:19]             │ proc [kibana]   log   [15:31:28.728] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:11:19]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_reindex_temp/e3c4qRbjSCK0Qi0n4_2JFQ] deleting index
[00:11:19]             │ proc [kibana]   log   [15:31:28.767] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 39ms.
[00:11:19]             │ proc [kibana]   log   [15:31:28.768] [info][savedobjects-service] [.kibana] Migration completed after 781ms
[00:11:19]             │ debg [x-pack/test/functional/es_archives/lens/basic] Migrated Kibana index after loading Kibana data
[00:11:19]             │ debg [x-pack/test/functional/es_archives/lens/basic] Ensured that default space exists in .kibana
[00:11:19]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true,"visualization:visualize:legacyPieChartsLibrary":true}
[00:11:20]           └-: 
[00:11:20]             └-> "before all" hook in ""
[01:04:53]             └-: lens heatmap
[01:04:53]               └-> "before all" hook for "should render heatmap chart with the temperature palette"
[01:04:53]               └-> "before all" hook for "should render heatmap chart with the temperature palette"
[01:04:53]                 │ debg navigating to visualize url: http://localhost:61191/app/visualize#/
[01:04:53]                 │ debg navigate to: http://localhost:61191/app/visualize#/
[01:04:53]                 │ debg browser[INFO] http://localhost:61191/app/visualize?_t=1626107103070#/ 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.
[01:04:53]                 │
[01:04:53]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:04:53]                 │ debg ... sleep(700) start
[01:04:54]                 │ debg ... sleep(700) end
[01:04:54]                 │ debg returned from get, calling refresh
[01:04:54]                 │ debg browser[INFO] http://localhost:61191/app/visualize?_t=1626107103070#/ 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.
[01:04:54]                 │
[01:04:54]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:04:55]                 │ debg currentUrl = http://localhost:61191/app/visualize#/
[01:04:55]                 │          appUrl = http://localhost:61191/app/visualize#/
[01:04:55]                 │ debg TestSubjects.find(kibanaChrome)
[01:04:55]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[01:04:55]                 │ debg ... sleep(501) start
[01:04:55]                 │ debg ... sleep(501) end
[01:04:55]                 │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[01:04:55]                 │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[01:04:56]                 │ debg ... sleep(501) start
[01:04:56]                 │ debg ... sleep(501) end
[01:04:56]                 │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[01:04:56]                 │ debg isGlobalLoadingIndicatorVisible
[01:04:56]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[01:04:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:04:58]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:04:59]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:04:59]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:04:59]                 │ debg TestSubjects.exists(newItemButton)
[01:04:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[01:04:59]                 │ debg TestSubjects.click(newItemButton)
[01:04:59]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[01:04:59]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[01:04:59]                 │ debg TestSubjects.find(visNewDialogGroups)
[01:04:59]                 │ debg Find.findByCssSelector('[data-test-subj="visNewDialogGroups"]') with timeout=10000
[01:04:59]                 │ debg TestSubjects.click(visType-lens)
[01:04:59]                 │ debg Find.clickByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[01:04:59]                 │ debg Find.findByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[01:04:59]                 │ debg isGlobalLoadingIndicatorVisible
[01:04:59]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[01:04:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:05:00]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:05:01]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:05:01]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:05:01]                 │ debg lensPage.goToTimeRange()
[01:05:01]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[01:05:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[01:05:01]                 │ debg TestSubjects.click(noDataPopoverDismissButton)
[01:05:01]                 │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[01:05:01]                 │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[01:05:01]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[01:05:01]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[01:05:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[01:05:01]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[01:05:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[01:05:01]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[01:05:01]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[01:05:01]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[01:05:01]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[01:05:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[01:05:01]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[01:05:01]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[01:05:01]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[01:05:01]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[01:05:01]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[01:05:01]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:05:01]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:05:02]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:05:02]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:05:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:05:02]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[01:05:02]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:05:02]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:05:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:05:02]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[01:05:02]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[01:05:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[01:05:02]                 │ debg Find.waitForElementStale with timeout=10000
[01:05:02]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[01:05:02]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[01:05:02]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:05:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:05:02]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:05:02]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:05:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:05:03]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[01:05:03]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:05:03]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:05:03]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:05:03]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[01:05:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[01:05:05]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[01:05:06]                 │ debg TestSubjects.click(querySubmitButton)
[01:05:06]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[01:05:06]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[01:05:06]                 │ debg Find.waitForElementStale with timeout=10000
[01:05:06]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:05:06]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:05:06]                 │ debg lensPage.configureDimension([object Object])
[01:05:06]                 │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_xDimensionPanel > lns-empty-dimension)
[01:05:06]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[01:05:06]                 │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[01:05:07]                 │ debg TestSubjects.exists(lns-indexPatternDimension-terms)
[01:05:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=2500
[01:05:07]                 │ debg TestSubjects.click(lns-indexPatternDimension-terms)
[01:05:07]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[01:05:07]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[01:05:07]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[01:05:07]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[01:05:07]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[01:05:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[01:05:10]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[01:05:10]                 │ debg comboBox.setElement, value: ip
[01:05:10]                 │ debg comboBox.isOptionSelected, value: ip
[01:05:12]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[01:05:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[01:05:12]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="ip"]') with timeout=2500
[01:05:13]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[01:05:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[01:05:15]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[01:05:16]                 │ debg lensPage.closeDimensionEditor()
[01:05:16]                 │ debg TestSubjects.click(lns-indexPattern-dimensionContainerBack)
[01:05:16]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=10000
[01:05:16]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=10000
[01:05:16]                 │ debg TestSubjects.missingOrFail(lns-indexPattern-dimensionContainerBack)
[01:05:16]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=2500
[01:05:17]                 │ debg lensPage.configureDimension([object Object])
[01:05:17]                 │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_yDimensionPanel > lns-empty-dimension)
[01:05:17]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[01:05:17]                 │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[01:05:17]                 │ debg TestSubjects.exists(lns-indexPatternDimension-average)
[01:05:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-average"]') with timeout=2500
[01:05:17]                 │ debg TestSubjects.click(lns-indexPatternDimension-average)
[01:05:17]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-average"]') with timeout=10000
[01:05:17]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-average"]') with timeout=10000
[01:05:17]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[01:05:17]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[01:05:17]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[01:05:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[01:05:20]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[01:05:20]                 │ debg comboBox.setElement, value: bytes
[01:05:20]                 │ debg comboBox.isOptionSelected, value: bytes
[01:05:23]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[01:05:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[01:05:23]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bytes"]') with timeout=2500
[01:05:23]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[01:05:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[01:05:26]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[01:05:26]                 │ debg lensPage.closeDimensionEditor()
[01:05:26]                 │ debg TestSubjects.click(lns-indexPattern-dimensionContainerBack)
[01:05:26]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=10000
[01:05:26]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=10000
[01:05:26]                 │ debg TestSubjects.missingOrFail(lns-indexPattern-dimensionContainerBack)
[01:05:26]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=2500
[01:05:27]                 │ debg lensPage.waitForVisualization()
[01:05:27]                 │ debg isGlobalLoadingIndicatorVisible
[01:05:27]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[01:05:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:05:29]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:05:29]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:05:29]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:05:29]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[01:05:29]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[01:05:29]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[01:05:29]                 │ debg ... sleep(1000) start
[01:05:30]                 │ debg ... sleep(1000) end
[01:05:30]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[01:05:30]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[01:05:30]               └-> should render heatmap chart with the temperature palette
[01:05:30]                 └-> "before each" hook: global before each for "should render heatmap chart with the temperature palette"
[01:05:30]                 │ debg lensPage.switchToVisualization('heatmap', 'heatmap')
[01:05:30]                 │ debg lensPage.openChartSwitchPopover()
[01:05:30]                 │ debg TestSubjects.exists(lnsChartSwitchList)
[01:05:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lnsChartSwitchList"]') with timeout=2500
[01:05:33]                 │ debg --- retry.tryForTime error: [data-test-subj="lnsChartSwitchList"] is not displayed
[01:05:33]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[01:05:33]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[01:05:33]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[01:05:33]                 │ debg TestSubjects.exists(lnsChartSwitchList)
[01:05:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lnsChartSwitchList"]') with timeout=120000
[01:05:33]                 │ debg lensPage.searchOnChartSwitch('heatmap', 'heatmap')
[01:05:33]                 │ debg TestSubjects.setValue(lnsChartSwitchSearch, heatmap)
[01:05:33]                 │ debg TestSubjects.click(lnsChartSwitchSearch)
[01:05:33]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchSearch"]') with timeout=10000
[01:05:33]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchSearch"]') with timeout=10000
[01:05:34]                 │ debg TestSubjects.click(lnsChartSwitchPopover_heatmap)
[01:05:34]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_heatmap"]') with timeout=10000
[01:05:34]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_heatmap"]') with timeout=10000
[01:05:34]                 │ debg isGlobalLoadingIndicatorVisible
[01:05:34]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[01:05:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:05:35]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:05:36]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:05:36]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:05:36]                 │ debg lensPage.waitForVisualization()
[01:05:36]                 │ debg isGlobalLoadingIndicatorVisible
[01:05:36]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[01:05:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:05:37]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:05:38]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:05:38]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:05:38]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[01:05:38]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[01:05:38]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[01:05:38]                 │ debg ... sleep(1000) start
[01:05:39]                 │ debg ... sleep(1000) end
[01:05:39]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[01:05:39]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[01:05:39]                 │ debg lensPage.getCurrentChartDebugState()
[01:05:39]                 │ debg TestSubjects.exists(lnsWorkspace)
[01:05:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lnsWorkspace"]') with timeout=2500
[01:05:39]                 │ debg TestSubjects.findAll(lnsWorkspace)
[01:05:39]                 │ debg Find.allByCssSelector('[data-test-subj="lnsWorkspace"]') with timeout=10000
[01:05:39]                 └- ✓ pass  (9.0s) "lens app  lens heatmap should render heatmap chart with the temperature palette"
[01:05:39]               └-> should reflect stop colors change on the chart
[01:05:39]                 └-> "before each" hook: global before each for "should reflect stop colors change on the chart"
[01:05:39]                 │ debg lensPage.openDimensionEditor('lnsHeatmap_cellPanel > lns-dimensionTrigger')
[01:05:39]                 │ debg TestSubjects.click(lns-layerPanel-0 > lnsHeatmap_cellPanel > lns-dimensionTrigger)
[01:05:39]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsHeatmap_cellPanel"] [data-test-subj="lns-dimensionTrigger"]') with timeout=10000
[01:05:39]                 │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsHeatmap_cellPanel"] [data-test-subj="lns-dimensionTrigger"]') with timeout=10000
[01:05:39]                 │ debg lensPage.openPalettePanel('lnsHeatmap')
[01:05:39]                 │ debg TestSubjects.click(lnsHeatmap_dynamicColoring_trigger)
[01:05:39]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsHeatmap_dynamicColoring_trigger"]') with timeout=10000
[01:05:39]                 │ debg Find.findByCssSelector('[data-test-subj="lnsHeatmap_dynamicColoring_trigger"]') with timeout=10000
[01:05:40]                 │ debg TestSubjects.setValue(lnsPalettePanel_dynamicColoring_stop_value_0, 10)
[01:05:40]                 │ debg TestSubjects.click(lnsPalettePanel_dynamicColoring_stop_value_0)
[01:05:40]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsPalettePanel_dynamicColoring_stop_value_0"]') with timeout=10000
[01:05:40]                 │ debg Find.findByCssSelector('[data-test-subj="lnsPalettePanel_dynamicColoring_stop_value_0"]') with timeout=10000
[01:05:40]                 │ debg isGlobalLoadingIndicatorVisible
[01:05:40]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[01:05:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:05:40]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:05:40]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:05:40]                 │ debg lensPage.getCurrentChartDebugState()
[01:05:40]                 │ debg TestSubjects.exists(lnsWorkspace)
[01:05:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lnsWorkspace"]') with timeout=2500
[01:05:40]                 │ debg TestSubjects.findAll(lnsWorkspace)
[01:05:40]                 │ debg Find.allByCssSelector('[data-test-subj="lnsWorkspace"]') with timeout=10000
[01:05:40]                 │ info Taking screenshot "/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/screenshots/failure/lens app  lens heatmap should reflect stop colors change on the chart.png"
[01:05:40]                 │ info Current URL is: http://localhost:61191/app/lens#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))
[01:05:40]                 │ info Saving page source to: /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/failure_debug/html/lens app  lens heatmap should reflect stop colors change on the chart.html
[01:05:40]                 └- ✖ fail: lens app  lens heatmap should reflect stop colors change on the chart
[01:05:40]                 │       Error: expected [ { key: '5722.77',
[01:05:40]                 │     name: '> 5,722.77',
[01:05:40]                 │     color: '#6092c0' },
[01:05:40]                 │   { key: '8529.22',
[01:05:40]                 │     name: '> 8,529.22',
[01:05:40]                 │     color: '#a8bfda' },
[01:05:40]                 │   { key: '11335.66',
[01:05:40]                 │     name: '> 11,335.66',
[01:05:40]                 │     color: '#ebeff5' },
[01:05:40]                 │   { key: '14142.11',
[01:05:40]                 │     name: '> 14,142.11',
[01:05:40]                 │     color: '#ecb385' },
[01:05:40]                 │   { key: '16948.55',
[01:05:40]                 │     name: '> 16,948.55',
[01:05:40]                 │     color: '#e7664c' } ] to sort of equal [ { key: '7126', name: '> 7,126', color: '#6092c0' },
[01:05:40]                 │   { key: '8529.22',
[01:05:40]                 │     name: '> 8,529.22',
[01:05:40]                 │     color: '#a8bfda' },
[01:05:40]                 │   { key: '11335.66',
[01:05:40]                 │     name: '> 11,335.66',
[01:05:40]                 │     color: '#ebeff5' },
[01:05:40]                 │   { key: '14142.11',
[01:05:40]                 │     name: '> 14,142.11',
[01:05:40]                 │     color: '#ecb385' },
[01:05:40]                 │   { key: '16948.55',
[01:05:40]                 │     name: '> 16,948.55',
[01:05:40]                 │     color: '#e7664c' } ]
[01:05:40]                 │       + expected - actual
[01:05:40]                 │ 
[01:05:40]                 │        [
[01:05:40]                 │          {
[01:05:40]                 │            "color": "#6092c0"
[01:05:40]                 │       -    "key": "5722.77"
[01:05:40]                 │       -    "name": "> 5,722.77"
[01:05:40]                 │       +    "key": "7126"
[01:05:40]                 │       +    "name": "> 7,126"
[01:05:40]                 │          }
[01:05:40]                 │          {
[01:05:40]                 │            "color": "#a8bfda"
[01:05:40]                 │            "key": "8529.22"
[01:05:40]                 │       
[01:05:40]                 │       at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:100:11)
[01:05:40]                 │       at Assertion.eql (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:244:8)
[01:05:40]                 │       at Context.<anonymous> (test/functional/apps/lens/heatmap.ts:86:43)
[01:05:40]                 │       at runMicrotasks (<anonymous>)
[01:05:40]                 │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[01:05:40]                 │       at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[01:05:40]                 │ 
[01:05:40]                 │ 

Stack Trace

Error: expected [ { key: '5722.77',
    name: '> 5,722.77',
    color: '#6092c0' },
  { key: '8529.22',
    name: '> 8,529.22',
    color: '#a8bfda' },
  { key: '11335.66',
    name: '> 11,335.66',
    color: '#ebeff5' },
  { key: '14142.11',
    name: '> 14,142.11',
    color: '#ecb385' },
  { key: '16948.55',
    name: '> 16,948.55',
    color: '#e7664c' } ] to sort of equal [ { key: '7126', name: '> 7,126', color: '#6092c0' },
  { key: '8529.22',
    name: '> 8,529.22',
    color: '#a8bfda' },
  { key: '11335.66',
    name: '> 11,335.66',
    color: '#ebeff5' },
  { key: '14142.11',
    name: '> 14,142.11',
    color: '#ecb385' },
  { key: '16948.55',
    name: '> 16,948.55',
    color: '#e7664c' } ]
    at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/lens/heatmap.ts:86:43)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '[\n' +
    '  {\n' +
    '    "color": "#6092c0"\n' +
    '    "key": "5722.77"\n' +
    '    "name": "> 5,722.77"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#a8bfda"\n' +
    '    "key": "8529.22"\n' +
    '    "name": "> 8,529.22"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#ebeff5"\n' +
    '    "key": "11335.66"\n' +
    '    "name": "> 11,335.66"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#ecb385"\n' +
    '    "key": "14142.11"\n' +
    '    "name": "> 14,142.11"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#e7664c"\n' +
    '    "key": "16948.55"\n' +
    '    "name": "> 16,948.55"\n' +
    '  }\n' +
    ']',
  expected: '[\n' +
    '  {\n' +
    '    "color": "#6092c0"\n' +
    '    "key": "7126"\n' +
    '    "name": "> 7,126"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#a8bfda"\n' +
    '    "key": "8529.22"\n' +
    '    "name": "> 8,529.22"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#ebeff5"\n' +
    '    "key": "11335.66"\n' +
    '    "name": "> 11,335.66"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#ecb385"\n' +
    '    "key": "14142.11"\n' +
    '    "name": "> 14,142.11"\n' +
    '  }\n' +
    '  {\n' +
    '    "color": "#e7664c"\n' +
    '    "key": "16948.55"\n' +
    '    "name": "> 16,948.55"\n' +
    '  }\n' +
    ']',
  showDiff: true
}

Metrics [docs]

Page load bundle

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

id before after diff
kibanaReact 146.8KB 146.7KB -48.0B

History

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

@cee-chen cee-chen enabled auto-merge (squash) July 12, 2021 19:39
@cee-chen cee-chen merged commit 99d21b5 into elastic:master Jul 14, 2021
@cee-chen cee-chen deleted the kbt-sidebar-classes branch July 14, 2021 17:29
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jul 14, 2021
…plate class (elastic#103715)

* Fix .kbnPageTemplate__pageSideBar getting overriden by passed classes

- due to it existing in ...rest, and ...rest coming after pageSideBarProps

* Add test

* Fix `sideBarClasses`

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

@cee-chen
Copy link
Copy Markdown
Contributor Author

Thanks so much @lukasolson!!

kibanamachine added a commit that referenced this pull request Jul 14, 2021
…plate class (#103715) (#105647)

* Fix .kbnPageTemplate__pageSideBar getting overriden by passed classes

- due to it existing in ...rest, and ...rest coming after pageSideBarProps

* Add test

* Fix `sideBarClasses`

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
@cee-chen cee-chen added v7.14.1 auto-backport Deprecated - use backport:version if exact versions are needed and removed auto-backport Deprecated - use backport:version if exact versions are needed labels Aug 11, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Aug 11, 2021
…plate class (elastic#103715)

* Fix .kbnPageTemplate__pageSideBar getting overriden by passed classes

- due to it existing in ...rest, and ...rest coming after pageSideBarProps

* Add test

* Fix `sideBarClasses`

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Backport successful

Status Branch Result
7.14

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Aug 11, 2021
…plate class (#103715) (#108234)

* Fix .kbnPageTemplate__pageSideBar getting overriden by passed classes

- due to it existing in ...rest, and ...rest coming after pageSideBarProps

* Add test

* Fix `sideBarClasses`

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
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.14.1 v7.15.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants