Merge "Fix FOUC on preferences."
[lhc/web/wiklou.git] / tests / selenium / SeleniumTestConstants.php
1 <?php
2
3 class SeleniumTestConstants {
4 const WIKI_TEST_WAIT_TIME = 3000; // Waiting time
5
6 //commonly used links
7 const LINK_MAIN_PAGE = 'link=Main page';
8 const LINK_RANDOM_PAGE = 'link=Random article';
9 const TEXT_PAGE_HEADING = 'firstHeading';
10
11 const LINK_START = 'link=';
12 const TEXT_EDITOR = 'wpTextbox1';
13 const LINK_PREVIEW = 'wpPreview';
14 const LINK_EDIT = 'link=Edit';
15
16 const WIKI_SEARCH_PAGE = 'Hair (musical)'; // Page name to search
17 const WIKI_TEXT_SEARCH = 'TV'; // Text to search
18 const WIKI_INTERNAL_LINK = 'Wikieditor-Fixture-Page'; // Exisiting page name to add as an internal tag
19
20 const INPUT_SEARCH_BOX = 'searchInput';
21 const BUTTON_SEARCH = 'mw-searchButton';
22 const BUTTON_SAVE = 'wpSave';
23 }
24