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

[TSVB] Add ignore global filters to series options #79337

Conversation

simianhacker
Copy link
Member

Summary

This PR closes #66602 by adding "Ignore Global Filters" to the series options.

Editor screenshot with "Ignore Global Filters" applied to first series

image

Dashboard screenshot with "Global Filter" applied to second series but not first

image

Checklist

Delete any items that are not applicable to this PR.

@simianhacker simianhacker force-pushed the issue-66602-ignore-global-filters-for-series branch from 5921583 to 0e77528 Compare October 2, 2020 18:52
@simianhacker simianhacker force-pushed the issue-66602-ignore-global-filters-for-series branch from 0e77528 to 101e4bf Compare October 2, 2020 19:24
@simianhacker simianhacker marked this pull request as ready for review October 2, 2020 22:25
@simianhacker simianhacker requested a review from a team October 2, 2020 22:25
@stratoula
Copy link
Contributor

@elasticmachine merge upstream

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

Code LGTM, I have tested locally on Safari and it looks fine. Thanx for that!
@alexwizp do you want to have a look too?

@@ -27,8 +27,9 @@ export function query(req, panel, series, esQueryConfig, indexPatternObject) {
const { from, to } = offsetTime(req, series.offset_time);

doc.size = 0;
const queries = !panel.ignore_global_filter ? req.payload.query : [];
const filters = !panel.ignore_global_filter ? req.payload.filters : [];
const ignoreGlobalFilter = panel.ignore_global_filter || series.ignore_global_filter;
Copy link
Contributor

@alexwizp alexwizp Oct 7, 2020

Choose a reason for hiding this comment

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

@stratoula @simianhacker
I'm not sure that It's too clear for me from the design perspective. Not sure that we can merge it cause it can confuse users.

Let's see my case:

  1. set some global filter and set panel.ignore_global_filter to true
  2. create 2 aggs and set different values for series.ignore_global_filter (true / false)

I expect to see 2 different charts in TSVB: the first one should use global filter, the last one - no.

I have 2 visions how to fix that:

  1. We can disable on UI series.ignore_global_filter if panel.gnore_global_filter is true
  2. the default value for series.ignore_global_filter should be equal to panel.gnore_global_filter (in this case all series should contain ignore_global_filter which we should use for generation query)

Copy link
Contributor

Choose a reason for hiding this comment

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

oh, you are right. It can be confusing. I like both proposals. Maybe the first one with an info tooltip will be the best from ux perspective. @simianhacker can you take care of this? Thank you!

Copy link
Member Author

Choose a reason for hiding this comment

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

So what you're saying is that series.ignore_global_filter should override panel.ignore_global_filter? If series.ignore_panel_filter is set to false then it should ignore the panel setting?

Copy link
Contributor

Choose a reason for hiding this comment

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

@simianhacker not exactly, I suggest to disable series.ignore_global_filter control if panel.ignore_global_filter is true with the corresponding tooltip. It will be super clear for users and avoid a lot of questions in future.

Your current approach works differently than for example the index pattern field. In this case, if we define an index pattern for the series, it overrides the index pattern for the panel. ignore_global_filter works the other way around. This confuses me

Copy link
Member Author

Choose a reason for hiding this comment

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

I can disable the series option when panel.ignore_glboal_filter is true, that's not a problem (I'm working on that now).

From a backend perspective, if the user sets panel.ignore_global_filter: true and somehow sends series.ignore_global_filter: false (maybe they are using the API directly), what should it do? Add global filter or ignore it?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think yes, thank you

Copy link
Member Author

Choose a reason for hiding this comment

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

"Yes, add global filter" OR "Yes, ignore it"

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can ignore it. Do you agree with me?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's how it works now... if panel.ignore_global_filters is true OR if series.ignore_global_filters is true then it will ignore the global filters.

Copy link
Contributor

@alexwizp alexwizp Oct 7, 2020

Choose a reason for hiding this comment

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

yes, but series.ignore_global_filters should be disabled. I see you updated your PR. thank you, will check it soon.

@stratoula stratoula self-requested a review October 7, 2020 15:15
Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

Changing my review after @alexwizp 's comment regarding the UX problem. (just to be sure that it won't accidentally be merged 😄 )

@stratoula
Copy link
Contributor

I also saw this server error
Request validation error: [panels.0.series.0.ignore_global_filter]: definition for this key is missing (saved object id: unsaved). This most likely means your TSVB visualization contains outdated configuration. You can report this problem under https://github.com/elastic/kibana/issues/new?template=Bug_report.md

@alexwizp
Copy link
Contributor

alexwizp commented Oct 7, 2020

^^ you are right, src/plugins/vis_type_timeseries/common/vis_schema.ts should be also updated

