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

[ILM][Accessibility] Added A11y test for ILM new policy form. #92570

Merged
merged 3 commits into from
Feb 25, 2021

Conversation

cuff-links
Copy link
Contributor

Closes #92569

Summary

This PR adds an accessibility test to to ILM to verify the Create New Policy Page. This can be tested by running the accessibility testing suite.

@cuff-links cuff-links added Project:Accessibility test_xpack_functional Feature:ILM v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes v7.12.0 labels Feb 24, 2021
@cuff-links cuff-links marked this pull request as ready for review February 24, 2021 16:15
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-accessibility (Project:Accessibility)

@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@kibanamachine
Copy link
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 can clone panel

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:03:50]         └-: Dashboard Edit Panel
[00:03:50]           └-> "before all" hook for "can open menu"
[00:03:50]           └-> "before all" hook for "can open menu"
[00:03:50]             │ info [dashboard/drilldowns] Loading "mappings.json"
[00:03:50]             │ info [dashboard/drilldowns] Loading "data.json"
[00:03:50]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_001/Uvgugz44RmqfjSjgf1MNrg] deleting index
[00:03:50]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_pre6.5.0_001/SA_qDSxQQWKRstzl6WhyUg] deleting index
[00:03:50]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_task_manager_8.0.0_001/V9HGMakFTlSyfgmJEe4v3Q] deleting index
[00:03:50]             │ info [dashboard/drilldowns] Deleted existing index ".kibana_8.0.0_001"
[00:03:50]             │ info [dashboard/drilldowns] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:03:50]             │ info [dashboard/drilldowns] Deleted existing index ".kibana_pre6.5.0_001"
[00:03:50]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:03:50]             │ info [dashboard/drilldowns] Created index ".kibana"
[00:03:50]             │ debg [dashboard/drilldowns] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:03:50]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana/1PtuogI_RD2VKJGVkHSF8Q] update_mapping [_doc]
[00:03:50]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana/1PtuogI_RD2VKJGVkHSF8Q] update_mapping [_doc]
[00:03:50]             │ info [dashboard/drilldowns] Indexed 12 docs into ".kibana"
[00:03:50]             │ debg Migrating saved objects
[00:03:50]             │ proc [kibana]   log   [22:21:20.046] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:03:50]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:03:50]             │ proc [kibana]   log   [22:21:20.060] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:03:50]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:03:50]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] adding block write to indices [[.kibana/1PtuogI_RD2VKJGVkHSF8Q]]
[00:03:50]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] completed adding block write to indices [.kibana]
[00:03:50]             │ proc [kibana]   log   [22:21:20.141] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:03:50]             │ proc [kibana]   log   [22:21:20.162] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:03:50]             │ proc [kibana]   log   [22:21:20.189] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:03:50]             │ proc [kibana]   log   [22:21:20.190] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 149ms
[00:03:50]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:03:50]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:03:50]             │ proc [kibana]   log   [22:21:20.250] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:03:50]             │ proc [kibana]   log   [22:21:20.264] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:03:51]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] 7690 finished with response BulkByScrollResponse[took=40.9ms,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:51]             │ proc [kibana]   log   [22:21:20.374] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:03:51]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana/1PtuogI_RD2VKJGVkHSF8Q] deleting index
[00:03:51]             │ proc [kibana]   log   [22:21:20.419] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:03:51]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] adding block write to indices [[.kibana_pre6.5.0_001/fwQq2lRiQKq7jDviWg5UVA]]
[00:03:51]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:03:51]             │ proc [kibana]   log   [22:21:20.470] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:03:51]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:03:51]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:03:51]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_reindex_temp][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_reindex_temp][0]]"
[00:03:51]             │ proc [kibana]   log   [22:21:20.534] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:03:51]             │ proc [kibana]   log   [22:21:20.545] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:03:51]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] 7729 finished with response BulkByScrollResponse[took=24.2ms,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:51]             │ proc [kibana]   log   [22:21:20.654] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:03:51]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] adding block write to indices [[.kibana_8.0.0_reindex_temp/V1tQRnt6RF6uqPMADppjug]]
[00:03:51]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:03:51]             │ proc [kibana]   log   [22:21:20.708] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:03:51]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:03:51]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:03:51]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:03:51]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_001/I8tKCSNIQq6KTxNqa6xsKw] create_mapping
[00:03:51]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:03:51]             │ proc [kibana]   log   [22:21:20.834] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:03:51]             │ proc [kibana]   log   [22:21:20.865] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:03:51]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_001/I8tKCSNIQq6KTxNqa6xsKw] update_mapping [_doc]
[00:03:51]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_001/I8tKCSNIQq6KTxNqa6xsKw] update_mapping [_doc]
[00:03:51]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_001/I8tKCSNIQq6KTxNqa6xsKw] update_mapping [_doc]
[00:03:51]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_001/I8tKCSNIQq6KTxNqa6xsKw] update_mapping [_doc]
[00:03:52]             │ proc [kibana]   log   [22:21:21.753] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:03:52]             │ proc [kibana]   log   [22:21:21.766] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:03:52]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_001/I8tKCSNIQq6KTxNqa6xsKw] update_mapping [_doc]
[00:03:52]             │ proc [kibana]   log   [22:21:21.836] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:03:52]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] 7795 finished with response BulkByScrollResponse[took=38.2ms,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:52]             │ proc [kibana]   log   [22:21:21.949] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:03:52]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_reindex_temp/V1tQRnt6RF6uqPMADppjug] deleting index
[00:03:52]             │ proc [kibana]   log   [22:21:22.002] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:03:52]             │ proc [kibana]   log   [22:21:22.003] [info][savedobjects-service] [.kibana] Migration completed after 1964ms
[00:03:52]             │ debg [dashboard/drilldowns] Migrated Kibana index after loading Kibana data
[00:03:52]             │ debg [dashboard/drilldowns] Ensured that default space exists in .kibana
[00:03:52]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:03:52]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_001/I8tKCSNIQq6KTxNqa6xsKw] update_mapping [_doc]
[00:03:54]             │ info [logstash_functional] Loading "mappings.json"
[00:03:54]             │ info [logstash_functional] Loading "data.json.gz"
[00:03:54]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:03:54]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] 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:03:54]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:03:54]             │ 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:54]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:03:54]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] 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:03:54]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:03:54]             │ 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:54]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:03:54]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] 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:03:54]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:03:54]             │ 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:04:04]             │ info progress: 9029
[00:04:09]             │ info [logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:04:09]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:04:09]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:04:09]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:04:10]             │ debg navigating to dashboard url: http://localhost:6131/app/dashboards#/list
[00:04:10]             │ debg navigate to: http://localhost:6131/app/dashboards#/list
[00:04:10]             │ debg browser[INFO] http://localhost:6131/app/dashboards?_t=1614205299811#/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:04:10]             │
[00:04:10]             │ debg browser[INFO] http://localhost:6131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:10]             │ debg ... sleep(700) start
[00:04:11]             │ debg ... sleep(700) end
[00:04:11]             │ debg returned from get, calling refresh
[00:04:12]             │ debg browser[INFO] http://localhost:6131/app/dashboards?_t=1614205299811#/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:04:12]             │
[00:04:12]             │ debg browser[INFO] http://localhost:6131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:12]             │ debg currentUrl = http://localhost:6131/app/dashboards#/list
[00:04:12]             │          appUrl = http://localhost:6131/app/dashboards#/list
[00:04:12]             │ debg TestSubjects.find(kibanaChrome)
[00:04:12]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:12]             │ debg ... sleep(501) start
[00:04:13]             │ debg ... sleep(501) end
[00:04:13]             │ debg in navigateTo url = http://localhost:6131/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:04:13]             │ debg TestSubjects.exists(statusPageContainer)
[00:04:13]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:04:15]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:04:16]             │ debg Load Saved Dashboard Dashboard with Pie Chart
[00:04:16]             │ debg gotoDashboardLandingPage
[00:04:16]             │ debg onDashboardLandingPage
[00:04:16]             │ debg TestSubjects.exists(dashboardLandingPage)
[00:04:16]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:04:16]             │ debg searchForItemWithName: Dashboard with Pie Chart
[00:04:16]             │ debg TestSubjects.find(tableListSearchBox)
[00:04:16]             │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:04:17]             │ debg isGlobalLoadingIndicatorVisible
[00:04:17]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:04:17]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:04:18]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:04:19]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:04:19]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:04:19]             │ debg TestSubjects.click(dashboardListingTitleLink-Dashboard-with-Pie-Chart)
[00:04:19]             │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-with-Pie-Chart"]') with timeout=10000
[00:04:19]             │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-with-Pie-Chart"]') with timeout=10000
[00:04:19]             │ debg isGlobalLoadingIndicatorVisible
[00:04:19]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:04:19]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:04:19]             │ debg browser[INFO] http://localhost:6131/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:04:19]             │
[00:04:19]             │ debg browser[INFO] http://localhost:6131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:21]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:04:21]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:04:21]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:04:21]             │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:04:21]             │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:04:21]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.async-search] creating index, cause [auto(bulk api)], templates [], shards [1]/[0]
[00:04:21]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.async-search][0]]])." previous.health="YELLOW" reason="shards started [[.async-search][0]]"
[00:04:21]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1614202691687868101] [.kibana_8.0.0_001/I8tKCSNIQq6KTxNqa6xsKw] update_mapping [_doc]
[00:04:22]             │ debg TestSubjects.click(dashboardEditMode)
[00:04:22]             │ debg Find.clickByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:04:22]             │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:04:22]           └-> can open menu
[00:04:22]             └-> "before each" hook: global before each for "can open menu"
[00:04:22]             │ debg openContextMenu(undefined
[00:04:22]             │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:04:22]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=2500
[00:04:24]             │ debg --- retry.tryForTime error: [data-test-subj="embeddablePanelContextMenuOpen"] is not displayed
[00:04:25]             │ debg toggleContextMenu
[00:04:25]             │ debg TestSubjects.moveMouseTo(dashboardPanelTitle)
[00:04:25]             │ debg TestSubjects.find(dashboardPanelTitle)
[00:04:25]             │ debg Find.findByCssSelector('[data-test-subj="dashboardPanelTitle"]') with timeout=10000
[00:04:25]             │ debg TestSubjects.find(embeddablePanelToggleMenuIcon)
[00:04:25]             │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:04:25]             │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:04:25]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=120000
[00:04:26]             └- ✓ pass  (4.5s) "Dashboard Edit Panel can open menu"
[00:04:26]           └-> can clone panel
[00:04:26]             └-> "before each" hook: global before each for "can clone panel"
[00:04:26]             │ debg clonePanel(Visualization PieChart)
[00:04:26]             │ debg TestSubjects.find(embeddablePanelHeading-VisualizationPieChart)
[00:04:26]             │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelHeading-VisualizationPieChart"]') with timeout=10000
[00:04:26]             │ debg openContextMenu([object Object]
[00:04:26]             │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:04:26]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=2500
[00:04:26]             │ debg TestSubjects.click(embeddablePanelAction-clonePanel)
[00:04:26]             │ debg Find.clickByCssSelector('[data-test-subj="embeddablePanelAction-clonePanel"]') with timeout=10000
[00:04:26]             │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-clonePanel"]') with timeout=10000
[00:04:27]             │ debg TestSubjects.find(globalToastList)
[00:04:27]             │ debg Find.findByCssSelector('[data-test-subj="globalToastList"]') with timeout=10000
[00:04:27]             │ debg TestSubjects.descendantExists(toastCloseButton)
[00:04:27]             │ debg Find.descendantExistsByCssSelector('[data-test-subj="toastCloseButton"]') with timeout=2500
[00:04:27]             │ info Taking screenshot "/dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/screenshots/failure/Dashboard Edit Panel can clone panel.png"
[00:04:27]             │ info Current URL is: http://localhost:6131/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:04:28]             │ info Saving page source to: /dev/shm/workspace/parallel/3/kibana/x-pack/test/functional/failure_debug/html/Dashboard Edit Panel can clone panel.html
[00:04:28]             └- ✖ fail: Dashboard Edit Panel can clone panel
[00:04:28]             │      StaleElementReferenceError: stale element reference: element is not attached to the page document
[00:04:28]             │   (Session info: headless chrome=88.0.4324.182)
[00:04:28]             │       at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
[00:04:28]             │       at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
[00:04:28]             │       at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
[00:04:28]             │       at runMicrotasks (<anonymous>)
[00:04:28]             │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:28]             │       at Task.exec (/dev/shm/workspace/parallel/3/kibana/test/functional/services/remote/prevent_parallel_calls.ts:29:22)
[00:04:28]             │ 
[00:04:28]             │ 

