Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlemeshko committed Nov 15, 2019
1 parent 8372210 commit a545eb6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions test/functional/page_objects/common_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export function CommonPageProvider({ getService, getPageObjects }: FtrProviderCo
*/
public async navigateToUrl(
appName: string,
subUrl: string,
subUrl?: string,
{
basePath = '',
ensureCurrentUrl = true,
Expand Down Expand Up @@ -162,7 +162,7 @@ export function CommonPageProvider({ getService, getPageObjects }: FtrProviderCo
*/
async navigateToActualUrl(
appName: string,
hash: string,
hash?: string,
{
basePath = '',
ensureCurrentUrl = true,
Expand Down Expand Up @@ -209,7 +209,7 @@ export function CommonPageProvider({ getService, getPageObjects }: FtrProviderCo
await retry.tryForTime(defaultTryTimeout * 3, async () => {
let lastUrl = await retry.try(async () => {
// since we're using hash URLs, always reload first to force re-render
const defaultIndex = await kibanaServer.uiSettings.getDefaultIndex();
await kibanaServer.uiSettings.getDefaultIndex();
await CommonPage.navigateToUrlAndHandleAlert(appUrl, shouldAcceptAlert);
await this.sleep(700);
log.debug('returned from get, calling refresh');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
it(`allows a workpad to be created`, async () => {
await PageObjects.common.navigateToActualUrl('canvas', 'workpad/create', {
ensureCurrentUrl: true,
showLoginIfPrompted: false,
shouldLoginIfPrompted: false,
});

await PageObjects.canvas.expectAddElementButton();
Expand All @@ -98,7 +98,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
'workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31',
{
ensureCurrentUrl: true,
showLoginIfPrompted: false,
shouldLoginIfPrompted: false,
}
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
'kibana',
'/management/kibana/objects/savedVisualizations/75c3e060-1e7c-11e9-8488-65449e65d0ed',
{
loginIfPrompted: false,
shouldLoginIfPrompted: false,
}
);
});
Expand Down Expand Up @@ -233,7 +233,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
'kibana',
'/management/kibana/objects/savedVisualizations/75c3e060-1e7c-11e9-8488-65449e65d0ed',
{
loginIfPrompted: false,
shouldLoginIfPrompted: false,
}
);
await testSubjects.existOrFail('savedObjectsEdit');
Expand Down Expand Up @@ -316,7 +316,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
'kibana',
'/management/kibana/objects/savedVisualizations/75c3e060-1e7c-11e9-8488-65449e65d0ed',
{
loginIfPrompted: false,
shouldLoginIfPrompted: false,
ensureCurrentUrl: false,
}
);
Expand Down

0 comments on commit a545eb6

Please sign in to comment.