[Synthetics] unskip flaky test (#147859)

## Summary

Resolves https://github.com/elastic/kibana/issues/146014

Unskip flaky test.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1664
This commit is contained in:
Dominique Clarke 2022-12-21 10:28:00 -05:00 committed by GitHub
parent b184f0615e
commit b3d7ecb68d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View file

@ -17,8 +17,7 @@ import { FtrProviderContext } from '../../ftr_provider_context';
import { getFixtureJson } from '../uptime/rest/helper/get_fixture_json';
export default function ({ getService }: FtrProviderContext) {
// Failing: See https://github.com/elastic/kibana/issues/146014
describe.skip('GetMonitorsOverview', function () {
describe('GetMonitorsOverview', function () {
this.tags('skipCloud');
const supertest = getService('supertest');
@ -170,9 +169,9 @@ export default function ({ getService }: FtrProviderContext) {
);
savedMonitors = savedResponse;
const apiResponse = await supertest.get(
`/s/${SPACE_ID}${SYNTHETICS_API_URLS.SYNTHETICS_OVERVIEW}`
);
const apiResponse = await supertest
.get(`/s/${SPACE_ID}${SYNTHETICS_API_URLS.SYNTHETICS_OVERVIEW}`)
.query({ sortField: 'status' });
expect(apiResponse.body.monitors).eql([
{
id: savedMonitors[0].attributes[ConfigKey.MONITOR_QUERY_ID],
@ -180,7 +179,7 @@ export default function ({ getService }: FtrProviderContext) {
name: 'test monitor a',
location: {
id: 'eu-west-01',
label: 'Europe West',
label: 'Europe East',
geo: {
lat: 33.2343132435,
lon: 73.2342343434,
@ -212,7 +211,7 @@ export default function ({ getService }: FtrProviderContext) {
name: 'test monitor b',
location: {
id: 'eu-west-01',
label: 'Europe West',
label: 'Europe East',
geo: {
lat: 33.2343132435,
lon: 73.2342343434,

View file

@ -56,7 +56,7 @@
"locations": [
{
"id": "eu-west-01",
"label": "Europe West",
"label": "Europe East",
"geo": {
"lat": 33.2343132435,
"lon": 73.2342343434