Stack Trace

StaleElementReferenceError: stale element reference: element is not attached to the page document
  (Session info: headless chrome=88.0.4324.182)
    at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Task.exec (/dev/shm/workspace/parallel/3/kibana/test/functional/services/remote/prevent_parallel_calls.ts:29:22) {
  remoteStacktrace: '#0 0x561cec46a199 <unknown>\n'
}

Metrics [docs]

✅ unchanged

History

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

Copy link
Contributor

@myasonik myasonik left a comment

Choose a reason for hiding this comment

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

LGTM!

@cuff-links cuff-links merged commit f0f7fea into elastic:master Feb 25, 2021
cuff-links pushed a commit to cuff-links/kibana that referenced this pull request Feb 25, 2021
…c#92570)

* Added A11y test for ILM new policy form.

* Separated out the takeSnapshot calls to separate tests.
cuff-links pushed a commit to cuff-links/kibana that referenced this pull request Feb 25, 2021
…c#92570)

* Added A11y test for ILM new policy form.

* Separated out the takeSnapshot calls to separate tests.
cuff-links pushed a commit that referenced this pull request Feb 25, 2021
#92760)

* Added A11y test for ILM new policy form.

* Separated out the takeSnapshot calls to separate tests.
cuff-links pushed a commit that referenced this pull request Feb 25, 2021
#92759)