@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/alerts·ts.Actions and Triggers app alerts should delete all selection

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Actions and Triggers app
[00:00:00]           └-> "before all" hook
[00:01:18]           └-: alerts
[00:01:18]             └-> "before all" hook
[00:01:18]             └-> "before all" hook
[00:01:18]               │ debg navigating to triggersActions url: http://localhost:6181/app/management/insightsAndAlerting/triggersActions
[00:01:18]               │ debg navigate to: http://localhost:6181/app/management/insightsAndAlerting/triggersActions
[00:01:18]               │ debg browser[INFO] http://localhost:6181/app/management/insightsAndAlerting/triggersActions?_t=1602102148315 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:01:18]               │
[00:01:18]               │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:18]               │ debg ... sleep(700) start
[00:01:19]               │ debg ... sleep(700) end
[00:01:19]               │ debg returned from get, calling refresh
[00:01:20]               │ERROR browser[SEVERE] http://localhost:6181/37138/bundles/core/core.entry.js 26:232956 TypeError: Failed to fetch
[00:01:20]               │          at Fetch._callee3$ (http://localhost:6181/37138/bundles/core/core.entry.js:6:58518)
[00:01:20]               │          at l (http://localhost:6181/37138/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1738927)
[00:01:20]               │          at Generator._invoke (http://localhost:6181/37138/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1738680)
[00:01:20]               │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6181/37138/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1739284)
[00:01:20]               │          at fetch_asyncGeneratorStep (http://localhost:6181/37138/bundles/core/core.entry.js:6:52587)
[00:01:20]               │          at _throw (http://localhost:6181/37138/bundles/core/core.entry.js:6:52995)
[00:01:20]               │ debg browser[INFO] http://localhost:6181/app/management/insightsAndAlerting/triggersActions?_t=1602102148315 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:01:20]               │
[00:01:20]               │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:20]               │ debg currentUrl = http://localhost:6181/app/management/insightsAndAlerting/triggersActions
[00:01:20]               │          appUrl = http://localhost:6181/app/management/insightsAndAlerting/triggersActions
[00:01:20]               │ debg TestSubjects.find(kibanaChrome)
[00:01:20]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:21]               │ debg ... sleep(501) start
[00:01:21]               │ debg ... sleep(501) end
[00:01:21]               │ debg in navigateTo url = http://localhost:6181/app/management/insightsAndAlerting/triggersActions/alerts
[00:01:21]               │ debg TestSubjects.exists(statusPageContainer)
[00:01:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:24]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:24]               │ debg TestSubjects.click(alertsTab)
[00:01:24]               │ debg Find.clickByCssSelector('[data-test-subj="alertsTab"]') with timeout=10000
[00:01:24]               │ debg Find.findByCssSelector('[data-test-subj="alertsTab"]') with timeout=10000
[00:01:24]             └-> should create an alert
[00:01:24]               └-> "before each" hook: global before each
[00:01:24]               │ debg Find.findByCssSelector('[data-test-subj="createAlertButton"],[data-test-subj="createFirstAlertButton"]') with timeout=10000
[00:01:25]               │ debg TestSubjects.setValue(alertNameInput, 3fe6174ff1364970919f7780a22ab550)
[00:01:25]               │ debg TestSubjects.click(alertNameInput)
[00:01:25]               │ debg Find.clickByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:01:25]               │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:01:26]               │ debg TestSubjects.click(.index-threshold-SelectOption)
[00:01:26]               │ debg Find.clickByCssSelector('[data-test-subj=".index-threshold-SelectOption"]') with timeout=10000
[00:01:26]               │ debg Find.findByCssSelector('[data-test-subj=".index-threshold-SelectOption"]') with timeout=10000
[00:01:26]               │ debg TestSubjects.click(selectIndexExpression)
[00:01:26]               │ debg Find.clickByCssSelector('[data-test-subj="selectIndexExpression"]') with timeout=10000
[00:01:26]               │ debg Find.findByCssSelector('[data-test-subj="selectIndexExpression"]') with timeout=10000
[00:01:26]               │ debg Find.findByCssSelector('#indexSelectSearchBox') with timeout=10000
[00:01:26]               │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=10000
[00:01:26]               │ debg TestSubjects.click(thresholdAlertTimeFieldSelect)
[00:01:26]               │ debg Find.clickByCssSelector('[data-test-subj="thresholdAlertTimeFieldSelect"]') with timeout=10000
[00:01:26]               │ debg Find.findByCssSelector('[data-test-subj="thresholdAlertTimeFieldSelect"]') with timeout=10000
[00:01:27]               │ debg Find.allByCssSelector('#thresholdTimeField option') with timeout=10000
[00:01:27]               │ debg TestSubjects.click(closePopover)
[00:01:27]               │ debg Find.clickByCssSelector('[data-test-subj="closePopover"]') with timeout=10000
[00:01:27]               │ debg Find.findByCssSelector('[data-test-subj="closePopover"]') with timeout=10000
[00:01:27]               │ debg TestSubjects.find(alertNameInput)
[00:01:27]               │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:01:27]               │ debg TestSubjects.click(.slack-ActionTypeSelectOption)
[00:01:27]               │ debg Find.clickByCssSelector('[data-test-subj=".slack-ActionTypeSelectOption"]') with timeout=10000
[00:01:27]               │ debg Find.findByCssSelector('[data-test-subj=".slack-ActionTypeSelectOption"]') with timeout=10000
[00:01:27]               │ debg TestSubjects.click(addNewActionConnectorButton-.slack)
[00:01:27]               │ debg Find.clickByCssSelector('[data-test-subj="addNewActionConnectorButton-.slack"]') with timeout=10000
[00:01:27]               │ debg Find.findByCssSelector('[data-test-subj="addNewActionConnectorButton-.slack"]') with timeout=10000
[00:01:27]               │ debg TestSubjects.setValue(nameInput, 51f800f3cbb4415b9f2c69cfbf33eb79)
[00:01:27]               │ debg TestSubjects.click(nameInput)
[00:01:27]               │ debg Find.clickByCssSelector('[data-test-subj="nameInput"]') with timeout=10000
[00:01:27]               │ debg Find.findByCssSelector('[data-test-subj="nameInput"]') with timeout=10000
[00:01:27]               │ debg TestSubjects.setValue(slackWebhookUrlInput, https://test)
[00:01:27]               │ debg TestSubjects.click(slackWebhookUrlInput)
[00:01:27]               │ debg Find.clickByCssSelector('[data-test-subj="slackWebhookUrlInput"]') with timeout=10000
[00:01:27]               │ debg Find.findByCssSelector('[data-test-subj="slackWebhookUrlInput"]') with timeout=10000
[00:01:28]               │ debg Find.clickByCssSelector('[data-test-subj="saveActionButtonModal"]:not(disabled)') with timeout=10000
[00:01:28]               │ debg Find.findByCssSelector('[data-test-subj="saveActionButtonModal"]:not(disabled)') with timeout=10000
[00:01:28]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:01:28]               │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:01:28]               │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:01:28]               │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:01:28]               │ debg TestSubjects.setValue(messageTextArea, test message )
[00:01:28]               │ debg TestSubjects.click(messageTextArea)
[00:01:28]               │ debg Find.clickByCssSelector('[data-test-subj="messageTextArea"]') with timeout=10000
[00:01:28]               │ debg Find.findByCssSelector('[data-test-subj="messageTextArea"]') with timeout=10000
[00:01:29]               │ debg TestSubjects.click(messageAddVariableButton)
[00:01:29]               │ debg Find.clickByCssSelector('[data-test-subj="messageAddVariableButton"]') with timeout=10000
[00:01:29]               │ debg Find.findByCssSelector('[data-test-subj="messageAddVariableButton"]') with timeout=10000
[00:01:29]               │ debg TestSubjects.click(variableMenuButton-0)
[00:01:29]               │ debg Find.clickByCssSelector('[data-test-subj="variableMenuButton-0"]') with timeout=10000
[00:01:29]               │ debg Find.findByCssSelector('[data-test-subj="variableMenuButton-0"]') with timeout=10000
[00:01:29]               │ debg Find.findByCssSelector('[data-test-subj="messageTextArea"]') with timeout=10000
[00:01:30]               │ debg TestSubjects.click(messageAddVariableButton)
[00:01:30]               │ debg Find.clickByCssSelector('[data-test-subj="messageAddVariableButton"]') with timeout=10000
[00:01:30]               │ debg Find.findByCssSelector('[data-test-subj="messageAddVariableButton"]') with timeout=10000
[00:01:30]               │ debg TestSubjects.click(variableMenuButton-1)
[00:01:30]               │ debg Find.clickByCssSelector('[data-test-subj="variableMenuButton-1"]') with timeout=10000
[00:01:30]               │ debg Find.findByCssSelector('[data-test-subj="variableMenuButton-1"]') with timeout=10000
[00:01:30]               │ debg TestSubjects.click(saveAlertButton)
[00:01:30]               │ debg Find.clickByCssSelector('[data-test-subj="saveAlertButton"]') with timeout=10000
[00:01:30]               │ debg Find.findByCssSelector('[data-test-subj="saveAlertButton"]') with timeout=10000
[00:01:31]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:01:33]               │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:01:33]               │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:01:33]               │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:01:33]               │ debg TestSubjects.find(alertSearchField)
[00:01:33]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:34]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:34]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:01:34]               └- ✓ pass  (9.9s) "Actions and Triggers app alerts should create an alert"
[00:01:34]             └-> should display alerts in alphabetical order
[00:01:34]               └-> "before each" hook: global before each
[00:01:40]               │ debg TestSubjects.find(alertSearchField)
[00:01:40]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:40]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:40]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:01:40]               └- ✓ pass  (6.3s) "Actions and Triggers app alerts should display alerts in alphabetical order"
[00:01:40]             └-> should search for alert
[00:01:40]               └-> "before each" hook: global before each
[00:01:43]               │ debg TestSubjects.find(alertSearchField)
[00:01:43]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:43]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:43]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:01:43]               └- ✓ pass  (3.2s) "Actions and Triggers app alerts should search for alert"
[00:01:43]             └-> should search for tags
[00:01:43]               └-> "before each" hook: global before each
[00:01:46]               │ debg TestSubjects.find(alertSearchField)
[00:01:46]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:46]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:46]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:01:46]               └- ✓ pass  (3.0s) "Actions and Triggers app alerts should search for tags"
[00:01:46]             └-> should display an empty list when search did not return any alerts
[00:01:46]               └-> "before each" hook: global before each
[00:01:46]               │ debg TestSubjects.find(alertSearchField)
[00:01:46]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:47]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:47]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:01:47]               └- ✓ pass  (510ms) "Actions and Triggers app alerts should display an empty list when search did not return any alerts"
[00:01:47]             └-> should disable single alert
[00:01:47]               └-> "before each" hook: global before each
[00:01:49]               │ debg TestSubjects.find(alertSearchField)
[00:01:49]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:49]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:49]               │ debg TestSubjects.click(collapsedItemActions)
[00:01:49]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:49]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:49]               │ debg TestSubjects.find(disableSwitch)
[00:01:49]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:50]               │ debg TestSubjects.find(disableSwitch)
[00:01:50]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:50]               │ debg --- retry.try error: expected 'false' to sort of not equal 'false'
[00:01:50]               │ debg TestSubjects.find(disableSwitch)
[00:01:50]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:50]               │ debg --- retry.try failed again with the same message...
[00:01:51]               │ debg TestSubjects.find(disableSwitch)
[00:01:51]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:51]               │ debg --- retry.try failed again with the same message...
[00:01:51]               │ debg TestSubjects.find(disableSwitch)
[00:01:51]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:51]               │ debg TestSubjects.find(alertSearchField)
[00:01:51]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:52]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:52]               │ debg TestSubjects.click(collapsedItemActions)
[00:01:52]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:52]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:52]               │ debg TestSubjects.find(disableSwitch)
[00:01:52]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:52]               └- ✓ pass  (4.7s) "Actions and Triggers app alerts should disable single alert"
[00:01:52]             └-> should re-enable single alert
[00:01:52]               └-> "before each" hook: global before each
[00:01:54]               │ debg TestSubjects.find(alertSearchField)
[00:01:54]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:54]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:55]               │ debg TestSubjects.click(collapsedItemActions)
[00:01:55]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:55]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:55]               │ debg TestSubjects.find(disableSwitch)
[00:01:55]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:55]               │ debg TestSubjects.find(disableSwitch)
[00:01:55]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:55]               │ debg --- retry.try error: expected 'false' to sort of not equal 'false'
[00:01:55]               │ proc [kibana]   log   [20:23:05.802] [error][alerting][alerts][plugins][plugins] Executing Alert "8698ee1b-c073-4b95-a535-25b8b2566a34" has resulted in Error: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="Basic realm=\"security\" charset=\"UTF-8\"" & 1="Bearer realm=\"security\"" & 2="ApiKey" } } }
[00:01:55]               │ debg TestSubjects.find(disableSwitch)
[00:01:55]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:55]               │ debg --- retry.try failed again with the same message...
[00:01:56]               │ debg TestSubjects.find(disableSwitch)
[00:01:56]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:56]               │ debg --- retry.try failed again with the same message...
[00:01:56]               │ debg TestSubjects.find(disableSwitch)
[00:01:56]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:56]               │ debg TestSubjects.find(alertSearchField)
[00:01:56]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:57]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:57]               │ debg TestSubjects.click(collapsedItemActions)
[00:01:57]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:57]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:57]               │ debg TestSubjects.find(disableSwitch)
[00:01:57]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:57]               │ debg TestSubjects.find(disableSwitch)
[00:01:57]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:57]               │ debg --- retry.try error: expected 'true' to sort of not equal 'true'
[00:01:57]               │ debg TestSubjects.find(disableSwitch)
[00:01:57]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:57]               │ debg --- retry.try failed again with the same message...
[00:01:58]               │ debg TestSubjects.find(disableSwitch)
[00:01:58]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:58]               │ debg --- retry.try failed again with the same message...
[00:01:58]               │ debg TestSubjects.find(disableSwitch)
[00:01:58]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:58]               │ debg --- retry.try failed again with the same message...
[00:01:59]               │ debg TestSubjects.find(disableSwitch)
[00:01:59]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:01:59]               │ debg --- retry.try failed again with the same message...
[00:01:59]               │ debg TestSubjects.find(disableSwitch)
[00:01:59]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:02:00]               │ debg TestSubjects.find(alertSearchField)
[00:02:00]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:00]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:00]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:00]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:00]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:00]               │ debg TestSubjects.find(disableSwitch)
[00:02:00]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:02:00]               └- ✓ pass  (8.3s) "Actions and Triggers app alerts should re-enable single alert"
[00:02:00]             └-> should mute single alert
[00:02:00]               └-> "before each" hook: global before each
[00:02:02]               │ debg TestSubjects.find(alertSearchField)
[00:02:02]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:03]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:03]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:03]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:03]               │ debg TestSubjects.find(muteSwitch)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:03]               │ debg TestSubjects.find(muteSwitch)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:03]               │ debg --- retry.try error: expected 'false' to sort of not equal 'false'
[00:02:03]               │ debg TestSubjects.find(muteSwitch)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:03]               │ debg TestSubjects.find(alertSearchField)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:04]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:04]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:04]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:04]               │ debg TestSubjects.find(muteSwitch)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:04]               └- ✓ pass  (4.0s) "Actions and Triggers app alerts should mute single alert"
[00:02:04]             └-> should unmute single alert
[00:02:04]               └-> "before each" hook: global before each
[00:02:06]               │ debg TestSubjects.find(alertSearchField)
[00:02:06]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:07]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:07]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:07]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:07]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:07]               │ debg TestSubjects.find(muteSwitch)
[00:02:07]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:07]               │ debg TestSubjects.find(muteSwitch)
[00:02:07]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:07]               │ debg --- retry.try error: expected 'false' to sort of not equal 'false'
[00:02:07]               │ debg TestSubjects.find(muteSwitch)
[00:02:07]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:07]               │ debg TestSubjects.find(alertSearchField)
[00:02:07]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:08]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:08]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:08]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:08]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:08]               │ debg TestSubjects.find(muteSwitch)
[00:02:08]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:08]               │ debg TestSubjects.find(muteSwitch)
[00:02:08]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:08]               │ debg --- retry.try error: expected 'true' to sort of not equal 'true'
[00:02:08]               │ debg TestSubjects.find(muteSwitch)
[00:02:08]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:09]               │ debg TestSubjects.find(alertSearchField)
[00:02:09]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:09]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:09]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:09]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:09]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:09]               │ debg TestSubjects.find(muteSwitch)
[00:02:09]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:09]               └- ✓ pass  (5.0s) "Actions and Triggers app alerts should unmute single alert"
[00:02:09]             └-> should delete single alert
[00:02:09]               └-> "before each" hook: global before each
[00:02:13]               │ debg TestSubjects.find(alertSearchField)
[00:02:13]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:14]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:14]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:14]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:14]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:14]               │ debg TestSubjects.click(deleteAlert)
[00:02:14]               │ debg Find.clickByCssSelector('[data-test-subj="deleteAlert"]') with timeout=10000
[00:02:14]               │ debg Find.findByCssSelector('[data-test-subj="deleteAlert"]') with timeout=10000
[00:02:14]               │ debg TestSubjects.exists(deleteIdsConfirmation)
[00:02:14]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="deleteIdsConfirmation"]') with timeout=120000
[00:02:14]               │ debg TestSubjects.click(deleteIdsConfirmation > confirmModalConfirmButton)
[00:02:14]               │ debg Find.clickByCssSelector('[data-test-subj="deleteIdsConfirmation"] [data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:02:14]               │ debg Find.findByCssSelector('[data-test-subj="deleteIdsConfirmation"] [data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:02:14]               │ debg TestSubjects.missingOrFail(deleteIdsConfirmation)
[00:02:14]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="deleteIdsConfirmation"]') with timeout=2500
[00:02:15]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:02:15]               │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:02:15]               │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:02:15]               │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:02:15]               │ debg TestSubjects.find(alertSearchField)
[00:02:15]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:16]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:16]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:02:16]               └- ✓ pass  (6.6s) "Actions and Triggers app alerts should delete single alert"
[00:02:16]             └-> should mute all selection
[00:02:16]               └-> "before each" hook: global before each
[00:02:18]               │ debg TestSubjects.find(alertSearchField)
[00:02:18]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:19]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:19]               │ debg TestSubjects.click(checkboxSelectRow-d5084f76-1b7a-430d-abfc-2bdba349b3e1)
[00:02:19]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-d5084f76-1b7a-430d-abfc-2bdba349b3e1"]') with timeout=10000
[00:02:19]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-d5084f76-1b7a-430d-abfc-2bdba349b3e1"]') with timeout=10000
[00:02:19]               │ debg TestSubjects.click(bulkAction)
[00:02:19]               │ debg Find.clickByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:19]               │ debg Find.findByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:19]               │ debg TestSubjects.click(muteAll)
[00:02:19]               │ debg Find.clickByCssSelector('[data-test-subj="muteAll"]') with timeout=10000
[00:02:19]               │ debg Find.findByCssSelector('[data-test-subj="muteAll"]') with timeout=10000
[00:02:19]               │ debg TestSubjects.exists(unmuteAll)
[00:02:19]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="unmuteAll"]') with timeout=120000
[00:02:20]               │ debg TestSubjects.find(alertSearchField)
[00:02:20]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:20]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:20]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:20]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:20]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:20]               │ debg TestSubjects.find(muteSwitch)
[00:02:20]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:20]               └- ✓ pass  (4.4s) "Actions and Triggers app alerts should mute all selection"
[00:02:20]             └-> should unmute all selection
[00:02:20]               └-> "before each" hook: global before each
[00:02:22]               │ debg TestSubjects.find(alertSearchField)
[00:02:22]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:23]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:23]               │ debg TestSubjects.click(checkboxSelectRow-9c0a3f46-8c54-4320-9272-48acc1749302)
[00:02:23]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-9c0a3f46-8c54-4320-9272-48acc1749302"]') with timeout=10000
[00:02:23]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-9c0a3f46-8c54-4320-9272-48acc1749302"]') with timeout=10000
[00:02:23]               │ debg TestSubjects.click(bulkAction)
[00:02:23]               │ debg Find.clickByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:23]               │ debg Find.findByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:23]               │ debg TestSubjects.click(muteAll)
[00:02:23]               │ debg Find.clickByCssSelector('[data-test-subj="muteAll"]') with timeout=10000
[00:02:23]               │ debg Find.findByCssSelector('[data-test-subj="muteAll"]') with timeout=10000
[00:02:23]               │ debg TestSubjects.click(unmuteAll)
[00:02:23]               │ debg Find.clickByCssSelector('[data-test-subj="unmuteAll"]') with timeout=10000
[00:02:23]               │ debg Find.findByCssSelector('[data-test-subj="unmuteAll"]') with timeout=10000
[00:02:24]               │ debg TestSubjects.exists(muteAll)
[00:02:24]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="muteAll"]') with timeout=120000
[00:02:25]               │ debg TestSubjects.find(alertSearchField)
[00:02:25]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:25]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:25]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:25]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:25]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:25]               │ debg TestSubjects.find(muteSwitch)
[00:02:25]               │ debg Find.findByCssSelector('[data-test-subj="muteSwitch"]') with timeout=10000
[00:02:25]               └- ✓ pass  (5.0s) "Actions and Triggers app alerts should unmute all selection"
[00:02:25]             └-> should disable all selection
[00:02:25]               └-> "before each" hook: global before each
[00:02:27]               │ debg TestSubjects.find(alertSearchField)
[00:02:27]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:28]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:28]               │ debg TestSubjects.click(checkboxSelectRow-954b2187-408e-4734-979f-d65cb4783e46)
[00:02:28]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-954b2187-408e-4734-979f-d65cb4783e46"]') with timeout=10000
[00:02:28]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-954b2187-408e-4734-979f-d65cb4783e46"]') with timeout=10000
[00:02:28]               │ debg TestSubjects.click(bulkAction)
[00:02:28]               │ debg Find.clickByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:28]               │ debg Find.findByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:28]               │ debg TestSubjects.click(disableAll)
[00:02:28]               │ debg Find.clickByCssSelector('[data-test-subj="disableAll"]') with timeout=10000
[00:02:28]               │ debg Find.findByCssSelector('[data-test-subj="disableAll"]') with timeout=10000
[00:02:28]               │ debg TestSubjects.exists(enableAll)
[00:02:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="enableAll"]') with timeout=120000
[00:02:29]               │ debg TestSubjects.find(alertSearchField)
[00:02:29]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:30]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:30]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:30]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:30]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:30]               │ debg TestSubjects.find(disableSwitch)
[00:02:30]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:02:30]               └- ✓ pass  (4.6s) "Actions and Triggers app alerts should disable all selection"
[00:02:30]             └-> should enable all selection
[00:02:30]               └-> "before each" hook: global before each
[00:02:32]               │ debg TestSubjects.find(alertSearchField)
[00:02:32]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:33]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:33]               │ debg TestSubjects.click(checkboxSelectRow-69d1854d-1375-4aab-9b34-68617e6db27c)
[00:02:33]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-69d1854d-1375-4aab-9b34-68617e6db27c"]') with timeout=10000
[00:02:33]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-69d1854d-1375-4aab-9b34-68617e6db27c"]') with timeout=10000
[00:02:33]               │ debg TestSubjects.click(bulkAction)
[00:02:33]               │ debg Find.clickByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:33]               │ debg Find.findByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:33]               │ debg TestSubjects.click(disableAll)
[00:02:33]               │ debg Find.clickByCssSelector('[data-test-subj="disableAll"]') with timeout=10000
[00:02:33]               │ debg Find.findByCssSelector('[data-test-subj="disableAll"]') with timeout=10000
[00:02:33]               │ debg TestSubjects.click(enableAll)
[00:02:33]               │ debg Find.clickByCssSelector('[data-test-subj="enableAll"]') with timeout=10000
[00:02:33]               │ debg Find.findByCssSelector('[data-test-subj="enableAll"]') with timeout=10000
[00:02:34]               │ debg TestSubjects.exists(disableAll)
[00:02:34]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="disableAll"]') with timeout=120000
[00:02:37]               │ debg TestSubjects.find(alertSearchField)
[00:02:37]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:37]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:37]               │ debg TestSubjects.click(collapsedItemActions)
[00:02:37]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:37]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:02:37]               │ debg TestSubjects.find(disableSwitch)
[00:02:37]               │ debg Find.findByCssSelector('[data-test-subj="disableSwitch"]') with timeout=10000
[00:02:37]               └- ✓ pass  (7.5s) "Actions and Triggers app alerts should enable all selection"
[00:02:37]             └-> should delete all selection
[00:02:37]               └-> "before each" hook: global before each
[00:02:42]               │ debg TestSubjects.find(alertSearchField)
[00:02:42]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:42]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:42]               │ debg TestSubjects.click(checkboxSelectRow-edcf3f07-d0e6-4469-8edf-aba7af4004f5)
[00:02:42]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-edcf3f07-d0e6-4469-8edf-aba7af4004f5"]') with timeout=10000
[00:02:42]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-edcf3f07-d0e6-4469-8edf-aba7af4004f5"]') with timeout=10000
[00:02:42]               │ debg TestSubjects.click(checkboxSelectRow-1068aec8-1b36-4d3a-bbc2-27b360b12318)
[00:02:42]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-1068aec8-1b36-4d3a-bbc2-27b360b12318"]') with timeout=10000
[00:02:42]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-1068aec8-1b36-4d3a-bbc2-27b360b12318"]') with timeout=10000
[00:02:42]               │ debg TestSubjects.click(checkboxSelectRow-fc42f3cd-0568-4cb4-b789-9abcbae29bf0)
[00:02:42]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-fc42f3cd-0568-4cb4-b789-9abcbae29bf0"]') with timeout=10000
[00:02:42]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-fc42f3cd-0568-4cb4-b789-9abcbae29bf0"]') with timeout=10000
[00:02:43]               │ debg TestSubjects.click(checkboxSelectRow-5b854274-aa41-401b-a408-f90bf3701c1f)
[00:02:43]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-5b854274-aa41-401b-a408-f90bf3701c1f"]') with timeout=10000
[00:02:43]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-5b854274-aa41-401b-a408-f90bf3701c1f"]') with timeout=10000
[00:02:43]               │ debg TestSubjects.click(checkboxSelectRow-d924b7c4-bfde-4e9d-a155-cd0860d2fc4b)
[00:02:43]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-d924b7c4-bfde-4e9d-a155-cd0860d2fc4b"]') with timeout=10000
[00:02:43]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-d924b7c4-bfde-4e9d-a155-cd0860d2fc4b"]') with timeout=10000
[00:02:43]               │ debg TestSubjects.click(checkboxSelectRow-4c9023a3-77fb-4df2-9211-a4a39e62b1c6)
[00:02:43]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-4c9023a3-77fb-4df2-9211-a4a39e62b1c6"]') with timeout=10000
[00:02:43]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-4c9023a3-77fb-4df2-9211-a4a39e62b1c6"]') with timeout=10000
[00:02:43]               │ debg TestSubjects.click(checkboxSelectRow-0898461f-2722-4ef0-a6bf-52aa215591af)
[00:02:43]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-0898461f-2722-4ef0-a6bf-52aa215591af"]') with timeout=10000
[00:02:43]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-0898461f-2722-4ef0-a6bf-52aa215591af"]') with timeout=10000
[00:02:43]               │ debg TestSubjects.click(checkboxSelectRow-bc60a4f0-e893-4109-973f-0864d8fc3ca8)
[00:02:43]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-bc60a4f0-e893-4109-973f-0864d8fc3ca8"]') with timeout=10000
[00:02:43]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-bc60a4f0-e893-4109-973f-0864d8fc3ca8"]') with timeout=10000
[00:02:43]               │ debg TestSubjects.click(checkboxSelectRow-ccbd57b0-405b-4c28-9746-5a7b2a2d2579)
[00:02:43]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-ccbd57b0-405b-4c28-9746-5a7b2a2d2579"]') with timeout=10000
[00:02:43]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-ccbd57b0-405b-4c28-9746-5a7b2a2d2579"]') with timeout=10000
[00:02:43]               │ debg TestSubjects.click(checkboxSelectRow-58323f88-de86-4431-8323-4b53da725ef1)
[00:02:43]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-58323f88-de86-4431-8323-4b53da725ef1"]') with timeout=10000
[00:02:43]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-58323f88-de86-4431-8323-4b53da725ef1"]') with timeout=10000
[00:02:43]               │ debg TestSubjects.click(bulkAction)
[00:02:43]               │ debg Find.clickByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:43]               │ debg Find.findByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:43]               │ debg TestSubjects.click(deleteAll)
[00:02:43]               │ debg Find.clickByCssSelector('[data-test-subj="deleteAll"]') with timeout=10000
[00:02:43]               │ debg Find.findByCssSelector('[data-test-subj="deleteAll"]') with timeout=10000
[00:02:44]               │ debg TestSubjects.exists(deleteIdsConfirmation)
[00:02:44]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="deleteIdsConfirmation"]') with timeout=120000
[00:02:44]               │ debg TestSubjects.click(deleteIdsConfirmation > confirmModalConfirmButton)
[00:02:44]               │ debg Find.clickByCssSelector('[data-test-subj="deleteIdsConfirmation"] [data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:02:44]               │ debg Find.findByCssSelector('[data-test-subj="deleteIdsConfirmation"] [data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:02:44]               │ debg TestSubjects.missingOrFail(deleteIdsConfirmation)
[00:02:44]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="deleteIdsConfirmation"]') with timeout=2500
[00:02:44]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:02:54]               │ERROR browser[SEVERE] http://localhost:6181/api/alerts/alert/0898461f-2722-4ef0-a6bf-52aa215591af - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:02:54]               │ERROR browser[SEVERE] http://localhost:6181/api/alerts/alert/bc60a4f0-e893-4109-973f-0864d8fc3ca8 - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:02:54]               │ERROR browser[SEVERE] http://localhost:6181/api/alerts/alert/ccbd57b0-405b-4c28-9746-5a7b2a2d2579 - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:02:54]               │ERROR browser[SEVERE] http://localhost:6181/api/alerts/alert/58323f88-de86-4431-8323-4b53da725ef1 - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:02:54]               │ debg browser[INFO] http://localhost:6181/37138/bundles/core/core.entry.js 26:234035 "Detected an unhandled Promise rejection.
[00:02:54]               │      TypeError: Invalid attempt to spread non-iterable instance.
[00:02:54]               │      In order to be iterable, non-array objects must have a [Symbol.iterator]() method."
[00:02:54]               │ERROR browser[SEVERE] http://localhost:6181/37138/bundles/plugin/triggersActionsUi/triggersActionsUi.chunk.1.js 2:19855 Uncaught TypeError: Invalid attempt to spread non-iterable instance.
[00:02:54]               │      I…y objects must have a [Symbol.iterator]() method.
[00:03:05]               │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast)
[00:03:05]               │      Wait timed out after 20251ms
[00:03:05]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:03:25]               │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast)
[00:03:25]               │      Wait timed out after 20260ms
[00:03:26]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:03:46]               │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast)
[00:03:46]               │      Wait timed out after 20296ms
[00:03:47]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:04:07]               │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast)
[00:04:07]               │      Wait timed out after 20272ms
[00:04:07]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:04:28]               │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast)
[00:04:28]               │      Wait timed out after 20270ms
[00:04:28]               │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:04:49]               │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast)
[00:04:49]               │      Wait timed out after 20236ms
[00:04:49]               │ info Taking screenshot "/dev/shm/workspace/parallel/8/kibana/x-pack/test/functional/screenshots/failure/Actions and Triggers app alerts should delete all selection.png"
[00:04:49]               │ info Current URL is: http://localhost:6181/app/management/insightsAndAlerting/triggersActions/alerts
[00:04:49]               │ info Saving page source to: /dev/shm/workspace/parallel/8/kibana/x-pack/test/functional/failure_debug/html/Actions and Triggers app alerts should delete all selection.html
[00:04:49]               └- ✖ fail: Actions and Triggers app alerts should delete all selection
[00:04:49]               │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiToast)
[00:04:49]               │ Wait timed out after 20236ms
[00:04:49]               │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:49]               │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:04:49]               │       at onFailure (/dev/shm/workspace/parallel/8/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:04:49]               │       at retryForSuccess (/dev/shm/workspace/parallel/8/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:04:49]               │ 
[00:04:49]               │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiToast)
Wait timed out after 20236ms
    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/parallel/8/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/8/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Metrics [docs]

