Skip to content

[7.x] [Time to Visualize] Unsaved Changes Badge (#91073)#91540

Merged
ThomThomson merged 1 commit intoelastic:7.xfrom
ThomThomson:backport/7.x/pr-91073
Feb 16, 2021
Merged

[7.x] [Time to Visualize] Unsaved Changes Badge (#91073)#91540
ThomThomson merged 1 commit intoelastic:7.xfrom
ThomThomson:backport/7.x/pr-91073

Conversation

@ThomThomson
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

* Added unsaved changes badge to dashboards. Removed (unsaved) from the dashboard title
@ThomThomson ThomThomson added the backport This PR is a backport of another PR label Feb 16, 2021
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Accessibility Tests.x-pack/test/accessibility/apps/dashboard_edit_panel·ts.Dashboard Edit Panel A11y test on dashboard embeddable clone panel

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:03:02]         └-: Dashboard Edit Panel
[00:03:02]           └-> "before all" hook for " A11y test on dashboard edit panel menu options"
[00:03:02]           └-> "before all" hook for " A11y test on dashboard edit panel menu options"
[00:03:02]             │ info [dashboard/drilldowns] Loading "mappings.json"
[00:03:02]             │ info [dashboard/drilldowns] Loading "data.json"
[00:03:02]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_001/OkfBPnFuQ024Q_We5oL0WA] deleting index
[00:03:02]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_task_manager_7.12.0_001/lJueGOrVTYCSZRi0Y0HsTA] deleting index
[00:03:02]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_pre6.5.0_001/g4Q8zGsUSQ6ZwBbBf_CyCw] deleting index
[00:03:02]             │ info [dashboard/drilldowns] Deleted existing index ".kibana_task_manager_7.12.0_001"
[00:03:02]             │ info [dashboard/drilldowns] Deleted existing index ".kibana_pre6.5.0_001"
[00:03:02]             │ info [dashboard/drilldowns] Deleted existing index ".kibana_7.12.0_001"
[00:03:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:03:02]             │ info [dashboard/drilldowns] Created index ".kibana"
[00:03:02]             │ debg [dashboard/drilldowns] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:03:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana/JSKU033jSpK7j4zP2PjiHQ] update_mapping [_doc]
[00:03:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana/JSKU033jSpK7j4zP2PjiHQ] update_mapping [_doc]
[00:03:02]             │ info [dashboard/drilldowns] Indexed 12 docs into ".kibana"
[00:03:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana/JSKU033jSpK7j4zP2PjiHQ] update_mapping [_doc]
[00:03:02]             │ debg Migrating saved objects
[00:03:02]             │ proc [kibana]   log   [19:29:35.941] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:03:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_task_manager_7.12.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:03:02]             │ proc [kibana]   log   [19:29:35.951] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:03:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.12.0_001]
[00:03:02]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] adding block write to indices [[.kibana/JSKU033jSpK7j4zP2PjiHQ]]
[00:03:02]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] completed adding block write to indices [.kibana]
[00:03:02]             │ proc [kibana]   log   [19:29:36.036] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:03:02]             │ proc [kibana]   log   [19:29:36.060] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:03:02]             │ proc [kibana]   log   [19:29:36.083] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:03:02]             │ proc [kibana]   log   [19:29:36.084] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 148ms
[00:03:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:03:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:03:02]             │ proc [kibana]   log   [19:29:36.160] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:03:02]             │ proc [kibana]   log   [19:29:36.170] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:03:02]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] 6373 finished with response BulkByScrollResponse[took=43.8ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:03:02]             │ proc [kibana]   log   [19:29:36.279] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:03:02]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana/JSKU033jSpK7j4zP2PjiHQ] deleting index
[00:03:02]             │ proc [kibana]   log   [19:29:36.338] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:03:02]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] adding block write to indices [[.kibana_pre6.5.0_001/IxxApkPtQI2a9FzXjkGBgA]]
[00:03:02]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:03:02]             │ proc [kibana]   log   [19:29:36.402] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:03:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:03:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] updating number_of_replicas to [0] for indices [.kibana_7.12.0_reindex_temp]
[00:03:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.12.0_reindex_temp][0]]]).
[00:03:02]             │ proc [kibana]   log   [19:29:36.481] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:03:02]             │ proc [kibana]   log   [19:29:36.492] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:03:02]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] 6412 finished with response BulkByScrollResponse[took=27.4ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:03:03]             │ proc [kibana]   log   [19:29:36.603] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:03:03]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] adding block write to indices [[.kibana_7.12.0_reindex_temp/_kjS-u8qSFKycV6GmE28Ig]]
[00:03:03]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] completed adding block write to indices [.kibana_7.12.0_reindex_temp]
[00:03:03]             │ proc [kibana]   log   [19:29:36.663] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:03:03]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] applying create index request using existing index [.kibana_7.12.0_reindex_temp] metadata
[00:03:03]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:03:03]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] updating number_of_replicas to [0] for indices [.kibana_7.12.0_001]
[00:03:03]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_001/ABt1ulcXTsOIT4uVJS4jJg] create_mapping [_doc]
[00:03:03]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.12.0_001][0]]]).
[00:03:03]             │ proc [kibana]   log   [19:29:36.787] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:03:03]             │ proc [kibana]   log   [19:29:36.814] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:03:03]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_001/ABt1ulcXTsOIT4uVJS4jJg] update_mapping [_doc]
[00:03:03]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_001/ABt1ulcXTsOIT4uVJS4jJg] update_mapping [_doc]
[00:03:03]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_001/ABt1ulcXTsOIT4uVJS4jJg] update_mapping [_doc]
[00:03:03]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_001/ABt1ulcXTsOIT4uVJS4jJg] update_mapping [_doc]
[00:03:04]             │ proc [kibana]   log   [19:29:37.709] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:03:04]             │ proc [kibana]   log   [19:29:37.720] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:03:04]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_001/ABt1ulcXTsOIT4uVJS4jJg] update_mapping [_doc]
[00:03:04]             │ proc [kibana]   log   [19:29:37.792] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:03:04]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] 6477 finished with response BulkByScrollResponse[took=36.4ms,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:03:04]             │ proc [kibana]   log   [19:29:37.902] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:03:04]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_reindex_temp/_kjS-u8qSFKycV6GmE28Ig] deleting index
[00:03:04]             │ proc [kibana]   log   [19:29:37.953] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:03:04]             │ proc [kibana]   log   [19:29:37.954] [info][savedobjects-service] [.kibana] Migration completed after 2020ms
[00:03:04]             │ debg [dashboard/drilldowns] Migrated Kibana index after loading Kibana data
[00:03:04]             │ debg [dashboard/drilldowns] Ensured that default space exists in .kibana
[00:03:04]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:03:04]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.kibana_7.12.0_001/ABt1ulcXTsOIT4uVJS4jJg] update_mapping [_doc]
[00:03:06]             │ info [logstash_functional] Loading "mappings.json"
[00:03:06]             │ info [logstash_functional] Loading "data.json.gz"
[00:03:06]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:03:06]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:03:06]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:03:06]             │ debg [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:03:06]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:03:06]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:03:06]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:03:06]             │ debg [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:03:06]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:03:06]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:03:06]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:03:06]             │ debg [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:03:16]             │ info progress: 11059
[00:03:18]             │ info [logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:03:18]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:03:18]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:03:18]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:03:19]             │ debg navigating to dashboard url: http://localhost:61221/app/dashboards#/list
[00:03:19]             │ debg navigate to: http://localhost:61221/app/dashboards#/list
[00:03:19]             │ debg browser[INFO] http://localhost:61221/app/dashboards?_t=1613503792749#/list 341 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:03:19]             │
[00:03:19]             │ debg browser[INFO] http://localhost:61221/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:19]             │ debg ... sleep(700) start
[00:03:20]             │ debg ... sleep(700) end
[00:03:20]             │ debg returned from get, calling refresh
[00:03:20]             │ERROR browser[SEVERE] http://localhost:61221/38808/bundles/core/core.entry.js 12:160284 TypeError: Failed to fetch
[00:03:20]             │          at fetch_Fetch.fetchResponse (http://localhost:61221/38808/bundles/core/core.entry.js:6:32451)
[00:03:20]             │          at async interceptResponse (http://localhost:61221/38808/bundles/core/core.entry.js:6:28637)
[00:03:20]             │          at async http://localhost:61221/38808/bundles/core/core.entry.js:6:31117
[00:03:20]             │ debg browser[INFO] http://localhost:61221/app/dashboards?_t=1613503792749#/list 341 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:03:20]             │
[00:03:20]             │ debg browser[INFO] http://localhost:61221/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:21]             │ debg currentUrl = http://localhost:61221/app/dashboards#/list
[00:03:21]             │          appUrl = http://localhost:61221/app/dashboards#/list
[00:03:21]             │ debg TestSubjects.find(kibanaChrome)
[00:03:21]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:21]             │ debg ... sleep(501) start
[00:03:21]             │ debg ... sleep(501) end
[00:03:21]             │ debg in navigateTo url = http://localhost:61221/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:03:21]             │ debg TestSubjects.exists(statusPageContainer)
[00:03:21]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:03:24]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:03:24]             │ debg Load Saved Dashboard Dashboard with Pie Chart
[00:03:24]             │ debg gotoDashboardLandingPage
[00:03:24]             │ debg onDashboardLandingPage
[00:03:24]             │ debg TestSubjects.exists(dashboardLandingPage)
[00:03:24]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:03:24]             │ debg searchForItemWithName: Dashboard with Pie Chart
[00:03:24]             │ debg TestSubjects.find(tableListSearchBox)
[00:03:24]             │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:03:25]             │ debg isGlobalLoadingIndicatorVisible
[00:03:25]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:03:25]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:03:27]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:03:27]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:03:27]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:03:27]             │ debg TestSubjects.click(dashboardListingTitleLink-Dashboard-with-Pie-Chart)
[00:03:27]             │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-with-Pie-Chart"]') with timeout=10000
[00:03:27]             │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-with-Pie-Chart"]') with timeout=10000
[00:03:27]             │ debg isGlobalLoadingIndicatorVisible
[00:03:27]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:03:27]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:03:27]             │ debg browser[INFO] http://localhost:61221/app/dashboards#/view/41e77910-69d9-11ea-a14d-e341629a29e6?_g=(filters:!()) 341 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:03:27]             │
[00:03:27]             │ debg browser[INFO] http://localhost:61221/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:29]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:03:29]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:03:29]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:03:29]             │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:03:29]             │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:03:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] [.async-search] creating index, cause [api], templates [], shards [1]/[0]
[00:03:30]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1613501502862607630] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.async-search][0]]]).
[00:03:30]             │ debg TestSubjects.click(dashboardEditMode)
[00:03:30]             │ debg Find.clickByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:03:30]             │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:03:30]           └->  A11y test on dashboard edit panel menu options
[00:03:30]             └-> "before each" hook: global before each for " A11y test on dashboard edit panel menu options"
[00:03:30]             │ debg TestSubjects.click(embeddablePanelToggleMenuIcon)
[00:03:30]             │ debg Find.clickByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:03:30]             │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:03:31]             └- ✓ pass  (916ms) "Dashboard Edit Panel  A11y test on dashboard edit panel menu options"
[00:03:31]           └-> A11y test for edit visualization and save
[00:03:31]           └->  A11y test on dashboard embeddable clone panel
[00:03:31]             └-> "before each" hook: global before each for " A11y test on dashboard embeddable clone panel"
[00:03:31]             │ debg TestSubjects.click(embeddablePanelAction-clonePanel)
[00:03:31]             │ debg Find.clickByCssSelector('[data-test-subj="embeddablePanelAction-clonePanel"]') with timeout=10000
[00:03:31]             │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-clonePanel"]') with timeout=10000
[00:03:32]             │ debg TestSubjects.find(globalToastList)
[00:03:32]             │ debg Find.findByCssSelector('[data-test-subj="globalToastList"]') with timeout=10000
[00:03:32]             │ debg TestSubjects.findDescendant(toastCloseButton)
[00:03:32]             │ debg Find.descendantDisplayedByCssSelector('[data-test-subj="toastCloseButton"]')
[00:03:32]             │ info Taking screenshot "/dev/shm/workspace/parallel/22/kibana/x-pack/test/functional/screenshots/failure/Dashboard Edit Panel  A11y test on dashboard embeddable clone panel.png"
[00:03:32]             │ info Current URL is: http://localhost:61221/app/dashboards#/view/41e77910-69d9-11ea-a14d-e341629a29e6?_g=(filters:!())&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:%27%27),tags:!(),timeRestore:!t,title:%27Dashboard%20with%20Pie%20Chart%27,viewMode:edit)
[00:03:32]             │ info Saving page source to: /dev/shm/workspace/parallel/22/kibana/x-pack/test/functional/failure_debug/html/Dashboard Edit Panel  A11y test on dashboard embeddable clone panel.html
[00:03:32]             └- ✖ fail: Dashboard Edit Panel  A11y test on dashboard embeddable clone panel
[00:03:32]             │      Error: Element "[data-test-subj="toastCloseButton"]" is not displayed
[00:03:32]             │       at Proxy.descendantDisplayedByCssSelector (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/find.ts:207:15)
[00:03:32]             │       at runMicrotasks (<anonymous>)
[00:03:32]             │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:03:32]             │       at TestSubjects.findDescendant (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/test_subjects.ts:125:14)
[00:03:32]             │       at Toasts.dismissAllToasts (/dev/shm/workspace/parallel/22/kibana/test/functional/services/toasts.ts:50:31)
[00:03:32]             │       at Context.<anonymous> (test/accessibility/apps/dashboard_edit_panel.ts:53:7)
[00:03:32]             │       at Object.apply (/dev/shm/workspace/parallel/22/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:32]             │ 
[00:03:32]             │ 

Stack Trace

Error: Element "[data-test-subj="toastCloseButton"]" is not displayed
    at Proxy.descendantDisplayedByCssSelector (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/find.ts:207:15)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at TestSubjects.findDescendant (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/test_subjects.ts:125:14)
    at Toasts.dismissAllToasts (/dev/shm/workspace/parallel/22/kibana/test/functional/services/toasts.ts:50:31)
    at Context.<anonymous> (test/accessibility/apps/dashboard_edit_panel.ts:53:7)
    at Object.apply (/dev/shm/workspace/parallel/22/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

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
dashboard 178.4KB 179.9KB +1.5KB

Page load bundle

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

id before after diff
dashboard 308.2KB 308.4KB +269.0B
navigation 19.3KB 20.3KB +1.1KB
total +1.3KB

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

@ThomThomson ThomThomson merged commit f81cdc3 into elastic:7.x Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants