Skip to content

Commit

Permalink
Fix flaky saved objects management test #89953
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf committed Feb 2, 2021
1 parent c8a2c61 commit 1a8e158
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
it('shows all saved objects', async () => {
const objects = await PageObjects.savedObjects.getRowTitles();
expect(objects).to.eql([
'Advanced Settings [6.0.0]',
`Advanced Settings [${version}]`,
'A Dashboard',
'logstash-*',
Expand All @@ -79,10 +78,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
it('can view all saved objects in applications', async () => {
const bools = await PageObjects.savedObjects.getTableSummary();
expect(bools).to.eql([
{
title: 'Advanced Settings [6.0.0]',
canViewInApp: false,
},
{
title: `Advanced Settings [${version}]`,
canViewInApp: false,
Expand Down Expand Up @@ -187,7 +182,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
it('shows all saved objects', async () => {
const objects = await PageObjects.savedObjects.getRowTitles();
expect(objects).to.eql([
'Advanced Settings [6.0.0]',
`Advanced Settings [${version}]`,
'A Dashboard',
'logstash-*',
Expand All @@ -198,10 +192,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
it('cannot view any saved objects in applications', async () => {
const bools = await PageObjects.savedObjects.getTableSummary();
expect(bools).to.eql([
{
title: 'Advanced Settings [6.0.0]',
canViewInApp: false,
},
{
title: `Advanced Settings [${version}]`,
canViewInApp: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,3 @@
}
}
}

{
"type": "doc",
"value": {
"index": ".kibana",
"type": "doc",
"id": "config:6.0.0",
"source": {
"config": {
"buildNum": 9007199254740991,
"defaultIndex": "logstash-*"
},
"type": "config",
"updated_at": "2019-01-22T19:32:02.235Z"
}
}
}

0 comments on commit 1a8e158

Please sign in to comment.