Take browser_url for fqdn.

This commit is contained in:
Martin Edenhofer 2016-02-01 23:21:47 +01:00
parent 184d47ffce
commit 94eabedabb

View file

@ -12,12 +12,6 @@ class AaaGettingStartedTest < TestCase
mailbox_user = ENV['MAILBOX_INIT'].split(':')[0] mailbox_user = ENV['MAILBOX_INIT'].split(':')[0]
mailbox_password = ENV['MAILBOX_INIT'].split(':')[1] mailbox_password = ENV['MAILBOX_INIT'].split(':')[1]
url = if ENV['BROWSER_URL']
ENV['BROWSER_URL']
else
'http://localhost:3000'
end
@browser = browser_instance @browser = browser_instance
location( url: browser_url ) location( url: browser_url )
watch_for( watch_for(
@ -77,7 +71,7 @@ class AaaGettingStartedTest < TestCase
) )
set( set(
css: '.js-base input[name="url"]', css: '.js-base input[name="url"]',
value: url, value: browser_url,
) )
click( click(
css: '.js-base .btn--primary', css: '.js-base .btn--primary',