Skip to content

Commit

Permalink
update edit test wording for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Aug 5, 2020
1 parent 019b5f3 commit 4157177
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default function ({ getService }: FtrProviderContext) {
await ml.dataFrameAnalyticsEdit.updateAnalyticsJob();
});

it('displays details for the created job in the analytics table', async () => {
it('displays details for the edited job in the analytics table', async () => {
await ml.dataFrameAnalyticsTable.assertAnalyticsRowFields(testData.jobId, {
id: testData.jobId,
description: editedDescription,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export default function ({ getService }: FtrProviderContext) {
await ml.dataFrameAnalyticsEdit.updateAnalyticsJob();
});

it('displays details for the created job in the analytics table', async () => {
it('displays details for the edited job in the analytics table', async () => {
await ml.dataFrameAnalyticsTable.assertAnalyticsRowFields(testData.jobId, {
id: testData.jobId,
description: editedDescription,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default function ({ getService }: FtrProviderContext) {
await ml.dataFrameAnalyticsEdit.updateAnalyticsJob();
});

it('displays details for the created job in the analytics table', async () => {
it('displays details for the edited job in the analytics table', async () => {
await ml.dataFrameAnalyticsTable.assertAnalyticsRowFields(testData.jobId, {
id: testData.jobId,
description: editedDescription,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ import expect from '@kbn/expect';

import { FtrProviderContext } from '../../ftr_provider_context';
import { MlCommon } from './common';
import { MlApi } from './api';

export function MachineLearningDataFrameAnalyticsEditProvider(
{ getService }: FtrProviderContext,
mlCommon: MlCommon,
mlApi: MlApi
mlCommon: MlCommon
) {
const testSubjects = getService('testSubjects');

Expand Down
6 changes: 1 addition & 5 deletions x-pack/test/functional/services/ml/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ export function MachineLearningProvider(context: FtrProviderContext) {
common,
api
);
const dataFrameAnalyticsEdit = MachineLearningDataFrameAnalyticsEditProvider(
context,
common,
api
);
const dataFrameAnalyticsEdit = MachineLearningDataFrameAnalyticsEditProvider(context, common);
const dataFrameAnalyticsTable = MachineLearningDataFrameAnalyticsTableProvider(context);
const dataVisualizer = MachineLearningDataVisualizerProvider(context);
const dataVisualizerFileBased = MachineLearningDataVisualizerFileBasedProvider(context, common);
Expand Down

0 comments on commit 4157177

Please sign in to comment.