* Added A11y test for ILM new policy form.

* Separated out the takeSnapshot calls to separate tests.
Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

I know this is already merged; just wanted to say overall this looks good to me. I left a question on the functional test for creating a new policy, not a blocker though!


// Close panel and save policy
await testSubjects.click('euiFlyoutCloseButton');
await indexLifecycleManagement.saveNewPolicy();
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think it might be worth waiting for the "list"/"table" view to load? That way we know the policy was successfully created, alternatively we can also check for the toast?

gmmorris added a commit to gmmorris/kibana that referenced this pull request Feb 25, 2021
* master: (38 commits)
  Fixes Cypress flake by adding pipe, click, and should (elastic#92762)
  [Discover] Fix filtering selected sidebar fields (elastic#91828)
  [ML] Fixes positions of calendar arrow buttons in start datafeed modal (elastic#92625)
  [dev/build_ts_refs] check that commit in outDirs matches mergeBase (elastic#92513)
  add dep on `@kbn/config` so it is built first
  [Expressions] [Lens] Add id and copyMetaFrom arg to mapColumn fn + add configurable onError argument to math fn (elastic#90481)
  [Lens] Fix Workspace hidden when using Safari (elastic#92616)
  [Lens] Fixes vertical alignment validation messages (elastic#91878)
  forbid x-elastic-product-origin header in elasticsearch configuration (elastic#92359)
  [Security Solution][Detections] Set default indicator path to reduce friction with new filebeat modules (elastic#92081)
  [ILM][Accessibility] Added A11y test for ILM new policy form. (elastic#92570)
  [Security Solution][Exceptions] - Fixes exceptions builder UI where invalid values can cause overwrites of other values (elastic#90634)
  Automatically generated Api documentation (elastic#86232)
  Increase index pattern select limit to 1000 (elastic#92093)
  [core.logging] Add RewriteAppender for filtering LogMeta. (elastic#91492)
  [Security Solution][Detection Rules] Update prebuilt rule threats to match schema (elastic#92281)
  [Security Solutions][Detection Engine] Fixes bug with not being able to duplicate indicator matches (elastic#92565)
  [Dashboard] Export appropriate references from byValue panels (elastic#91567)
  [Upgrade Assistant] Align code between branches (elastic#91862)
  [Security Solution][Case] Fix alerts push (elastic#91638)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:ILM Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more test_xpack_functional v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Accessibility Test For Creating New Policy in ILM
5 participants