Skip to content

Commit

Permalink
Revert "Give a bit more time for machines on CI"
Browse files Browse the repository at this point in the history
This reverts commit d11228d.
  • Loading branch information
jloleysens committed Jan 30, 2020
1 parent 2fd9891 commit 7736fa5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x-pack/test/functional/apps/watcher/watcher_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ export default function({ getService, getPageObjects }) {
const esSupertest = getService('esSupertest');
const PageObjects = getPageObjects(['security', 'common', 'header', 'settings', 'watcher']);

describe('watcher_test', function() {
// Still flaky test :c
// https://github.com/elastic/kibana/pull/56361
// https://github.com/elastic/kibana/pull/56304
describe.skip('watcher_test', function() {
before('initialize tests', async () => {
// There may be system watches if monitoring was previously enabled
// These cannot be deleted via the UI, so we need to delete via the API
Expand All @@ -35,15 +38,12 @@ export default function({ getService, getPageObjects }) {
await browser.setWindowSize(1600, 1000);
// TODO: Remove the retry.try wrapper once https://github.com/elastic/kibana/issues/55985 is resolved
retry.try(async () => {
// Try to give the license time to come through.
await PageObjects.common.sleep(2000);
await PageObjects.common.navigateToApp('watcher');
await testSubjects.find('createWatchButton');
});
});

it('create and save a new watch', async () => {
await PageObjects.common.sleep(500);
await PageObjects.watcher.createWatch(watchID, watchName);
const watch = await PageObjects.watcher.getWatch(watchID);
expect(watch.id).to.be(watchID);
Expand Down

0 comments on commit 7736fa5

Please sign in to comment.