From 377a899b12bb325bd8df0caebbb04aaf5c0accc3 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Tue, 9 Apr 2019 17:29:12 -0700 Subject: [PATCH] QA: Do not use local paths for page objects These will not run in the daily build! Change-Id: I10c6c083949c043779b9ceca70d27fc0a303c39a --- tests/selenium/features/support/pages/mw_core_pages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/selenium/features/support/pages/mw_core_pages.js b/tests/selenium/features/support/pages/mw_core_pages.js index c33f858..44b9840 100644 --- a/tests/selenium/features/support/pages/mw_core_pages.js +++ b/tests/selenium/features/support/pages/mw_core_pages.js @@ -4,6 +4,6 @@ */ module.exports = { // Page is a constructor, all other pageObjects are instances. - Page: require( '../../../../../../../tests/selenium/pageobjects/page.js' ), - UserLoginPage: require( '../../../../../../../tests/selenium/pageobjects/userlogin.page.js' ) + Page: require( 'wdio-mediawiki/Page' ), + UserLoginPage: require( 'wdio-mediawiki/LoginPage' ) };