Skip to content

Commit

Permalink
Respond to review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wylieconlon committed Mar 3, 2021
1 parent e665736 commit e6e3dca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test/functional/apps/visualize/_histogram_request_start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
it('should use provided value when number of generated buckets is less than histogram:maxBars', async function () {
log.debug('Field = machine.ram_range');
await PageObjects.visEditor.selectField('machine.ram_range');
await PageObjects.common.sleep(1000); // fix this
await retry.waitFor('interval to be set', async () => {
return await PageObjects.visEditor.getNumericInterval();
});
expect(await PageObjects.visEditor.getNumericInterval()).to.eql(100);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ export const rangeOperation: OperationDefinition<RangeIndexPatternColumn, 'field
);
},
onFieldChange: (oldColumn, field) => {
// TODO: Handle switch with number_range fields
return {
...oldColumn,
label: field.name,
Expand Down

0 comments on commit e6e3dca

Please sign in to comment.