@kbn/optimizer bundle module count

id before after diff
visTypeTimeseries 466 467 +1

async chunks size

id before after diff
visTypeTimeseries 1.8MB 1.8MB +1.3KB

History

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

Copy link
Contributor

@alexwizp alexwizp left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

no server warnings and the UX is much better now! LGTM, thanx for this @simianhacker 👏

@simianhacker simianhacker merged commit 79a2b64 into elastic:master Oct 8, 2020
simianhacker added a commit to simianhacker/kibana that referenced this pull request Oct 8, 2020
* [TSVB] Add ignore global filters to series options

* Disable ignore global filter option for series when it's disabled in the panel options

* Moving EuiFlexGroup into SeriesConfigQueryBarWithIgnoreGlobalFilter

* Fixing translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
simianhacker added a commit that referenced this pull request Oct 8, 2020
* [TSVB] Add ignore global filters to series options

* Disable ignore global filter option for series when it's disabled in the panel options

* Moving EuiFlexGroup into SeriesConfigQueryBarWithIgnoreGlobalFilter

* Fixing translations

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Oct 12, 2020
* master: (23 commits)
  Table visualization renderer (elastic#79455)
  Migrate Jest JUnit reporter to TS (elastic#79919)
  store sorted bundleRefExportIds (elastic#80011)
  update chromedriver dependency to 86.0.0 (elastic#79972)
  [Security Solution][Case] Fix bug when changing connectors (elastic#80002)
  [kbn/std] add observable helpers to aid with rxjs 7 upgrade (elastic#79752)
  [Security Solution][Resolver] Pill numbers in compact notation (elastic#80038)
  [Logs UI] Sync logs timerange with wider Kibana (elastic#79444)
  [DOCS] Adds quick start (elastic#78822)
  [Ingest Manager]Fix ingest manager UI renaming (elastic#80036)
  [Monitoring] Fixed internal monitoring check (elastic#79241)
  [Security Solution][Exception Modal] Removes list operators in exception modal for EQL rules (elastic#79871)
  Update development documentation about REST API best practices (elastic#80009)
  [Monitoring] Improve indices loading against larger metricbeat-* indices (elastic#79190)
  [CI] Move kibana build dir outside of repo for functional tests (elastic#80018)
  [kbn/optimizer] bump low or add missing limits when updating automatically (elastic#80013)
  [Enterprise Search] Added a Credentials page to App Search (elastic#79749)
  [DOCS] Canvas refresh for 7.10 (elastic#80017)
  [TSVB] Add ignore global filters to series options (elastic#79337)
  Remove this check (elastic#79202)
  ...
@simianhacker simianhacker deleted the issue-66602-ignore-global-filters-for-series branch April 17, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TSVB] Add "ignore global filters" option to series options.
4 participants