Skip to content

Commit

Permalink
More test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
qn895 committed Nov 6, 2024
1 parent 62c5496 commit 34379b7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/functional/apps/discover/group6/_field_stats_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

it('should not show Field Statistics data in ES|QL mode', async () => {
await discover.selectTextBaseLang();
await header.waitUntilLoadingHasFinished();
await discover.waitUntilSearchingHasFinished();

await testSubjects.missingOrFail('dscViewModeFieldStatsButton');
await header.waitUntilLoadingHasFinished();
});
});
});
Expand Down
1 change: 1 addition & 0 deletions test/functional/apps/discover/group6/_view_mode_toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await discover.selectTextBaseLang();

await testSubjects.missingOrFail('dscViewModeToggle');
await testSubjects.existOrFail('discoverQueryTotalHits');

if (!useLegacyTable) {
await testSubjects.existOrFail('unifiedDataTableToolbar');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const FieldStatsUnavailableMessage = ({
title = FIELD_STATS_UNAVAILABLE_TITLE,
}: {
id?: string;
content: string;
title?: string;
}) => {
return (
Expand Down

0 comments on commit 34379b7

Please sign in to comment.