Merge "installer: Add support for PlatformSettings.php"
[lhc/web/wiklou.git] / tests / selenium / pageobjects / page.js
index 864bdae..77bb1f4 100644 (file)
@@ -1,11 +1,8 @@
 // From http://webdriver.io/guide/testrunner/pageobjects.html
 'use strict';
 class Page {
-       constructor() {
-               this.title = 'My Page';
-       }
        open( path ) {
-               browser.url( '/index.php?title=' + path );
+               browser.url( browser.options.baseUrl + '/index.php?title=' + path );
        }
 }
 module.exports = Page;