Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Jan 25, 2024
1 parent 53a4461 commit df3f27b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/apps/discover/group3/_request_counts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Side Public License, v 1.
*/

import expect from '@kbn/expect';
import expect from '@kbn/expect/expect';
import { FtrProviderContext } from '../ftr_provider_context';

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

it(`should send 2 requests (documents + chart) when toggling the chart visibility`, async () => {
await expectSearches(type, 3, async () => {
await expectSearches(type, 2, async () => {
await PageObjects.discover.toggleChartVisibility();
});
await expectSearches(type, 1, async () => {
Expand Down

0 comments on commit df3f27b

Please sign in to comment.