@@ -260,63 +260,54 @@ export default function ({ getService }: FtrProviderContext) {
260260 await transform . testResources . deleteIndexPatternByTitle ( testData . destinationIndex ) ;
261261 } ) ;
262262
263- it ( 'loads the home page' , async ( ) => {
263+ it ( 'loads the wizard for the source data' , async ( ) => {
264+ await transform . testExecution . logTestStep ( 'loads the home page' ) ;
264265 await transform . navigation . navigateTo ( ) ;
265266 await transform . management . assertTransformListPageExists ( ) ;
266- } ) ;
267267
268- it ( 'displays the stats bar' , async ( ) => {
268+ await transform . testExecution . logTestStep ( 'displays the stats bar' ) ;
269269 await transform . management . assertTransformStatsBarExists ( ) ;
270- } ) ;
271270
272- it ( 'loads the source selection modal' , async ( ) => {
271+ await transform . testExecution . logTestStep ( 'loads the source selection modal' ) ;
273272 await transform . management . startTransformCreation ( ) ;
274- } ) ;
275273
276- it ( 'selects the source data' , async ( ) => {
274+ await transform . testExecution . logTestStep ( 'selects the source data' ) ;
277275 await transform . sourceSelection . selectSource ( testData . source ) ;
278276 } ) ;
279277
280- it ( 'displays the define pivot step' , async ( ) => {
278+ it ( 'navigates through the wizard and sets all needed fields' , async ( ) => {
279+ await transform . testExecution . logTestStep ( 'displays the define pivot step' ) ;
281280 await transform . wizard . assertDefineStepActive ( ) ;
282- } ) ;
283281
284- it ( 'loads the index preview' , async ( ) => {
282+ await transform . testExecution . logTestStep ( 'loads the index preview' ) ;
285283 await transform . wizard . assertIndexPreviewLoaded ( ) ;
286- } ) ;
287284
288- it ( 'shows the index preview' , async ( ) => {
285+ await transform . testExecution . logTestStep ( 'shows the index preview' ) ;
289286 await transform . wizard . assertIndexPreview (
290287 testData . expected . indexPreview . columns ,
291288 testData . expected . indexPreview . rows
292289 ) ;
293- } ) ;
294290
295- it ( 'displays an empty pivot preview' , async ( ) => {
291+ await transform . testExecution . logTestStep ( 'displays an empty pivot preview' ) ;
296292 await transform . wizard . assertPivotPreviewEmpty ( ) ;
297- } ) ;
298293
299- it ( 'displays the query input' , async ( ) => {
294+ await transform . testExecution . logTestStep ( 'displays the query input' ) ;
300295 await transform . wizard . assertQueryInputExists ( ) ;
301296 await transform . wizard . assertQueryValue ( '' ) ;
302- } ) ;
303297
304- it ( 'displays the advanced query editor switch' , async ( ) => {
298+ await transform . testExecution . logTestStep ( 'displays the advanced query editor switch' ) ;
305299 await transform . wizard . assertAdvancedQueryEditorSwitchExists ( ) ;
306300 await transform . wizard . assertAdvancedQueryEditorSwitchCheckState ( false ) ;
307- } ) ;
308301
309- it ( 'enables the index preview histogram charts' , async ( ) => {
302+ await transform . testExecution . logTestStep ( 'enables the index preview histogram charts' ) ;
310303 await transform . wizard . enableIndexPreviewHistogramCharts ( ) ;
311- } ) ;
312304
313- it ( 'displays the index preview histogram charts' , async ( ) => {
305+ await transform . testExecution . logTestStep ( 'displays the index preview histogram charts' ) ;
314306 await transform . wizard . assertIndexPreviewHistogramCharts (
315307 testData . expected . histogramCharts
316308 ) ;
317- } ) ;
318309
319- it ( 'adds the group by entries' , async ( ) => {
310+ await transform . testExecution . logTestStep ( 'adds the group by entries' ) ;
320311 for ( const [ index , entry ] of testData . groupByEntries . entries ( ) ) {
321312 await transform . wizard . assertGroupByInputExists ( ) ;
322313 await transform . wizard . assertGroupByInputValue ( [ ] ) ;
@@ -327,112 +318,97 @@ export default function ({ getService }: FtrProviderContext) {
327318 entry . intervalLabel
328319 ) ;
329320 }
330- } ) ;
331321
332- it ( 'adds the aggregation entries' , async ( ) => {
322+ await transform . testExecution . logTestStep ( 'adds the aggregation entries' ) ;
333323 await transform . wizard . addAggregationEntries ( testData . aggregationEntries ) ;
334- } ) ;
335324
336- it ( 'displays the advanced pivot editor switch' , async ( ) => {
325+ await transform . testExecution . logTestStep ( 'displays the advanced pivot editor switch' ) ;
337326 await transform . wizard . assertAdvancedPivotEditorSwitchExists ( ) ;
338327 await transform . wizard . assertAdvancedPivotEditorSwitchCheckState ( false ) ;
339- } ) ;
340328
341- it ( 'displays the advanced configuration' , async ( ) => {
329+ await transform . testExecution . logTestStep ( 'displays the advanced configuration' ) ;
342330 await transform . wizard . enabledAdvancedPivotEditor ( ) ;
343331 await transform . wizard . assertAdvancedPivotEditorContent (
344332 testData . expected . pivotAdvancedEditorValueArr
345333 ) ;
346- } ) ;
347334
348- it ( 'loads the pivot preview' , async ( ) => {
335+ await transform . testExecution . logTestStep ( 'loads the pivot preview' ) ;
349336 await transform . wizard . assertPivotPreviewLoaded ( ) ;
350- } ) ;
351337
352- it ( 'shows the pivot preview' , async ( ) => {
338+ await transform . testExecution . logTestStep ( 'shows the pivot preview' ) ;
353339 await transform . wizard . assertPivotPreviewChartHistogramButtonMissing ( ) ;
354340 await transform . wizard . assertPivotPreviewColumnValues (
355341 testData . expected . pivotPreview . column ,
356342 testData . expected . pivotPreview . values
357343 ) ;
358- } ) ;
359344
360- it ( 'loads the details step' , async ( ) => {
345+ await transform . testExecution . logTestStep ( 'loads the details step' ) ;
361346 await transform . wizard . advanceToDetailsStep ( ) ;
362- } ) ;
363347
364- it ( 'inputs the transform id' , async ( ) => {
348+ await transform . testExecution . logTestStep ( 'inputs the transform id' ) ;
365349 await transform . wizard . assertTransformIdInputExists ( ) ;
366350 await transform . wizard . assertTransformIdValue ( '' ) ;
367351 await transform . wizard . setTransformId ( testData . transformId ) ;
368- } ) ;
369352
370- it ( 'inputs the transform description' , async ( ) => {
353+ await transform . testExecution . logTestStep ( 'inputs the transform description' ) ;
371354 await transform . wizard . assertTransformDescriptionInputExists ( ) ;
372355 await transform . wizard . assertTransformDescriptionValue ( '' ) ;
373356 await transform . wizard . setTransformDescription ( testData . transformDescription ) ;
374- } ) ;
375357
376- it ( 'inputs the destination index' , async ( ) => {
358+ await transform . testExecution . logTestStep ( 'inputs the destination index' ) ;
377359 await transform . wizard . assertDestinationIndexInputExists ( ) ;
378360 await transform . wizard . assertDestinationIndexValue ( '' ) ;
379361 await transform . wizard . setDestinationIndex ( testData . destinationIndex ) ;
380- } ) ;
381362
382- it ( 'displays the create index pattern switch' , async ( ) => {
363+ await transform . testExecution . logTestStep ( 'displays the create index pattern switch' ) ;
383364 await transform . wizard . assertCreateIndexPatternSwitchExists ( ) ;
384365 await transform . wizard . assertCreateIndexPatternSwitchCheckState ( true ) ;
385- } ) ;
386366
387- it ( 'displays the continuous mode switch' , async ( ) => {
367+ await transform . testExecution . logTestStep ( 'displays the continuous mode switch' ) ;
388368 await transform . wizard . assertContinuousModeSwitchExists ( ) ;
389369 await transform . wizard . assertContinuousModeSwitchCheckState ( false ) ;
390- } ) ;
391370
392- it ( 'loads the create step' , async ( ) => {
371+ await transform . testExecution . logTestStep ( 'loads the create step' ) ;
393372 await transform . wizard . advanceToCreateStep ( ) ;
394- } ) ;
395373
396- it ( 'displays the create and start button' , async ( ) => {
374+ await transform . testExecution . logTestStep ( 'displays the create and start button' ) ;
397375 await transform . wizard . assertCreateAndStartButtonExists ( ) ;
398376 await transform . wizard . assertCreateAndStartButtonEnabled ( true ) ;
399- } ) ;
400377
401- it ( 'displays the create button' , async ( ) => {
378+ await transform . testExecution . logTestStep ( 'displays the create button' ) ;
402379 await transform . wizard . assertCreateButtonExists ( ) ;
403380 await transform . wizard . assertCreateButtonEnabled ( true ) ;
404- } ) ;
405381
406- it ( 'displays the copy to clipboard button' , async ( ) => {
382+ await transform . testExecution . logTestStep ( 'displays the copy to clipboard button' ) ;
407383 await transform . wizard . assertCopyToClipboardButtonExists ( ) ;
408384 await transform . wizard . assertCopyToClipboardButtonEnabled ( true ) ;
409385 } ) ;
410386
411- it ( 'creates the transform' , async ( ) => {
387+ it ( 'runs the transform and displays it correctly in the job list' , async ( ) => {
388+ await transform . testExecution . logTestStep ( 'creates the transform' ) ;
412389 await transform . wizard . createTransform ( ) ;
413- } ) ;
414390
415- it ( 'starts the transform and finishes processing' , async ( ) => {
391+ await transform . testExecution . logTestStep ( 'starts the transform and finishes processing' ) ;
416392 await transform . wizard . startTransform ( ) ;
417393 await transform . wizard . waitForProgressBarComplete ( ) ;
418- } ) ;
419394
420- it ( 'returns to the management page' , async ( ) => {
395+ await transform . testExecution . logTestStep ( 'returns to the management page' ) ;
421396 await transform . wizard . returnToManagement ( ) ;
422- } ) ;
423397
424- it ( 'displays the transforms table' , async ( ) => {
398+ await transform . testExecution . logTestStep ( 'displays the transforms table' ) ;
425399 await transform . management . assertTransformsTableExists ( ) ;
426- } ) ;
427400
428- it ( 'displays the created transform in the transform list' , async ( ) => {
401+ await transform . testExecution . logTestStep (
402+ 'displays the created transform in the transform list'
403+ ) ;
429404 await transform . table . refreshTransformList ( ) ;
430405 await transform . table . filterWithSearchString ( testData . transformId ) ;
431406 const rows = await transform . table . parseTransformTable ( ) ;
432407 expect ( rows . filter ( ( row ) => row . id === testData . transformId ) ) . to . have . length ( 1 ) ;
433- } ) ;
434408
435- it ( 'transform creation displays details for the created transform in the transform list' , async ( ) => {
409+ await transform . testExecution . logTestStep (
410+ 'transform creation displays details for the created transform in the transform list'
411+ ) ;
436412 await transform . table . assertTransformRowFields ( testData . transformId , {
437413 id : testData . transformId ,
438414 description : testData . transformDescription ,
0 commit comments