File tree Expand file tree Collapse file tree
x-pack/solutions/observability/plugins/slo/test/scout/ui/fixtures Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 * 2.0.
66 */
77
8- import { ScoutPage , test as baseTest , ObltTestFixtures , ObltWorkerFixtures } from '@kbn/scout-oblt' ;
9- import { SLOPageObjects , extendPageObjects } from './page_objects' ;
8+ import type {
9+ ScoutPage ,
10+ ObltTestFixtures ,
11+ ObltWorkerFixtures ,
12+ ScoutTestConfig ,
13+ } from '@kbn/scout-oblt' ;
14+ import { test as baseTest } from '@kbn/scout-oblt' ;
15+ import type { SLOPageObjects } from './page_objects' ;
16+ import { extendPageObjects } from './page_objects' ;
1017
1118export interface StreamsTestFixtures extends ObltTestFixtures {
1219 pageObjects : SLOPageObjects ;
@@ -17,13 +24,15 @@ export const test = baseTest.extend<StreamsTestFixtures, ObltWorkerFixtures>({
1724 {
1825 pageObjects,
1926 page,
27+ config,
2028 } : {
2129 pageObjects : SLOPageObjects ;
2230 page : ScoutPage ;
31+ config : ScoutTestConfig ;
2332 } ,
2433 use : ( pageObjects : SLOPageObjects ) => Promise < void >
2534 ) => {
26- const extendedPageObjects = extendPageObjects ( pageObjects , page ) ;
35+ const extendedPageObjects = extendPageObjects ( pageObjects , page , config ) ;
2736 await use ( extendedPageObjects ) ;
2837 } ,
2938} ) ;
You can’t perform that action at this time.
0 commit comments