-
Bug
-
Resolution: Fixed
-
High
-
5.8
-
None
It seems that when instances are spun up during webdriver test runs, the base URL of the instance is set to http://localhost:1990/confluence, while the webdriver tests access the instance via http://hostname:8080/confluence. This means that when the webdriver test follows an absolute URL, it moves to a different host, resulting in the cookies being lost and the driver being logged out.
This occurs when trying to upgrade plugins to depend on Confluence 5.8 and thus Java 1.8. The errors have been seen in the following plugins, although there may be more:
- confluence-inline-tasks: https://stash.atlassian.com/projects/CONF/repos/confluence-inline-tasks/pull-requests/155/overview
- confluence-knowledge-base: https://stash.atlassian.com/projects/SD/repos/confluence-knowledge-base/pull-requests/7/diff
- confluence-space-blueprints: https://bitbucket.org/atlassian/confluence-space-blueprints/pull-request/15/confdev-34092_test_data-bump-confluence
This could be related to https://extranet.atlassian.com/display/DEV/2014/07/17/Java8+and+the+local+hostname
EDIT
Remaining work is to update plugins
- confluence-inline-tasks
- confluence-knowledge-base
- confluence-space-blueprints
- to use connie 5.8.5 once it's released
- mentioned in
-
Page Failed to load
fixed in 5.8.6. verified that switching to connie data of that version doesn't break tests based on baseur