mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
FTR - Adjust check for successful navigation (#166605)
## Summary This PR adjusts the FTR check for successful navigation to also take ports on the `appUrl` into account when comparing to `currentUrl` that already had the ports removed for the comparison.
This commit is contained in:
parent
6561cd2e0c
commit
555dd7e75e
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ export class CommonPageObject extends FtrService {
|
|||
const navSuccessful = currentUrl
|
||||
.replace(':80/', '/')
|
||||
.replace(':443/', '/')
|
||||
.startsWith(appUrl);
|
||||
.startsWith(appUrl.replace(':80/', '/').replace(':443/', '/'));
|
||||
|
||||
if (!navSuccessful) {
|
||||
const msg = `App failed to load: ${appName} in ${this.defaultFindTimeout}ms appUrl=${appUrl} currentUrl=${currentUrl}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue