File tree Expand file tree Collapse file tree
x-pack/test/functional/services/ml Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,14 +46,16 @@ export function MachineLearningDataFrameAnalyticsCreationProvider(
4646 } ,
4747
4848 async assertJobTypeSelection ( expectedSelection : string ) {
49- const actualSelection = await testSubjects . getAttribute (
50- 'mlAnalyticsCreateJobWizardJobTypeSelect' ,
51- 'value'
52- ) ;
53- expect ( actualSelection ) . to . eql (
54- expectedSelection ,
55- `Job type selection should be '${ expectedSelection } ' (got '${ actualSelection } ')`
56- ) ;
49+ await retry . tryForTime ( 5000 , async ( ) => {
50+ const actualSelection = await testSubjects . getAttribute (
51+ 'mlAnalyticsCreateJobWizardJobTypeSelect' ,
52+ 'value'
53+ ) ;
54+ expect ( actualSelection ) . to . eql (
55+ expectedSelection ,
56+ `Job type selection should be '${ expectedSelection } ' (got '${ actualSelection } ')`
57+ ) ;
58+ } ) ;
5759 } ,
5860
5961 async selectJobType ( jobType : string ) {
You can’t perform that action at this time.
0 commit comments