mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
If running against a proxy with port 8000, navigation broke - this PR attempts to fix it . (#28973)
* modified to test against a proxy set up -else the navigation will break.
This commit is contained in:
parent
5d296c5d80
commit
c8c9313c31
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ export function CommonPageProvider({ getService, getPageObjects }) {
|
|||
|
||||
// Browsers don't show the ':port' if it's 80 or 443 so we have to
|
||||
// remove that part so we can get a match in the tests.
|
||||
const navSuccessful = new RegExp(appUrl.replace(':80', '').replace(':443', '')
|
||||
const navSuccessful = new RegExp(appUrl.replace(':80/', '/').replace(':443/', '/')
|
||||
+ '.{0,' + maxAdditionalLengthOnNavUrl + '}$')
|
||||
.test(currentUrl);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue