When the 'user' option is used to test logging-in behaviour, the original URL is overwritten with a .ft.com host (with the original in the FT-Test-Host header). This is necessary to obtain a user token.
Because of this, the test results print the .ft.com address rather than the original, as they're referencing 'testpage.url'.
This pull request is to check for the presence of the FT-Test-Host header, and, if it exists, print the original URL instead. This should remove any confusion when interpreting the test results.
When the 'user' option is used to test logging-in behaviour, the original URL is overwritten with a .ft.com host (with the original in the FT-Test-Host header). This is necessary to obtain a user token.
Because of this, the test results print the .ft.com address rather than the original, as they're referencing 'testpage.url'.
This pull request is to check for the presence of the FT-Test-Host header, and, if it exists, print the original URL instead. This should remove any confusion when interpreting the test results.