Skip to content

Commit

Permalink
[Discover] Update legacy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jughosta committed Sep 4, 2023
1 parent 627d191 commit a880d70
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/functional/apps/discover/classic/_doc_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const defaultSettings = {
defaultIndex: 'logstash-*',
hideAnnouncements: true,
'discover:rowHeightOption': 0, // single line
'doc_table:legacy': true,
};
const testSubjects = getService('testSubjects');

Expand Down Expand Up @@ -76,7 +76,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('classic table in window 900x700', async function () {
before(async () => {
await kibanaServer.uiSettings.update({ 'doc_table:legacy': true });
await browser.setWindowSize(900, 700);
await PageObjects.common.navigateToApp('discover');
await PageObjects.discover.waitUntilSearchingHasFinished();
Expand All @@ -96,7 +95,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('classic table in window 600x700', async function () {
before(async () => {
await kibanaServer.uiSettings.update({ 'doc_table:legacy': true });
await browser.setWindowSize(600, 700);
await PageObjects.common.navigateToApp('discover');
await PageObjects.discover.waitUntilSearchingHasFinished();
Expand All @@ -116,7 +114,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('legacy', async function () {
before(async () => {
await kibanaServer.uiSettings.update({ 'doc_table:legacy': true });
await PageObjects.common.navigateToApp('discover');
await PageObjects.discover.waitUntilSearchingHasFinished();
});
Expand Down

0 comments on commit a880d70

Please sign in to comment.