Skip to content

Commit

Permalink
cr fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneseymour committed Oct 18, 2021
1 parent eed3ba2 commit 69cfacc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functional/apps/home/_sample_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const today = moment().format('MMM D, YYYY');
const from = `${today} @ 00:00:00.000`;
const to = `${today} @ 23:59:59.999`;
await PageObjects.common.time({ from, to });
await PageObjects.common.setTime({ from, to });
await PageObjects.common.navigateToApp('discover');
}
});
Expand Down
2 changes: 1 addition & 1 deletion test/functional/page_objects/common_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ export class CommonPageObject extends FtrService {
}
}

async time(time: { from: string; to: string }) {
async setTime(time: { from: string; to: string }) {
await this.kibanaServer.uiSettings.replace({ 'timepicker:timeDefaults': JSON.stringify(time) });
}

Expand Down

0 comments on commit 69cfacc

Please sign in to comment.