mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[EDR Workflows] Fix Insights.cy.ts test (#211904)
Closes https://github.com/elastic/kibana/issues/211895 Include `Elastic-Inference-Rainbow-Sprinkles` introduced with https://github.com/elastic/kibana/pull/210953 as an exempt from delete connectors task.
This commit is contained in:
parent
30c4275462
commit
b12b089688
2 changed files with 4 additions and 3 deletions
|
@ -39,8 +39,7 @@ const {
|
|||
validateErrorToastContent,
|
||||
} = workflowInsightsSelectors;
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/211894
|
||||
describe.skip(
|
||||
describe(
|
||||
'Workflow Insights',
|
||||
{
|
||||
tags: [
|
||||
|
|
|
@ -17,6 +17,8 @@ import {
|
|||
} from '../../../../common/endpoint/constants';
|
||||
|
||||
const INTERNAL_CLOUD_CONNECTORS = ['Elastic-Cloud-SMTP'];
|
||||
const INTERNAL_INFERENCE_CONNECTORS = ['Elastic-Inference-Rainbow-Sprinkles'];
|
||||
const INTERNAL_CONNECTORS = [...INTERNAL_CLOUD_CONNECTORS, ...INTERNAL_INFERENCE_CONNECTORS];
|
||||
|
||||
export const createBedrockAIConnector = (connectorName?: string) =>
|
||||
request<ConnectorResponse>({
|
||||
|
@ -48,7 +50,7 @@ export const deleteConnectors = () => {
|
|||
return connector.id;
|
||||
});
|
||||
ids.forEach((id) => {
|
||||
if (!INTERNAL_CLOUD_CONNECTORS.includes(id)) {
|
||||
if (!INTERNAL_CONNECTORS.includes(id)) {
|
||||
request({
|
||||
method: 'DELETE',
|
||||
url: `api/actions/connector/${id}`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue