Skip to content

Commit

Permalink
Merge branch 'master' into card
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored Feb 14, 2020
2 parents 7aa451f + b220454 commit bac80ed
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 15 deletions.
5 changes: 0 additions & 5 deletions src/core/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ This document outlines best practices and patterns for testing Kibana Plugins.
- [Testing dependencies usages](#testing-dependencies-usages)
- [Testing components consuming the dependencies](#testing-components-consuming-the-dependencies)
- [Testing optional plugin dependencies](#testing-optional-plugin-dependencies)
- [Plugin Contracts](#plugin-contracts)

## Strategy

Expand Down Expand Up @@ -1082,7 +1081,3 @@ describe('Plugin', () => {
});
});
```
## Plugin Contracts
_How to test your plugin's exposed API_
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
expect(navLinks).to.eql(['Discover', 'Stack Management']);
});

it(`does not allow navigation to advanced settings; redirects to management home`, async () => {
// https://github.com/elastic/kibana/issues/57377
it.skip(`does not allow navigation to advanced settings; redirects to management home`, async () => {
await PageObjects.common.navigateToActualUrl('kibana', 'management/kibana/settings', {
ensureCurrentUrl: false,
shouldLoginIfPrompted: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
});
});

describe('space with Advanced Settings disabled', () => {
// https://github.com/elastic/kibana/issues/57413
describe.skip('space with Advanced Settings disabled', () => {
before(async () => {
// we need to load the following in every situation as deleting
// a space deletes all of the associated saved objects
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
await PageObjects.timePicker.setDefaultAbsoluteRange();
}

describe('security', () => {
// FLAKY: https://github.com/elastic/kibana/issues/45348
describe.skip('security', () => {
before(async () => {
await esArchiver.load('discover/feature_controls/security');
await esArchiver.loadIfNeeded('logstash_functional');
Expand Down Expand Up @@ -100,8 +101,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
await PageObjects.share.clickShareTopNavButton();
});

// https://github.com/elastic/kibana/issues/45348
it.skip('allow saving via the saved query management component popover with no query loaded', async () => {
it('allow saving via the saved query management component popover with no query loaded', async () => {
await savedQueryManagementComponent.saveNewQuery('foo', 'bar', true, false);
await savedQueryManagementComponent.savedQueryExistOrFail('foo');
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
});
});

describe('space with Index Patterns disabled', () => {
// https://github.com/elastic/kibana/issues/57601
describe.skip('space with Index Patterns disabled', () => {
before(async () => {
// we need to load the following in every situation as deleting
// a space deletes all of the associated saved objects
Expand Down
3 changes: 2 additions & 1 deletion x-pack/test/functional/apps/rollup_job/tsvb.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export default function({ getService, getPageObjects }) {
'timePicker',
]);

describe('tsvb integration', function() {
// https://github.com/elastic/kibana/issues/56816
describe.skip('tsvb integration', function() {
//Since rollups can only be created once with the same name (even if you delete it),
//we add the Date.now() to avoid name collision if you run the tests locally back to back.
const rollupJobName = `tsvb-test-rollup-job-${Date.now()}`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
const queryBar = getService('queryBar');
const savedQueryManagementComponent = getService('savedQueryManagementComponent');

describe('feature controls security', () => {
// FLAKY: https://github.com/elastic/kibana/issues/50018
describe.skip('feature controls security', () => {
before(async () => {
await esArchiver.load('visualize/default');
await esArchiver.loadIfNeeded('logstash_functional');
Expand Down Expand Up @@ -241,8 +242,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
expect(queryString).to.eql('response:200');
});

// https://github.com/elastic/kibana/issues/50018
it.skip('does not allow saving via the saved query management component popover with no query loaded', async () => {
it('does not allow saving via the saved query management component popover with no query loaded', async () => {
await savedQueryManagementComponent.saveNewQueryMissingOrFail();
});

Expand Down

0 comments on commit bac80ed

Please sign in to comment.