summaryrefslogtreecommitdiff
path: root/tests/selenium/SeleniumTestConstants.php
blob: 1defb73c3f311f2046d0b35fed381b15c22cb143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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';
}