[Synthetics] Fix failing Synthetics Integration test (#144175)

* fix failing test

* Update x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts

* Update x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts
This commit is contained in:
Dominique Clarke 2022-10-28 19:57:47 -04:00 committed by GitHub
parent 49c153f243
commit 8119e9ad0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,11 @@ export default function (providerContext: FtrProviderContext) {
{
data_stream: {
dataset: monitorType,
elasticsearch: {
privileges: {
indices: ['auto_configure', 'create_doc', 'read'],
},
},
type: 'synthetics',
},
id: `${getSyntheticsPolicy(agentFullPolicy)?.streams?.[0]?.id}`,
@ -81,6 +86,11 @@ export default function (providerContext: FtrProviderContext) {
{
data_stream: {
dataset: 'browser.network',
elasticsearch: {
privileges: {
indices: ['auto_configure', 'create_doc', 'read'],
},
},
type: 'synthetics',
},
id: `${getSyntheticsPolicy(agentFullPolicy)?.streams?.[1]?.id}`,
@ -105,6 +115,11 @@ export default function (providerContext: FtrProviderContext) {
{
data_stream: {
dataset: 'browser.screenshot',
elasticsearch: {
privileges: {
indices: ['auto_configure', 'create_doc', 'read'],
},
},
type: 'synthetics',
},
id: `${getSyntheticsPolicy(agentFullPolicy)?.streams?.[2]?.id}`,
@ -133,11 +148,7 @@ export default function (providerContext: FtrProviderContext) {
use_output: 'default',
});
// FAILING: https://github.com/elastic/kibana/issues/144139
// FAILING: https://github.com/elastic/kibana/issues/144140
// FAILING: https://github.com/elastic/kibana/issues/144141
// FAILING: https://github.com/elastic/kibana/issues/144142
describe.skip('When on the Synthetics Integration Policy Create Page', function () {
describe('When on the Synthetics Integration Policy Create Page', function () {
skipIfNoDockerRegistry(providerContext);
const basicConfig = {
name: monitorName,