Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Data Explorer] Delete legacy discover selenium tests #5088

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ export const DataGridTable = ({
sorting={sorting}
toolbarVisibility={isToolbarVisible ? toolbarVisibility : false}
rowHeightsOptions={rowHeightsOptions}
data-description={'searchDescription'}
data-shared-item
data-title={'searchTitle'}
/>
),
[
Expand Down
1 change: 0 additions & 1 deletion test/functional/apps/context/_date_nanos.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export default function ({ getService, getPageObjects }) {
await opensearchDashboardsServer.uiSettings.update({
'context:defaultSize': `${TEST_DEFAULT_CONTEXT_SIZE}`,
'context:step': `${TEST_STEP_SIZE}`,
'discover:v2': false,
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export default function ({ getService, getPageObjects }) {
await opensearchDashboardsServer.uiSettings.update({
'context:defaultSize': `${TEST_DEFAULT_CONTEXT_SIZE}`,
'context:step': `${TEST_STEP_SIZE}`,
'discover:v2': false,
});
});

Expand Down
4 changes: 0 additions & 4 deletions test/functional/apps/context/_filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,12 @@ export default function ({ getService, getPageObjects }) {
const docTable = getService('docTable');
const filterBar = getService('filterBar');
const retry = getService('retry');
const opensearchDashboardsServer = getService('opensearchDashboardsServer');
const browser = getService('browser');

const PageObjects = getPageObjects(['common', 'context']);

describe('context filters', function contextSize() {
beforeEach(async function () {
await opensearchDashboardsServer.uiSettings.replace({
'discover:v2': false,
});
await browser.refresh();
await PageObjects.context.navigateTo(TEST_INDEX_PATTERN, TEST_ANCHOR_ID, {
columns: TEST_COLUMN_NAMES,
Expand Down
1 change: 0 additions & 1 deletion test/functional/apps/context/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export default function ({ getService, getPageObjects, loadTestFile }) {
await opensearchArchiver.load('visualize');
await opensearchDashboardsServer.uiSettings.replace({
defaultIndex: 'logstash-*',
'discover:v2': false,
});
await PageObjects.common.navigateToApp('discover');
});
Expand Down
5 changes: 0 additions & 5 deletions test/functional/apps/dashboard/dashboard_state.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,11 @@ export default function ({ getService, getPageObjects }) {
const retry = getService('retry');
const dashboardPanelActions = getService('dashboardPanelActions');
const dashboardAddPanel = getService('dashboardAddPanel');
const opensearchDashboardsServer = getService('opensearchDashboardsServer');

describe('dashboard state', function describeIndexTests() {
before(async function () {
await PageObjects.dashboard.initTests();
await PageObjects.dashboard.preserveCrossAppState();

await opensearchDashboardsServer.uiSettings.replace({
'discover:v2': false,
});
await browser.refresh();
});

Expand Down
4 changes: 0 additions & 4 deletions test/functional/apps/dashboard/panel_context_menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const dashboardPanelActions = getService('dashboardPanelActions');
const dashboardAddPanel = getService('dashboardAddPanel');
const dashboardVisualizations = getService('dashboardVisualizations');
const opensearchDashboardsServer = getService('opensearchDashboardsServer');
const listingTable = getService('listingTable');
const PageObjects = getPageObjects([
'dashboard',
Expand Down Expand Up @@ -126,9 +125,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const searchName = 'my search';

before(async () => {
await opensearchDashboardsServer.uiSettings.replace({
'discover:v2': false,
});
await browser.refresh();
await PageObjects.header.clickDiscover();
await PageObjects.discover.clickNewSearchButton();
Expand Down
69 changes: 0 additions & 69 deletions test/functional/apps/discover/_date_nanos.js

This file was deleted.

72 changes: 0 additions & 72 deletions test/functional/apps/discover/_date_nanos_mixed.js

This file was deleted.

Loading
Loading