elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.8k stars 8.19k forks source link

[FAILS ON MKI] Serverless API Integration Tests - Common Group 1.x-pack/test_serverless/api_integration/test_suites/common/platform_security/response_headers·ts #188714

Closed pheyos closed 2 months ago

pheyos commented 3 months ago

The serverless response_headers API integration tests started failing consistently and across all three project types when running against MKI.

Failure message:

JestAssertionError: expect(received).toEqual(expected) // deep equality

Expected: "camera=(), display-capture=(), fullscreen=(self), geolocation=(), microphone=(), web-share=()"
Received: "camera=(), display-capture=(), fullscreen=(self), geolocation=(), microphone=(), web-share=();report-to=violations-endpoint"
    at Context. (response_headers.ts:45:44)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16) {
  matcherResult: {
    actual: 'camera=(), display-capture=(), fullscreen=(self), geolocation=(), microphone=(), web-share=();report-to=violations-endpoint',
    expected: 'camera=(), display-capture=(), fullscreen=(self), geolocation=(), microphone=(), web-share=()',
    message: 'expect(received).toEqual(expected) // deep equality\n' +
      '\n' +
      'Expected: "camera=(), display-capture=(), fullscreen=(self), geolocation=(), microphone=(), web-share=()"\n' +
      'Received: "camera=(), display-capture=(), fullscreen=(self), geolocation=(), microphone=(), web-share=();report-to=violations-endpoint"',
    name: 'toEqual',
    pass: false
  }
}

Additional information

elasticmachine commented 3 months ago

Pinging @elastic/kibana-security (Team:Security)