summaryrefslogtreecommitdiff
path: root/tests/selenium/SeleniumTestConstants.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-12-03 13:29:22 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-12-03 13:29:22 +0100
commitca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch)
treeec04cc15b867bc21eedca904cea9af0254531a11 /tests/selenium/SeleniumTestConstants.php
parenta22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff)
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing
Diffstat (limited to 'tests/selenium/SeleniumTestConstants.php')
-rw-r--r--tests/selenium/SeleniumTestConstants.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/selenium/SeleniumTestConstants.php b/tests/selenium/SeleniumTestConstants.php
new file mode 100644
index 00000000..1defb73c
--- /dev/null
+++ b/tests/selenium/SeleniumTestConstants.php
@@ -0,0 +1,24 @@
+<?php
+
+class SeleniumTestConstants {
+ const WIKI_TEST_WAIT_TIME = 3000; // Waiting time
+
+ //commonly used links
+ const LINK_MAIN_PAGE = 'link=Main page';
+ const LINK_RANDOM_PAGE = 'link=Random article';
+ const TEXT_PAGE_HEADING = 'firstHeading';
+
+ const LINK_START = 'link=';
+ const TEXT_EDITOR = 'wpTextbox1';
+ const LINK_PREVIEW = 'wpPreview';
+ const LINK_EDIT = 'link=Edit';
+
+ const WIKI_SEARCH_PAGE = 'Hair (musical)'; // Page name to search
+ const WIKI_TEXT_SEARCH = 'TV'; // Text to search
+ const WIKI_INTERNAL_LINK = 'Wikieditor-Fixture-Page'; // Exisiting page name to add as an internal tag
+
+ const INPUT_SEARCH_BOX = 'searchInput';
+ const BUTTON_SEARCH = 'mw-searchButton';
+ const BUTTON_SAVE = 'wpSave';
+}
+