playframework - Selenium tests always want to open localhost -
i want place playfw app test server , want run tests on it. problem is, no matter write these application.conf properties: application.baseurl, application.url, selenium test runner tries open localhost.
for example, test app runs on server under url: http://testapp.example.com. can open playfw tests page opening url: http://testapp.example.com/@tests, works fine, can select tests want run. when selenium test running, , tries open page app next error message appears: open http://localhost:9000/event/abouttheevent object #<htmliframeelement> has no method 'getcurrentwindow'
the selenium test runner tries open page localhost. in selenium test file utilize open('@@{event.abouttheevent()}')
localhost hardcoded baseurl (in multiple places) in selenium test runner. i'm not sure why chose this, file bug reply on 1 of developers.
your alternative @ point set auto-test environment, made run on servers, wouldn't give these issues. or run tests locally.
playframework playframework-1.x
No comments:
Post a Comment