File tree Expand file tree Collapse file tree
x-pack/test/functional/services/transform_ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { FtrProviderContext } from '../../ftr_provider_context';
88
99export function TransformSourceSelectionProvider ( { getService } : FtrProviderContext ) {
1010 const testSubjects = getService ( 'testSubjects' ) ;
11+ const retry = getService ( 'retry' ) ;
1112
1213 return {
1314 async assertSourceListContainsEntry ( sourceName : string ) {
@@ -23,8 +24,10 @@ export function TransformSourceSelectionProvider({ getService }: FtrProviderCont
2324
2425 async selectSource ( sourceName : string ) {
2526 await this . filterSourceSelection ( sourceName ) ;
26- await testSubjects . clickWhenNotDisabled ( `savedObjectTitle${ sourceName } ` ) ;
27- await testSubjects . existOrFail ( 'transformPageCreateTransform' ) ;
27+ await retry . tryForTime ( 30 * 1000 , async ( ) => {
28+ await testSubjects . clickWhenNotDisabled ( `savedObjectTitle${ sourceName } ` ) ;
29+ await testSubjects . existOrFail ( 'transformPageCreateTransform' , { timeout : 10 * 1000 } ) ;
30+ } ) ;
2831 } ,
2932 } ;
3033}
You can’t perform that action at this time.
0 commit comments