From 9808b0873f7805b77d95a02289bf15ebbff9fcb1 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 1 Feb 2016 12:43:22 +0100 Subject: [PATCH] Set correct host url. --- test/browser/aaa_getting_started_test.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/browser/aaa_getting_started_test.rb b/test/browser/aaa_getting_started_test.rb index 3367acd4f..1d06695d1 100644 --- a/test/browser/aaa_getting_started_test.rb +++ b/test/browser/aaa_getting_started_test.rb @@ -12,6 +12,10 @@ class AaaGettingStartedTest < TestCase mailbox_user = ENV['MAILBOX_INIT'].split(':')[0] mailbox_password = ENV['MAILBOX_INIT'].split(':')[1] + fqdn = Setting.get('fqdn') + http_type = Setting.get('http_type') + url = "#{http_type}://#{fqdn}" + @browser = browser_instance location( url: browser_url ) watch_for( @@ -71,7 +75,7 @@ class AaaGettingStartedTest < TestCase ) set( css: '.js-base input[name="url"]', - value: 'http://localhost:3333', + value: url, ) click( css: '.js-base .btn--primary',