Skip to content

Commit

Permalink
[ML] Rename job references to transform.
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Jun 26, 2020
1 parent a2613ee commit 0019328
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ export default function ({ getService }: FtrProviderContext) {
expect(rows.filter((row) => row.id === testData.transformId)).to.have.length(1);
});

it('job creation displays details for the created job in the job list', async () => {
it('transform creation displays details for the created transform in the transform list', async () => {
await transform.table.assertTransformRowFields(testData.transformId, {
id: testData.transformId,
description: testData.transformDescription,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default function ({ getService }: FtrProviderContext) {
expect(rows.filter((row) => row.id === testData.transformId)).to.have.length(1);
});

it('job creation displays details for the created job in the job list', async () => {
it('transform creation displays details for the created transform in the transform list', async () => {
await transform.table.assertTransformRowFields(testData.transformId, {
id: testData.transformId,
description: testData.transformDescription,
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/functional/apps/transform/editing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default function ({ getService }: FtrProviderContext) {
expect(rows.filter((row) => row.id === transformConfig.id)).to.have.length(1);
});

it('should display the updated job in the job list row cells', async () => {
it('should display the updated transform in the transform list row cells', async () => {
await transform.table.assertTransformRowFields(transformConfig.id, {
id: transformConfig.id,
description: testData.transformDescription,
Expand Down
4 changes: 2 additions & 2 deletions x-pack/test/functional/services/transform/transform_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ export function TransformTableProvider({ getService }: FtrProviderContext) {
});
}

public async assertTransformRowActions(isJobRunning = false) {
public async assertTransformRowActions(isTransformRunning = false) {
await testSubjects.click('euiCollapsedItemActionsButton');

await testSubjects.existOrFail('transformActionClone');
await testSubjects.existOrFail('transformActionDelete');
await testSubjects.existOrFail('transformActionEdit');

if (isJobRunning) {
if (isTransformRunning) {
await testSubjects.missingOrFail('transformActionStart');
await testSubjects.existOrFail('transformActionStop');
} else {
Expand Down

0 comments on commit 0019328

Please sign in to comment.