[Uptime] Temporarily skip flakey tests (#54675)

* [Uptime] Temporarily skip flakey tests

* Fix further flakey tests due to hardcoding times + using snapshots
This commit is contained in:
Andrew Cholakian 2020-01-13 21:05:07 -06:00 committed by Brian Seeders
parent e5c17fb0cd
commit 72dd68e3b4
3 changed files with 6 additions and 3 deletions

View file

@ -10,6 +10,7 @@ import { renderWithIntl } from 'test_utils/enzyme_helpers';
import { MonitorLocation } from '../../../../../common/runtime_types/monitor';
import { LocationStatusTags } from '../';
// These tests use absolute time
// Failing: https://github.com/elastic/kibana/issues/54672
describe.skip('StatusByLocation component', () => {
let monitorLocations: MonitorLocation[];

View file

@ -9,7 +9,7 @@ import { renderWithIntl } from 'test_utils/enzyme_helpers';
import { MonitorLocation } from '../../../../../common/runtime_types';
import { StatusByLocations } from '../';
describe('StatusByLocation component', () => {
describe.skip('StatusByLocation component', () => {
let monitorLocations: MonitorLocation[];
it('renders when up in all locations', () => {

View file

@ -50,7 +50,8 @@ export default ({ getPageObjects }: FtrProviderContext) => {
]);
});
it('pagination is cleared when filter criteria changes', async () => {
// flakey see https://github.com/elastic/kibana/issues/54527
it.skip('pagination is cleared when filter criteria changes', async () => {
await pageObjects.uptime.goToUptimePageAndSetDateRange(DEFAULT_DATE_START, DEFAULT_DATE_END);
await pageObjects.uptime.changePage('next');
// there should now be pagination data in the URL
@ -86,7 +87,8 @@ export default ({ getPageObjects }: FtrProviderContext) => {
]);
});
describe('snapshot counts', () => {
// Flakey, see https://github.com/elastic/kibana/issues/54541
describe.skip('snapshot counts', () => {
it('updates the snapshot count when status filter is set to down', async () => {
await pageObjects.uptime.goToUptimePageAndSetDateRange(
DEFAULT_DATE_START,