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

[SIEM][Exceptions] Add success/error toast component on alert state change #67406

Merged
merged 7 commits into from
Jun 3, 2020

Conversation

dplumlee
Copy link
Contributor

@dplumlee dplumlee commented May 26, 2020

Summary

Adds a success and error toast on open or close of alert(s). #65947

Screen Shot 2020-05-26 at 2 28 57 PM

Screen Shot 2020-05-28 at 12 01 03 PM

Checklist

Delete any items that are not applicable to this PR.

For maintainers

i18n.translate('xpack.siem.detectionEngine.signals.closedAlertToastMessage', {
values: { totalAlerts },
defaultMessage:
'Successfully Closed {totalAlerts} {totalAlerts, plural, =1 {Alert} other {Alerts}}.',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Couldn't find any mocks specifying wording here, open for suggestions

Copy link
Contributor Author

Choose a reason for hiding this comment

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

capitalization, grammar, etc. also on the board

@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-response (Team:Endpoint Response)

@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@dplumlee dplumlee changed the title [SIEM] Add toast component on alert state change [SIEM][Exceptions] Add toast component on alert state change May 26, 2020
@dplumlee dplumlee changed the title [SIEM][Exceptions] Add toast component on alert state change [SIEM][Exceptions] Add success toast component on alert state change May 26, 2020
@spalger
Copy link
Contributor

spalger commented May 26, 2020

@elasticmachine merge upstream

@spalger
Copy link
Contributor

spalger commented May 26, 2020

(jenkins upgrade required killing all jobs)

@dplumlee dplumlee marked this pull request as ready for review May 27, 2020 15:24
@dplumlee dplumlee requested review from a team as code owners May 27, 2020 15:24
@oatkiller
Copy link
Contributor

Can you justify the need for a toast here? Here's my thoughts:

I'm assuming that when the user takes certain actions on an alert, the application optimistically assumes that things worked out. If the action has a very low chance of failing, this approach improves the flow for users dramatically.

I'm also assuming that a toast is a good pattern when there is new information that the user will act on.

So with those ideas in mind, I'm arguing that this is not a good use case for a toast.

If the user already assumed that the action was successful, then showing a toast to left them know that it was successful provides no actionable info for them. I'm arguing that they won't do anything different except learn to ignore the toast. They were already taking whatever actions having assumed that they successfully opened alerts.

Other thoughts:

  • If we show a toast on success and on failure, we will always show a toast. The user will be trained to ignore it.
  • In the case of 'opening an alert', the success is so likely that the user will likely always see this notification. Therefore I'd argue that it's irrelevant.
  • If we decide to show toasts when something that we expected to happen did in fact happen, then how do we decide what to show toasts for? As an exaggerated example, we could show a toast every time the user clicked a link successfully or every time they scrolled successfully. What makes this toast more useful than those theoretical (useless) toasts? That's my question.

When I think a toast would be good:

  • If the user were waiting for a success message to take action, then using a toast would make sense to me. For example, if the user deployed and endpoint and was waiting for success before taking action on it, then a toast would be helpful. Once the user saw the toast, they could take action.
  • If the user assumed that an action worked but it actually failed. In this case, the user would need to take corrective action.

Please consider my ideas even if you choose to merge. Thanks

@dplumlee
Copy link
Contributor Author

@oatkiller I think those are good thoughts to bring up. From what I can gather in the ticket and our use case, I think the desired effect of a confirmation is still useful. It provides, namely, the ability to verify the number of alerts being closed/opened is correct, and it's been discussed to add an "undo" button in the success toast in the future to perhaps revert that action instantly if the quantity the user expected didn't match up. I think there's something to be said still for the args you bring up though, lets discuss further

@oatkiller
Copy link
Contributor

Davis and I talked and came up w/ an argument for the toast:

  1. The time it takes to complete the operation varies and it could be a while
  2. The user could be waiting to find out that it's done, because they might've changed many alerts and they're waiting for the UI to update so they can go operate on the alerts in their new state
  3. The action could fail, or partially fail, because its a batch operation. the specifics of what happened could communicated in the toast.

@peluja1012 do these reasons match up w/ your thoughts?

@peluja1012
Copy link
Contributor

peluja1012 commented May 27, 2020

@peluja1012 do these reasons match up w/ your thoughts?

@oatkiller That makes sense to me.

@dontcallmesherryli
Copy link

dontcallmesherryli commented May 28, 2020

@oatkiller thanks for your insight to toaster usage. I do think it's expected for users to receive a confirmation message on number of alerts they closed/opened/put in progress. Currently the user can accidentally close an alert and it just disappears from the list they are seeing. User has no idea where that alert went if they didn't notice they chose the action of "close alert". I think it's fine for the toaster to be ignored for the most part, but useful for when the user actually want to make sure N number of alerts has been reopened or closed - much like when you delete an email in Gmail, you get a small toaster "# of email deleted, click to undo".

If toaster is not the best UI solution to confirm the action, do you have an alternative suggestion for the team?

CC: @peluja1012

@dontcallmesherryli
Copy link

dontcallmesherryli commented May 28, 2020

@oatkiller @dplumlee would it be possible to make the toaster show error messages as well? Not just success message. I think then it maximizes the usage of the toaster.

@dplumlee dplumlee changed the title [SIEM][Exceptions] Add success toast component on alert state change [SIEM][Exceptions] Add success/error toast component on alert state change May 28, 2020
@spong
Copy link
Member

spong commented May 29, 2020

@elasticmachine merge upstream

1 similar comment
@spong
Copy link
Member

spong commented Jun 1, 2020

@elasticmachine merge upstream

Copy link
Member

@spong spong left a comment

Choose a reason for hiding this comment

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

Checked out, tested locally, and performed code review. Overall looks good, but I found an issue where the updated count in the toasts were incorrect when using the select all bulk action. Grabbing the count from the response should resolve this bug.

This also uncovered a separate bug where we're not providing the current status filter (open/closed) in the update_by_query call, but that can be addressed in a separate issue/PR.

Copy link
Member

@spong spong 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 fix and cleanup -- looks great! 🙂

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Firefox XPack UI Functional Tests.x-pack/test/functional/apps/spaces/spaces_selection·ts.Spaces app Spaces Spaces Data displays separate data for each space in a custom space

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:06:01]         └-: Spaces app
[00:06:01]           └-> "before all" hook
[00:06:01]           └-: Spaces
[00:06:01]             └-> "before all" hook
[00:07:32]             └-: Spaces Data
[00:07:32]               └-> "before all" hook
[00:07:32]               └-> "before all" hook
[00:07:32]                 │ info [spaces/selector] Loading "mappings.json"
[00:07:32]                 │ info [spaces/selector] Loading "data.json"
[00:07:32]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/FnRiVkjlTxepQryzUEgupQ] deleting index
[00:07:32]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_1/t1S0SkSMRKi5EFGCm1aeug] deleting index
[00:07:32]                 │ info [spaces/selector] Deleted existing index [".kibana_2",".kibana_1"]
[00:07:32]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:07:32]                 │ info [spaces/selector] Created index ".kibana"
[00:07:32]                 │ debg [spaces/selector] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:07:32]                 │ info [spaces/selector] Indexed 3 docs into ".kibana"
[00:07:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana/Nb8RthTSScihr7OMt2_rxQ] update_mapping [_doc]
[00:07:32]                 │ debg Migrating saved objects
[00:07:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana/Nb8RthTSScihr7OMt2_rxQ] update_mapping [_doc]
[00:07:33]                 │ proc [kibana]   log   [00:17:24.092] [info][savedobjects-service] Creating index .kibana_2.
[00:07:33]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:07:33]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] updating number_of_replicas to [0] for indices [.kibana_2]
[00:07:33]                 │ proc [kibana]   log   [00:17:24.212] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:07:33]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:07:33]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] updating number_of_replicas to [0] for indices [.kibana_1]
[00:07:33]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] 6863 finished with response BulkByScrollResponse[took=49.9ms,timed_out=false,sliceId=null,updated=0,created=4,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:07:33]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana/Nb8RthTSScihr7OMt2_rxQ] deleting index
[00:07:34]                 │ proc [kibana]   log   [00:17:24.659] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:07:34]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/-rFpuWnWRPaEbfzRPDrTrg] update_mapping [_doc]
[00:07:34]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/-rFpuWnWRPaEbfzRPDrTrg] update_mapping [_doc]
[00:07:34]                 │ proc [kibana]   log   [00:17:24.811] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:07:34]                 │ proc [kibana]   log   [00:17:24.886] [info][savedobjects-service] Finished in 798ms.
[00:07:34]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:07:34]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/-rFpuWnWRPaEbfzRPDrTrg] update_mapping [_doc]
[00:07:34]                 │ debg navigating to login url: http://localhost:6111/login
[00:07:34]                 │ debg navigate to: http://localhost:6111/login
[00:07:34]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:35]                 │ debg ... sleep(700) start
[00:07:35]                 │ debg ... sleep(700) end
[00:07:35]                 │ debg returned from get, calling refresh
[00:07:43]                 │ debg browser[info] "INFO: 2020-06-03T00:17:34Z
[00:07:43]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:07:43]                 │
[00:07:43]                 │      "
[00:07:44]                 │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:07:44]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:44]                 │ debg currentUrl = http://localhost:6111/login
[00:07:44]                 │          appUrl = http://localhost:6111/login
[00:07:44]                 │ debg TestSubjects.find(kibanaChrome)
[00:07:44]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:56]                 │ debg browser[info] "INFO: 2020-06-03T00:17:47Z
[00:07:56]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:07:56]                 │
[00:07:56]                 │      "
[00:07:57]                 │ debg ... sleep(501) start
[00:07:57]                 │ debg ... sleep(501) end
[00:07:57]                 │ debg in navigateTo url = http://localhost:6111/login
[00:07:57]                 │ debg TestSubjects.exists(statusPageContainer)
[00:07:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:00]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:00]                 │ debg Waiting for Login Form to appear.
[00:08:00]                 │ debg Waiting up to 100000ms for login form...
[00:08:00]                 │ debg TestSubjects.exists(loginForm)
[00:08:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:08:01]                 │ debg TestSubjects.setValue(loginUsername, elastic)
[00:08:01]                 │ debg TestSubjects.click(loginUsername)
[00:08:01]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:08:01]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:08:01]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:08:01]                 │ debg TestSubjects.click(loginPassword)
[00:08:01]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:08:01]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:08:02]                 │ debg TestSubjects.click(loginSubmit)
[00:08:02]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:08:02]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:08:02]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:03]                 │ debg Waiting for login result, expected: spaceSelector.
[00:08:03]                 │ debg TestSubjects.find(kibanaSpaceSelector)
[00:08:03]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaSpaceSelector"]') with timeout=10000
[00:08:13]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaSpaceSelector"])
[00:08:13]                 │      Wait timed out after 10606ms
[00:08:13]                 │ debg browser[info] "INFO: 2020-06-03T00:18:04Z
[00:08:13]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:08:13]                 │
[00:08:13]                 │      "
[00:08:14]                 │ debg TestSubjects.find(kibanaSpaceSelector)
[00:08:14]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaSpaceSelector"]') with timeout=10000
[00:08:14]                 │ debg Finished login process, landed on space selector. currentUrl = http://localhost:6111/spaces/space_selector
[00:08:14]                 │ info SpaceSelectorPage:clickSpaceCard(default)
[00:08:14]                 │ debg TestSubjects.click(space-card-default)
[00:08:14]                 │ debg Find.clickByCssSelector('[data-test-subj="space-card-default"]') with timeout=10000
[00:08:14]                 │ debg Find.findByCssSelector('[data-test-subj="space-card-default"]') with timeout=10000
[00:08:15]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:15]                 │ debg ... sleep(1000) start
[00:08:16]                 │ debg ... sleep(1000) end
[00:08:16]                 │ debg navigating to home url: http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:08:16]                 │ debg navigate to: http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:08:28]                 │ debg browser[info] "INFO: 2020-06-03T00:18:19Z
[00:08:28]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:08:28]                 │
[00:08:28]                 │      "
[00:08:29]                 │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:08:29]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:29]                 │ debg ... sleep(700) start
[00:08:30]                 │ debg ... sleep(700) end
[00:08:30]                 │ debg returned from get, calling refresh
[00:08:43]                 │ debg browser[info] "INFO: 2020-06-03T00:18:34Z
[00:08:43]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:08:43]                 │
[00:08:43]                 │      "
[00:08:43]                 │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:08:44]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:44]                 │ debg currentUrl = http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:08:44]                 │          appUrl = http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:08:44]                 │ debg TestSubjects.find(kibanaChrome)
[00:08:44]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:03]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] to [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] in policy [kibana-event-log-policy]
[00:09:03]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] to [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] in policy [ilm-history-ilm-policy]
[00:09:03]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] in policy [kibana-event-log-policy]
[00:09:03]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"pause-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] in policy [ilm-history-ilm-policy]
[00:09:03]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] in policy [kibana-event-log-policy]
[00:09:03]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"close-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] in policy [ilm-history-ilm-policy]
[00:09:03]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] in policy [kibana-event-log-policy]
[00:09:03]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"unfollow-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] in policy [ilm-history-ilm-policy]
[00:09:03]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] in policy [kibana-event-log-policy]
[00:09:03]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"open-follower-index"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] in policy [ilm-history-ilm-policy]
[00:09:04]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [.kibana-event-log-8.0.0-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [kibana-event-log-policy]
[00:09:04]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-yellow-step"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ilm-history-ilm-policy]
[00:09:05]                 │ debg browser[info] "INFO: 2020-06-03T00:18:56Z
[00:09:05]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:09:05]                 │
[00:09:05]                 │      "
[00:09:17]                 │ debg ... sleep(501) start
[00:09:17]                 │ debg ... sleep(501) end
[00:09:17]                 │ debg in navigateTo url = http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:09:17]                 │ debg TestSubjects.exists(statusPageContainer)
[00:09:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:20]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:09:20]                 │ debg TestSubjects.exists(addSampleDataSetlogs)
[00:09:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=2500
[00:09:21]                 │ debg TestSubjects.click(addSampleDataSetlogs)
[00:09:21]                 │ debg Find.clickByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=10000
[00:09:21]                 │ debg Find.findByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=10000
[00:09:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [kibana_sample_data_logs] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:09:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] updating number_of_replicas to [0] for indices [kibana_sample_data_logs]
[00:09:21]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[kibana_sample_data_logs][0]]])." previous.health="YELLOW" reason="shards started [[kibana_sample_data_logs][0]]"
[00:09:22]                 │ debg TestSubjects.find(sampleDataSetCardlogs)
[00:09:22]                 │ debg Find.findByCssSelector('[data-test-subj="sampleDataSetCardlogs"]') with timeout=10000
[00:09:22]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [kibana_sample_data_logs/ORparVnlSo2A2xmCTD30Ig] update_mapping [_doc]
[00:09:28]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/-rFpuWnWRPaEbfzRPDrTrg] update_mapping [_doc]
[00:09:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/-rFpuWnWRPaEbfzRPDrTrg] update_mapping [_doc]
[00:09:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/-rFpuWnWRPaEbfzRPDrTrg] update_mapping [_doc]
[00:09:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/-rFpuWnWRPaEbfzRPDrTrg] update_mapping [_doc]
[00:09:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/-rFpuWnWRPaEbfzRPDrTrg] update_mapping [_doc]
[00:09:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/-rFpuWnWRPaEbfzRPDrTrg] update_mapping [_doc]
[00:09:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1591140903395256821] [.kibana_2/-rFpuWnWRPaEbfzRPDrTrg] update_mapping [_doc]
[00:09:30]                 │ debg navigating to home url: http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:09:30]                 │ debg navigate to: http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:09:30]                 │ debg ... sleep(700) start
[00:09:31]                 │ debg ... sleep(700) end
[00:09:31]                 │ debg returned from get, calling refresh
[00:09:31]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:32]                 │ debg currentUrl = http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:09:32]                 │          appUrl = http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:09:32]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:32]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:41]                 │ debg browser[info] "INFO: 2020-06-03T00:19:31Z
[00:09:41]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:09:41]                 │
[00:09:41]                 │      "
[00:09:46]                 │ debg App failed to load: home in 10000ms appUrl=http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData currentUrl=http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:09:46]                 │ debg --- retry.try error: App failed to load: home in 10000ms appUrl=http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData currentUrl=http://localhost:6111/app/home#/tutorial_directory/sampleData
[00:09:46]                 │ debg navigate to: http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:09:47]                 │ debg ... sleep(700) start
[00:09:47]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:48]                 │ debg ... sleep(700) end
[00:09:48]                 │ debg returned from get, calling refresh
[00:09:57]                 │ debg browser[info] "INFO: 2020-06-03T00:19:48Z
[00:09:57]                 │        Adding connection to http://localhost:6111/s/another-space/elasticsearch
[00:09:57]                 │
[00:09:57]                 │      "
[00:09:58]                 │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:09:58]                 │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:58]                 │ debg currentUrl = http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:09:58]                 │          appUrl = http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:09:58]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:58]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:13]                 │ debg browser[info] "INFO: 2020-06-03T00:20:03Z
[00:10:13]                 │        Adding connection to http://localhost:6111/s/another-space/elasticsearch
[00:10:13]                 │
[00:10:13]                 │      "
[00:10:13]                 │ debg ... sleep(501) start
[00:10:14]                 │ debg ... sleep(501) end
[00:10:14]                 │ debg in navigateTo url = http://localhost:6111/s/another-space/app/home#/tutorial_directory/sampleData
[00:10:14]                 │ debg TestSubjects.exists(statusPageContainer)
[00:10:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:16]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:17]                 │ debg TestSubjects.exists(addSampleDataSetlogs)
[00:10:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addSampleDataSetlogs"]') with timeout=2500
[00:10:20]                 │ debg --- retry.tryForTime error: [data-test-subj="addSampleDataSetlogs"] is not displayed
[00:10:20]               └-: displays separate data for each space
[00:10:20]                 └-> "before all" hook
[00:10:20]                 └-> in the default space
[00:10:20]                   └-> "before each" hook: global before each
[00:10:20]                   │ debg navigating to dashboard url: http://localhost:6111/app/dashboards#/list
[00:10:20]                   │ debg navigate to: http://localhost:6111/app/dashboards#/list
[00:10:20]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:21]                   │ debg ... sleep(700) start
[00:10:21]                   │ debg ... sleep(700) end
[00:10:21]                   │ debg returned from get, calling refresh
[00:10:32]                   │ debg browser[info] "INFO: 2020-06-03T00:20:22Z
[00:10:32]                   │        Adding connection to http://localhost:6111/elasticsearch
[00:10:32]                   │
[00:10:32]                   │      "
[00:10:32]                   │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:10:32]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:33]                   │ debg currentUrl = http://localhost:6111/app/dashboards#/list
[00:10:33]                   │          appUrl = http://localhost:6111/app/dashboards#/list
[00:10:33]                   │ debg TestSubjects.find(kibanaChrome)
[00:10:33]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:48]                   │ debg browser[info] "INFO: 2020-06-03T00:20:38Z
[00:10:48]                   │        Adding connection to http://localhost:6111/elasticsearch
[00:10:48]                   │
[00:10:48]                   │      "
[00:10:48]                   │ debg ... sleep(501) start
[00:10:49]                   │ debg ... sleep(501) end
[00:10:49]                   │ debg in navigateTo url = http://localhost:6111/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:49]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:10:49]                   │ debg ... sleep(501) start
[00:10:50]                   │ debg ... sleep(501) end
[00:10:50]                   │ debg in navigateTo url = http://localhost:6111/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:50]                   │ debg TestSubjects.exists(statusPageContainer)
[00:10:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:52]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:53]                   │ debg searchForItemWithName: [Logs] Web Traffic
[00:10:53]                   │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:10:54]                   │ debg isGlobalLoadingIndicatorVisible
[00:10:54]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:55]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:55]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:55]                   │ debg TestSubjects.click(dashboardListingTitleLink-[Logs]-Web-Traffic)
[00:10:55]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:10:55]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:10:55]                   │ debg isGlobalLoadingIndicatorVisible
[00:10:55]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:55]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:55]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:55]                   │ debg waitForRenderComplete
[00:10:55]                   │ debg in getSharedItemsCount
[00:10:55]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:10:55]                   │ debg browser[warn] "Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
[00:10:55]                   │      Arguments: 
[00:10:55]                   │      [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: now-7d, _f: undefined, _strict: undefined, _locale: [object Object]
[00:10:55]                   │      x/<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:70425
[00:10:55]                   │      Mt/</<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:90175
[00:10:55]                   │      Mt/<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:90226
[00:10:55]                   │      Mt@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:90520
[00:10:55]                   │      Ct@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:90897
[00:10:55]                   │      St@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:90979
[00:10:55]                   │      r@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:21:67263
[00:10:55]                   │      convertTimeToUTCString@http://localhost:6111/33545/bundles/plugin/dashboard/dashboard.plugin.js:21:46232
[00:10:55]                   │      areTimesEqual@http://localhost:6111/33545/bundles/plugin/dashboard/dashboard.plugin.js:21:46441
[00:10:55]                   │      getTimeChanged@http://localhost:6111/33545/bundles/plugin/dashboard/dashboard.plugin.js:21:66519
[00:10:55]                   │      getChangedFilterTypes@http://localhost:6111/33545/bundles/plugin/dashboard/dashboard.plugin.js:21:67820
[00:10:55]                   │      getFiltersChanged@http://localhost:6111/33545/bundles/plugin/dashboard/dashboard.plugin.js:21:67988
[00:10:55]                   │      getIsDirty@http://localhost:6111/33545/bundles/plugin/dashboard/dashboard.plugin.js:21:67154
[00:10:55]                   │      getDashTitle@http://localhost:6111/33545/bundles/plugin/dashboard/dashboard.plugin.js:21:89163
[00:10:55]                   │      updateBreadcrumbs@http://localhost:6111/33545/bundles/plugin/dashboard/dashboard.plugin.js:21:89448
[00:10:55]                   │      DashboardAppController@http://localhost:6111/33545/bundles/plugin/dashboard/dashboard.plugin.js:21:89467
[00:10:55]                   │      controller@http://localhost:6111/33545/bundles/plugin/dashboard/dashboard.plugin.js:21:104271
[00:10:55]                   │      invoke@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:26216
[00:10:55]                   │      bn/this.$get</</<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:59877
[00:10:55]                   │      ae@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:50753
[00:10:55]                   │      le/<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:44306
[00:10:55]                   │      oe/<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:43519
[00:10:55]                   │      link@http://localhost:6111/33545/bundles/plugin/dashboardMode/dashboardMode.plugin.js:39:10128
[00:10:55]                   │      pe/<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:7397
[00:10:55]                   │      Pe@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:56678
[00:10:55]                   │      ae@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:51450
[00:10:55]                   │      le/<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:44306
[00:10:55]                   │      oe/<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:43519
[00:10:55]                   │      ge/<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:46725
[00:10:55]                   │      r@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:44668
[00:10:55]                   │      _@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:49926
[00:10:55]                   │      update@http://localhost:6111/33545/bundles/plugin/dashboardMode/dashboardMode.plugin.js:39:9071
[00:10:55]                   │      $broadcast@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:103481
[00:10:55]                   │      commitRoute/</<@http://localhost:6111/33545/bundles/plugin/dashboardMode/dashboardMode.plugin.js:39:4705
[00:10:55]                   │      d/</<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:94842
[00:10:55]                   │      d/<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:94980
[00:10:55]                   │      $digest@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:100155
[00:10:55]                   │      $evalAsync/<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:102127
[00:10:55]                   │      Yr/this.completeTask@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:122692
[00:10:55]                   │      rn/o.defer/r<@http://localhost:6111/33545/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:334:34257
[00:10:55]                   │      "
[00:10:56]                   │ debg Renderable.waitForRender for 11 elements
[00:10:56]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:10:59]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:10:59]                   │ERROR browser[error] (new Error("Failed to initialize WebGL", "http://localhost:6111/33545/bundles/plugin/maps/5.plugin.js", 1))
[00:11:01]                   │ debg browser[log] "%cWelcome to Kibana Vega Plugin!" "font-size: 16px; font-weight: bold;"
[00:11:01]                   │ debg browser[log] "You can access the Vega view with VEGA_DEBUG. Learn more at https://vega.github.io/vega/docs/api/debugging/."
[00:11:02]                   │ debg --- retry.try error: 1 elements completed rendering, still waiting on a total of 11
[00:11:02]                   │                      specifically:
[00:11:02]                   │
[00:11:02]                   │
[00:11:02]                   │      [Logs] Visitors by OS
[00:11:02]                   │      [Logs] Response Codes Over Time + Annotations
[00:11:02]                   │      [Logs] Unique Visitors vs. Average Bytes
[00:11:02]                   │      [Logs] File Type Scatter Plot
[00:11:02]                   │      [Logs] Host, Visits and Bytes Table
[00:11:02]                   │      [Logs] Heatmap
[00:11:02]                   │      [Logs] Source and Destination Sankey Chart
[00:11:02]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:11:02]                   │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:11:03]                   └- ✓ pass  (43.4s) "Spaces app Spaces Spaces Data displays separate data for each space in the default space"
[00:11:03]                 └-> in a custom space
[00:11:03]                   └-> "before each" hook: global before each
[00:11:03]                   │ debg navigating to dashboard url: http://localhost:6111/s/another-space/app/dashboards#/list
[00:11:03]                   │ debg navigate to: http://localhost:6111/s/another-space/app/dashboards#/list
[00:11:04]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:04]                   │ debg ... sleep(700) start
[00:11:05]                   │ debg ... sleep(700) end
[00:11:05]                   │ debg returned from get, calling refresh
[00:11:15]                   │ debg browser[info] "INFO: 2020-06-03T00:21:06Z
[00:11:15]                   │        Adding connection to http://localhost:6111/s/another-space/elasticsearch
[00:11:15]                   │
[00:11:15]                   │      "
[00:11:15]                   │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:11:16]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:16]                   │ debg currentUrl = http://localhost:6111/s/another-space/app/dashboards#/list
[00:11:16]                   │          appUrl = http://localhost:6111/s/another-space/app/dashboards#/list
[00:11:16]                   │ debg TestSubjects.find(kibanaChrome)
[00:11:16]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:32]                   │ debg browser[info] "INFO: 2020-06-03T00:21:23Z
[00:11:32]                   │        Adding connection to http://localhost:6111/s/another-space/elasticsearch
[00:11:32]                   │
[00:11:32]                   │      "
[00:11:33]                   │ debg ... sleep(501) start
[00:11:33]                   │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:34]                   │ debg ... sleep(501) end
[00:11:34]                   │ debg in navigateTo url = http://localhost:6111/s/another-space/app/kibana#/management/kibana/indexPatterns?bannerMessage=In%20order%20to%20visualize%20and%20explore%20data%20in%20Kibana,%20you%27ll%20need%20to%20create%20an%20index%20pattern%20to%20retrieve%20data%20from%20Elasticsearch.
[00:11:34]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:11:34]                   │ debg ... sleep(501) start
[00:11:35]                   │ debg ... sleep(501) end
[00:11:35]                   │ debg in navigateTo url = http://localhost:6111/s/another-space/app/kibana#/management/kibana/indexPatterns?bannerMessage=In%20order%20to%20visualize%20and%20explore%20data%20in%20Kibana,%20you%27ll%20need%20to%20create%20an%20index%20pattern%20to%20retrieve%20data%20from%20Elasticsearch.
[00:11:35]                   │ debg TestSubjects.exists(statusPageContainer)
[00:11:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:11:59]                   │ debg browser[info] "INFO: 2020-06-03T00:21:49Z
[00:11:59]                   │        Adding connection to http://localhost:6111/s/another-space/elasticsearch
[00:11:59]                   │
[00:11:59]                   │      "
[00:12:01]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:12:02]                   │ debg searchForItemWithName: [Logs] Web Traffic
[00:12:02]                   │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:12:45]                   │ debg isGlobalLoadingIndicatorVisible
[00:12:45]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:12:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:12:47]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:12:47]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:12:47]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:12:47]                   │ debg TestSubjects.click(dashboardListingTitleLink-[Logs]-Web-Traffic)
[00:12:47]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:12:47]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:12:57]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:12:57]                   │      Wait timed out after 10109ms
[00:12:58]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:13:08]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:13:08]                   │      Wait timed out after 10006ms
[00:13:08]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:13:18]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:13:18]                   │      Wait timed out after 10012ms
[00:13:19]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:13:29]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:13:29]                   │      Wait timed out after 10009ms
[00:13:29]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:13:39]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:13:39]                   │      Wait timed out after 10008ms
[00:13:40]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:13:50]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:13:50]                   │      Wait timed out after 10011ms
[00:13:50]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:14:00]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:14:00]                   │      Wait timed out after 10006ms
[00:14:01]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:14:11]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:14:11]                   │      Wait timed out after 10014ms
[00:14:11]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:14:21]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:14:21]                   │      Wait timed out after 10011ms
[00:14:22]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:14:32]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:14:32]                   │      Wait timed out after 10013ms
[00:14:32]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:14:42]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:14:42]                   │      Wait timed out after 10014ms
[00:14:43]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"]') with timeout=10000
[00:14:53]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
[00:14:53]                   │      Wait timed out after 10008ms
[00:14:53]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Spaces app Spaces Spaces Data displays separate data for each space in a custom space.png"
[00:14:54]                   │ info Current URL is: http://localhost:6111/s/another-space/app/kibana#/management/kibana/indexPatterns?bannerMessage=In%20order%20to%20visualize%20and%20explore%20data%20in%20Kibana,%20you%27ll%20need%20to%20create%20an%20index%20pattern%20to%20retrieve%20data%20from%20Elasticsearch.
[00:14:54]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Spaces app Spaces Spaces Data displays separate data for each space in a custom space.html
[00:14:54]                   └- ✖ fail: "Spaces app Spaces Spaces Data displays separate data for each space in a custom space"
[00:14:54]                   │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="dashboardListingTitleLink-[Logs]-Web-Traffic"])
Wait timed out after 10008ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

