Skip to content

[Security Solution] Cypress reorganization#88687

Merged
MadameSheema merged 10 commits intoelastic:masterfrom
MadameSheema:tests-reorg
Jan 20, 2021
Merged

[Security Solution] Cypress reorganization#88687
MadameSheema merged 10 commits intoelastic:masterfrom
MadameSheema:tests-reorg

Conversation

@MadameSheema
Copy link
Contributor

Summary

As the number of cypress spec files has increased a lot, in this PR we are organising the spec files in different folders.

Screenshot 2021-01-19 at 16 38 45

Screenshot 2021-01-19 at 16 49 48

Screenshot 2021-01-19 at 16 50 05

@MadameSheema MadameSheema added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.12.0 Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. labels Jan 19, 2021
@MadameSheema MadameSheema self-assigned this Jan 19, 2021
@MadameSheema MadameSheema requested review from a team as code owners January 19, 2021 15:52
Copy link
Contributor

@FrankHassanabad FrankHassanabad left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the re-organization for code growth. Looks great.

@MadameSheema
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors·ts.Actions and Triggers app Connectors should test a connector and display a successful result

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Actions and Triggers app
[00:00:00]           └-> "before all" hook
[00:00:34]           └-: Connectors
[00:00:34]             └-> "before all" hook
[00:00:34]             └-> "before all" hook
[00:00:35]               │ debg navigating to triggersActions url: http://localhost:61241/app/management/insightsAndAlerting/triggersActions
[00:00:35]               │ debg navigate to: http://localhost:61241/app/management/insightsAndAlerting/triggersActions
[00:00:35]               │ debg browser[INFO] http://localhost:61241/app/management/insightsAndAlerting/triggersActions?_t=1611140241169 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:00:35]               │
[00:00:35]               │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:35]               │ debg ... sleep(700) start
[00:00:35]               │ debg ... sleep(700) end
[00:00:35]               │ debg returned from get, calling refresh
[00:00:36]               │ debg browser[INFO] http://localhost:61241/app/management/insightsAndAlerting/triggersActions?_t=1611140241169 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:00:36]               │
[00:00:36]               │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:36]               │ debg currentUrl = http://localhost:61241/app/management/insightsAndAlerting/triggersActions
[00:00:36]               │          appUrl = http://localhost:61241/app/management/insightsAndAlerting/triggersActions
[00:00:36]               │ debg TestSubjects.find(kibanaChrome)
[00:00:36]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:37]               │ debg ... sleep(501) start
[00:00:37]               │ debg ... sleep(501) end
[00:00:37]               │ debg in navigateTo url = http://localhost:61241/app/management/insightsAndAlerting/triggersActions/alerts
[00:00:37]               │ debg --- retry.try error: URL changed, waiting for it to settle
[00:00:38]               │ debg ... sleep(501) start
[00:00:38]               │ debg ... sleep(501) end
[00:00:38]               │ debg in navigateTo url = http://localhost:61241/app/management/insightsAndAlerting/triggersActions/alerts
[00:00:38]               │ debg TestSubjects.exists(statusPageContainer)
[00:00:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:41]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:41]               │ debg TestSubjects.click(connectorsTab)
[00:00:41]               │ debg Find.clickByCssSelector('[data-test-subj="connectorsTab"]') with timeout=10000
[00:00:41]               │ debg Find.findByCssSelector('[data-test-subj="connectorsTab"]') with timeout=10000
[00:00:41]             └-> should create a connector
[00:00:41]               └-> "before each" hook: global before each
[00:00:41]               │ debg TestSubjects.find(createActionButton)
[00:00:41]               │ debg Find.findByCssSelector('[data-test-subj="createActionButton"]') with timeout=10000
[00:00:42]               │ debg TestSubjects.click(.index-card)
[00:00:42]               │ debg Find.clickByCssSelector('[data-test-subj=".index-card"]') with timeout=10000
[00:00:42]               │ debg Find.findByCssSelector('[data-test-subj=".index-card"]') with timeout=10000
[00:00:42]               │ debg Find.clickByCssSelector('[data-test-subj="backButton"]') with timeout=10000
[00:00:42]               │ debg Find.findByCssSelector('[data-test-subj="backButton"]') with timeout=10000
[00:00:42]               │ debg TestSubjects.click(.slack-card)
[00:00:42]               │ debg Find.clickByCssSelector('[data-test-subj=".slack-card"]') with timeout=10000
[00:00:42]               │ debg Find.findByCssSelector('[data-test-subj=".slack-card"]') with timeout=10000
[00:00:42]               │ debg TestSubjects.setValue(nameInput, 8d270fcb7a4c41e2a62336cd1a40dca9)
[00:00:42]               │ debg TestSubjects.click(nameInput)
[00:00:42]               │ debg Find.clickByCssSelector('[data-test-subj="nameInput"]') with timeout=10000
[00:00:42]               │ debg Find.findByCssSelector('[data-test-subj="nameInput"]') with timeout=10000
[00:00:43]               │ debg TestSubjects.setValue(slackWebhookUrlInput, https://test)
[00:00:43]               │ debg TestSubjects.click(slackWebhookUrlInput)
[00:00:43]               │ debg Find.clickByCssSelector('[data-test-subj="slackWebhookUrlInput"]') with timeout=10000
[00:00:43]               │ debg Find.findByCssSelector('[data-test-subj="slackWebhookUrlInput"]') with timeout=10000
[00:00:44]               │ debg Find.clickByCssSelector('[data-test-subj="saveNewActionButton"]:not(disabled)') with timeout=10000
[00:00:44]               │ debg Find.findByCssSelector('[data-test-subj="saveNewActionButton"]:not(disabled)') with timeout=10000
[00:00:44]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:00:45]               │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:00:45]               │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:00:45]               │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:00:45]               │ debg Find.findByCssSelector('[data-test-subj="actionsList"] .euiFieldSearch') with timeout=10000
[00:00:45]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="actionsTable"]:not(.euiBasicTable-loading)') with timeout=10000
[00:00:45]               │ debg Find.findByCssSelector('[data-test-subj="actionsList"] table') with timeout=10000
[00:00:45]               └- ✓ pass  (4.0s) "Actions and Triggers app Connectors should create a connector"
[00:00:45]             └-> should edit a connector
[00:00:45]               └-> "before each" hook: global before each
[00:00:45]               │ debg TestSubjects.find(createActionButton)
[00:00:45]               │ debg Find.findByCssSelector('[data-test-subj="createActionButton"]') with timeout=10000
[00:00:45]               │ debg TestSubjects.click(.slack-card)
[00:00:45]               │ debg Find.clickByCssSelector('[data-test-subj=".slack-card"]') with timeout=10000
[00:00:45]               │ debg Find.findByCssSelector('[data-test-subj=".slack-card"]') with timeout=10000
[00:00:46]               │ debg TestSubjects.setValue(nameInput, 3da611317b5f43fb86effc7b0cd82098)
[00:00:46]               │ debg TestSubjects.click(nameInput)
[00:00:46]               │ debg Find.clickByCssSelector('[data-test-subj="nameInput"]') with timeout=10000
[00:00:46]               │ debg Find.findByCssSelector('[data-test-subj="nameInput"]') with timeout=10000
[00:00:46]               │ debg TestSubjects.setValue(slackWebhookUrlInput, https://test)
[00:00:46]               │ debg TestSubjects.click(slackWebhookUrlInput)
[00:00:46]               │ debg Find.clickByCssSelector('[data-test-subj="slackWebhookUrlInput"]') with timeout=10000
[00:00:46]               │ debg Find.findByCssSelector('[data-test-subj="slackWebhookUrlInput"]') with timeout=10000
[00:00:47]               │ debg Find.clickByCssSelector('[data-test-subj="saveNewActionButton"]:not(disabled)') with timeout=10000
[00:00:47]               │ debg Find.findByCssSelector('[data-test-subj="saveNewActionButton"]:not(disabled)') with timeout=10000
[00:00:47]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:00:48]               │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:00:48]               │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:00:48]               │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:00:48]               │ debg Find.findByCssSelector('[data-test-subj="actionsList"] .euiFieldSearch') with timeout=10000
[00:00:48]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="actionsTable"]:not(.euiBasicTable-loading)') with timeout=10000
[00:00:48]               │ debg Find.findByCssSelector('[data-test-subj="actionsList"] table') with timeout=10000
[00:00:48]               │ debg Find.clickByCssSelector('[data-test-subj="connectorsTableCell-name"] button') with timeout=10000
[00:00:48]               │ debg Find.findByCssSelector('[data-test-subj="connectorsTableCell-name"] button') with timeout=10000
[00:00:48]               │ debg TestSubjects.setValue(nameInput, 3da611317b5f43fb86effc7b0cd82098updated)
[00:00:48]               │ debg TestSubjects.click(nameInput)
[00:00:48]               │ debg Find.clickByCssSelector('[data-test-subj="nameInput"]') with timeout=10000
[00:00:48]               │ debg Find.findByCssSelector('[data-test-subj="nameInput"]') with timeout=10000
[00:00:49]               │ debg TestSubjects.setValue(slackWebhookUrlInput, https://test)
[00:00:49]               │ debg TestSubjects.click(slackWebhookUrlInput)
[00:00:49]               │ debg Find.clickByCssSelector('[data-test-subj="slackWebhookUrlInput"]') with timeout=10000
[00:00:49]               │ debg Find.findByCssSelector('[data-test-subj="slackWebhookUrlInput"]') with timeout=10000
[00:00:50]               │ debg Find.clickByCssSelector('[data-test-subj="saveAndCloseEditedActionButton"]:not(disabled)') with timeout=10000
[00:00:50]               │ debg Find.findByCssSelector('[data-test-subj="saveAndCloseEditedActionButton"]:not(disabled)') with timeout=10000
[00:00:50]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:00:51]               │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:00:51]               │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:00:51]               │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:00:51]               │ debg Find.findByCssSelector('[data-test-subj="actionsList"] .euiFieldSearch') with timeout=10000
[00:00:51]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="actionsTable"]:not(.euiBasicTable-loading)') with timeout=10000
[00:00:51]               │ debg Find.findByCssSelector('[data-test-subj="actionsList"] table') with timeout=10000
[00:00:51]               └- ✓ pass  (6.0s) "Actions and Triggers app Connectors should edit a connector"
[00:00:51]             └-> should test a connector and display a successful result
[00:00:51]               └-> "before each" hook: global before each
[00:00:51]               │ debg TestSubjects.find(createActionButton)
[00:00:51]               │ debg Find.findByCssSelector('[data-test-subj="createActionButton"]') with timeout=10000
[00:00:51]               │ debg TestSubjects.click(.index-card)
[00:00:51]               │ debg Find.clickByCssSelector('[data-test-subj=".index-card"]') with timeout=10000
[00:00:51]               │ debg Find.findByCssSelector('[data-test-subj=".index-card"]') with timeout=10000
[00:00:52]               │ debg TestSubjects.setValue(nameInput, 7b2b2272f66e4652beb5b51b2c13936a)
[00:00:52]               │ debg TestSubjects.click(nameInput)
[00:00:52]               │ debg Find.clickByCssSelector('[data-test-subj="nameInput"]') with timeout=10000
[00:00:52]               │ debg Find.findByCssSelector('[data-test-subj="nameInput"]') with timeout=10000
[00:00:52]               │ debg comboBox.set, comboBoxSelector: connectorIndexesComboBox
[00:00:52]               │ debg TestSubjects.find(connectorIndexesComboBox)
[00:00:52]               │ debg Find.findByCssSelector('[data-test-subj="connectorIndexesComboBox"]') with timeout=10000
[00:00:52]               │ debg comboBox.setElement, value: bd148de3194f4e2ba5c72b6a564b1dc9
[00:00:52]               │ debg comboBox.isOptionSelected, value: bd148de3194f4e2ba5c72b6a564b1dc9
[00:00:55]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:00:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:00:55]               │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bd148de3194f4e2ba5c72b6a564b1dc9"]') with timeout=2500
[00:00:58]               │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:00:58]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:00:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:00]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:01:01]               │ debg Find.clickByCssSelector('[data-test-subj="saveNewActionButton"]:not(disabled)') with timeout=10000
[00:01:01]               │ debg Find.findByCssSelector('[data-test-subj="saveNewActionButton"]:not(disabled)') with timeout=10000
[00:01:01]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:01:02]               │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:01:02]               │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:01:02]               │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:01:02]               │ debg Find.findByCssSelector('[data-test-subj="actionsList"] .euiFieldSearch') with timeout=10000
[00:01:02]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="actionsTable"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:02]               │ debg Find.findByCssSelector('[data-test-subj="actionsList"] table') with timeout=10000
[00:01:02]               │ debg Find.clickByCssSelector('[data-test-subj="connectorsTableCell-name"] button') with timeout=10000
[00:01:02]               │ debg Find.findByCssSelector('[data-test-subj="connectorsTableCell-name"] button') with timeout=10000
[00:01:02]               │ debg Find.clickByCssSelector('[data-test-subj="testConnectorTab"]') with timeout=10000
[00:01:02]               │ debg Find.findByCssSelector('[data-test-subj="testConnectorTab"]') with timeout=10000
[00:01:03]               │ debg TestSubjects.setValue(documentsJsonEditor, { "key": "value" })
[00:01:03]               │ debg TestSubjects.click(documentsJsonEditor)
[00:01:03]               │ debg Find.clickByCssSelector('[data-test-subj="documentsJsonEditor"]') with timeout=10000
[00:01:03]               │ debg Find.findByCssSelector('[data-test-subj="documentsJsonEditor"]') with timeout=10000
[00:01:03]               │ debg Find.clickByCssSelector('[data-test-subj="executeActionButton"]:not(disabled)') with timeout=10000
[00:01:03]               │ debg Find.findByCssSelector('[data-test-subj="executeActionButton"]:not(disabled)') with timeout=10000
[00:01:03]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:01:03]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:01:03]               │ proc [kibana]   log   [10:57:50.046] [error][actions][actions][plugins] error indexing documents: mapping set to strict, dynamic introduction of [key] within [_doc] is not allowed
[00:01:03]               │ proc [kibana]   log   [10:57:50.046] [warning][actions][actions][plugins] action execution failure: .index:54bca110-5b0e-11eb-b1d4-19bb54e4495c: 7b2b2272f66e4652beb5b51b2c13936a: error indexing documents: mapping set to strict, dynamic introduction of [key] within [_doc] is not allowed
[00:01:13]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:01:13]               │      Wait timed out after 10046ms
[00:01:14]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:01:14]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:01:24]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:01:24]               │      Wait timed out after 10013ms
[00:01:24]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:01:24]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:01:35]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:01:35]               │      Wait timed out after 10044ms
[00:01:35]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:01:35]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:01:45]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:01:45]               │      Wait timed out after 10007ms
[00:01:46]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:01:46]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:01:56]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:01:56]               │      Wait timed out after 10011ms
[00:01:56]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:01:56]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:02:06]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:02:06]               │      Wait timed out after 10016ms
[00:02:07]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:02:07]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:02:17]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:02:17]               │      Wait timed out after 10061ms
[00:02:17]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:02:17]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:02:27]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:02:27]               │      Wait timed out after 10013ms
[00:02:28]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:02:28]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:02:38]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:02:38]               │      Wait timed out after 10047ms
[00:02:38]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:02:38]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:02:48]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:02:48]               │      Wait timed out after 10053ms
[00:02:49]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:02:49]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:02:59]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:02:59]               │      Wait timed out after 10050ms
[00:02:59]               │ debg TestSubjects.find(executionSuccessfulResult)
[00:02:59]               │ debg Find.findByCssSelector('[data-test-subj="executionSuccessfulResult"]') with timeout=10000
[00:03:09]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:03:09]               │      Wait timed out after 10049ms
[00:03:10]               │ info Taking screenshot "/dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/screenshots/failure/Actions and Triggers app Connectors should test a connector and display a successful result.png"
[00:03:10]               │ info Current URL is: http://localhost:61241/app/management/insightsAndAlerting/triggersActions/connectors
[00:03:10]               │ info Saving page source to: /dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/failure_debug/html/Actions and Triggers app Connectors should test a connector and display a successful result.html
[00:03:10]               └- ✖ fail: Actions and Triggers app Connectors should test a connector and display a successful result
[00:03:10]               │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
[00:03:10]               │ Wait timed out after 10049ms
[00:03:10]               │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:03:10]               │     at runMicrotasks (<anonymous>)
[00:03:10]               │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:03:10]               │       at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:03:10]               │       at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:03:10]               │       at Retry.try (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:32:14)
[00:03:10]               │       at Context.<anonymous> (test/functional_with_es_ssl/apps/triggers_actions_ui/connectors.ts:122:7)
[00:03:10]               │       at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:10]               │ 
[00:03:10]               │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="executionSuccessfulResult"])
Wait timed out after 10049ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:32:14)
    at Context.<anonymous> (test/functional_with_es_ssl/apps/triggers_actions_ui/connectors.ts:122:7)
    at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

✅ unchanged

History

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

@MadameSheema MadameSheema merged commit dd9e367 into elastic:master Jan 20, 2021
@MadameSheema MadameSheema deleted the tests-reorg branch January 20, 2021 12:25
MadameSheema added a commit to MadameSheema/kibana that referenced this pull request Jan 20, 2021
* moves tests to different folders

* cases test files renaming

* renames detection alerts test files

* renames detection rules test files

* renames exceptions test files

* splits inspect test files

* renames timeline templates file tests

* renames timelines file tests

* renames url file tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@pzl
Copy link
Member

pzl commented Jan 20, 2021

@MadameSheema Looks like we might have a typo on one file name:

x-pack/plugins/security_solution/cypress/integration/timelines/local_storage.sepc.ts

sepc instead of spec

want me to fix?

@MadameSheema
Copy link
Contributor Author

Good cath @pzl!

Sure, lots of thanks for your help ❤️

MadameSheema added a commit that referenced this pull request Jan 20, 2021
* moves tests to different folders

* cases test files renaming

* renames detection alerts test files

* renames detection rules test files

* renames exceptions test files

* splits inspect test files

* renames timeline templates file tests

* renames timelines file tests

* renames url file tests

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v7.12.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants