restore old baseline (#143512)

This commit is contained in:
Joe Reuter 2022-10-19 16:54:33 +02:00 committed by GitHub
parent 631931a66c
commit 02c1912e51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

@ -12,7 +12,7 @@ import { Page } from 'playwright';
import callsites from 'callsites';
import { ToolingLog } from '@kbn/tooling-log';
import { FtrConfigProvider } from '@kbn/test';
import { FtrProviderContext } from '@kbn/ftr-common-functional-services';
import { FtrProviderContext, KibanaServer } from '@kbn/ftr-common-functional-services';
import { Auth } from '../services/auth';
import { InputDelays } from '../services/input_delays';
@ -27,6 +27,7 @@ export interface BaseStepCtx {
log: ToolingLog;
inputDelays: InputDelays;
kbnUrl: KibanaUrl;
kibanaServer: KibanaServer;
}
export type AnyStep = Step<{}>;

View file

@ -358,6 +358,7 @@ export class JourneyFtrHarness {
})
)
),
kibanaServer: this.kibanaServer,
});
return this.#_ctx;

View file

@ -11,7 +11,8 @@ import { waitForVisualizations } from '../utils';
export const journey = new Journey({
kbnArchives: ['test/functional/fixtures/kbn_archiver/stress_test'],
esArchives: ['test/functional/fixtures/es_archiver/stress_test'],
}).step('Go to dashboard', async ({ page, kbnUrl }) => {
}).step('Go to dashboard', async ({ page, kbnUrl, kibanaServer }) => {
await kibanaServer.uiSettings.update({ 'histogram:maxBars': 100 });
await page.goto(kbnUrl.get(`/app/dashboards#/view/92b143a0-2e9c-11ed-b1b6-a504560b392c`));
await waitForVisualizations(page, 1);