History

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

@spong spong merged commit 1d86a2a into elastic:master Jun 3, 2020
spong pushed a commit to spong/kibana that referenced this pull request Jun 3, 2020
…hange (elastic#67406)

## Summary

Adds a success and error toast on open or close of alert(s). elastic#65947

<img width="1035" alt="Screen Shot 2020-05-26 at 2 28 57 PM" src="https://user-images.githubusercontent.com/56367316/82947446-5086ae00-9f5d-11ea-848a-9edae48c47dc.png">

<img width="1022" alt="Screen Shot 2020-05-28 at 12 01 03 PM" src="https://user-images.githubusercontent.com/56367316/83176760-3f63ab80-a0db-11ea-9f4d-7b745d0b4bf0.png">


### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)
spong added a commit that referenced this pull request Jun 3, 2020
…hange (#67406) (#68095)

## Summary

Adds a success and error toast on open or close of alert(s). #65947

<img width="1035" alt="Screen Shot 2020-05-26 at 2 28 57 PM" src="https://user-images.githubusercontent.com/56367316/82947446-5086ae00-9f5d-11ea-848a-9edae48c47dc.png">

<img width="1022" alt="Screen Shot 2020-05-28 at 12 01 03 PM" src="https://user-images.githubusercontent.com/56367316/83176760-3f63ab80-a0db-11ea-9f4d-7b745d0b4bf0.png">


### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)

Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
@dplumlee dplumlee deleted the alert-state-change-toast branch June 3, 2020 16:23
majagrubic pushed a commit to majagrubic/kibana that referenced this pull request Jun 5, 2020
…hange (elastic#67406)

## Summary

Adds a success and error toast on open or close of alert(s). elastic#65947

<img width="1035" alt="Screen Shot 2020-05-26 at 2 28 57 PM" src="https://user-images.githubusercontent.com/56367316/82947446-5086ae00-9f5d-11ea-848a-9edae48c47dc.png">

<img width="1022" alt="Screen Shot 2020-05-28 at 12 01 03 PM" src="https://user-images.githubusercontent.com/56367316/83176760-3f63ab80-a0db-11ea-9f4d-7b745d0b4bf0.png">


### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:enhancement Team:Endpoint Response Endpoint Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants