mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
parent
ead2468742
commit
5e38b2dfb6
1 changed files with 2 additions and 1 deletions
|
@ -85,10 +85,11 @@ export function CommonPageProvider({ getService, getPageObjects }) {
|
|||
// we onlt use the pathname from the appConfig and use the subUrl as the hash
|
||||
const appConfig = {
|
||||
pathname: `${basePath}${config.get(['apps', appName]).pathname}`,
|
||||
hash: `${appName}/${subUrl}`,
|
||||
hash: `/${appName}/${subUrl}`,
|
||||
};
|
||||
|
||||
const appUrl = getUrl.noAuth(config.get('servers.kibana'), appConfig);
|
||||
|
||||
await retry.try(async () => {
|
||||
await CommonPage.navigateToUrlAndHandleAlert(appUrl, shouldAcceptAlert);
|
||||
const currentUrl = shouldLoginIfPrompted ? await this.loginIfPrompted(appUrl) : await browser.getCurrentUrl();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue