mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
If running against a proxy with port 8000, navigation broke - this PR attempts to fix it . (#28973) (#29031)
* modified to test against a proxy set up -else the navigation will break.
This commit is contained in:
parent
95986f1630
commit
c4b102640c
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,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