Skip to content

Commit

Permalink
[ML] Update callout assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Mar 17, 2021
1 parent 8d6bee6 commit 65170ec
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,12 @@ export default function ({ getService }: FtrProviderContext) {

await ml.testExecution.logTestStep('checks validation callouts exist');
await ml.dataFrameAnalyticsCreation.assertValidationCalloutsExists();
await ml.dataFrameAnalyticsCreation.assertAllValidationCalloutsPresent(3);
// Expect the follow callouts:
// - ✓ Dependent variable
// - ✓ Training percent
// - ✓ Top classes
// - ⚠ Analysis fields
await ml.dataFrameAnalyticsCreation.assertAllValidationCalloutsPresent(4);

await ml.testExecution.logTestStep('continues to the create step');
await ml.dataFrameAnalyticsCreation.continueToCreateStep();
Expand Down

0 comments on commit 65170ec

Please sign in to comment.