r62075 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62074‎ | r62075 | r62076 >
Date:21:29, 6 February 2010
Author:dale
Status:deferred
Tags:
Comment:
* selenium test case updates
Modified paths:
  • /branches/js2-work/phase3/js/mwEmbed/tests/selenium_tests/FULL_TEST_SET.html (added) (history)
  • /branches/js2-work/phase3/js/mwEmbed/tests/selenium_tests/_FULL_TEST_SET.html (deleted) (history)
  • /branches/js2-work/phase3/js/mwEmbed/tests/selenium_tests/api-proxy.html (added) (history)

Diff [purge]

Index: branches/js2-work/phase3/js/mwEmbed/tests/selenium_tests/_FULL_TEST_SET.html
@@ -1,18 +0,0 @@
2 -<?xml version="1.0" encoding="UTF-8"?>
3 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 -<head>
6 - <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
7 - <title>Test Suite</title>
8 -</head>
9 -<body>
10 -<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
11 -<tr><td><b>Test Suite</b></td></tr>
12 -<tr><td><a href="amw-all-providers.html">amw-all-providers</a></td></tr>
13 -<tr><td><a href="audio-player-playback-progress.html">audio-player-playback-progress</a></td></tr>
14 -<tr><td><a href="audio-player-menu.html">audio-player-menu</a></td></tr>
15 -<tr><td><a href="player-themable-display.html">player-themable-display</a></td></tr>
16 -<tr><td><a href="player-timed-text.html">player-timed-text</a></td></tr>
17 -</tbody></table>
18 -</body>
19 -</html>
Index: branches/js2-work/phase3/js/mwEmbed/tests/selenium_tests/FULL_TEST_SET.html
@@ -0,0 +1,19 @@
 2+<?xml version="1.0" encoding="UTF-8"?>
 3+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 4+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 5+<head>
 6+ <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
 7+ <title>Test Suite</title>
 8+</head>
 9+<body>
 10+<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
 11+<tr><td><b>Test Suite</b></td></tr>
 12+<tr><td><a href="amw-all-providers.html">amw-all-providers</a></td></tr>
 13+<tr><td><a href="audio-player-playback-progress.html">audio-player-playback-progress</a></td></tr>
 14+<tr><td><a href="audio-player-menu.html">audio-player-menu</a></td></tr>
 15+<tr><td><a href="player-themable-display.html">player-themable-display</a></td></tr>
 16+<tr><td><a href="player-timed-text.html">player-timed-text</a></td></tr>
 17+<tr><td><a href="api-proxy.html">api-proxy</a></td></tr>
 18+</tbody></table>
 19+</body>
 20+</html>
Index: branches/js2-work/phase3/js/mwEmbed/tests/selenium_tests/api-proxy.html
@@ -0,0 +1,33 @@
 2+<?xml version="1.0" encoding="UTF-8"?>
 3+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 4+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 5+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
 6+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 7+<link rel="selenium.base" href="" />
 8+<title>api-proxy</title>
 9+</head>
 10+<body>
 11+<table cellpadding="1" cellspacing="1" border="1">
 12+<thead>
 13+<tr><td rowspan="1" colspan="3">api-proxy</td></tr>
 14+</thead><tbody>
 15+<!--todo: setup test login account-->
 16+<tr>
 17+ <td>open</td>
 18+ <td>js/mwEmbed/tests/testApiProxy.html</td>
 19+ <td></td>
 20+</tr>
 21+<tr>
 22+ <td>click</td>
 23+ <td>doHello</td>
 24+ <td></td>
 25+</tr>
 26+<tr>
 27+ <td>waitForElementPresent</td>
 28+ <td>//span[@class='UserNameFound']</td>
 29+ <td>12000</td>
 30+</tr>
 31+
 32+</tbody></table>
 33+</body>
 34+</html>

Status & tagging log