diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /tests/selenium/SeleniumTestConstants.php | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (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.php | 24 |
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'; +} + |