Skip to content

Commit

Permalink
Refresh job ist before row assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
pheyos committed Feb 3, 2020
1 parent 27a4fe2 commit e697945
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export function MachineLearningJobTableProvider({ getService }: FtrProviderConte
}

public async assertJobRowFields(jobId: string, expectedRow: object) {
await this.refreshJobList();
const rows = await this.parseJobTable();
const jobRow = rows.filter(row => row.id === jobId)[0];
expect(jobRow).to.eql(expectedRow);
Expand Down

0 comments on commit e697945

Please sign in to comment.