2009-10-07 21:52:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
2009-10-26 23:39:46 +00:00
|
|
|
<link rel="selenium.base" href="http://comicpress.local/" />
|
2009-10-07 21:52:36 +00:00
|
|
|
<title>TestMetaboxApprovedTranscriptEditing</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table cellpadding="1" cellspacing="1" border="1">
|
|
|
|
<thead>
|
|
|
|
<tr><td rowspan="1" colspan="3">TestMetaboxApprovedTranscriptEditing</td></tr>
|
|
|
|
</thead><tbody>
|
|
|
|
<tr>
|
2009-10-08 15:16:43 +00:00
|
|
|
<td>open</td>
|
|
|
|
<td>/wp-admin/post.php?action=edit&post=${post_id}</td>
|
2009-10-07 21:52:36 +00:00
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-10-08 15:16:43 +00:00
|
|
|
<td>assertSelectedLabel</td>
|
|
|
|
<td>//select[@name="wdts[language]"]</td>
|
|
|
|
<td>English</td>
|
2009-10-07 21:52:36 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-10-08 15:16:43 +00:00
|
|
|
<td>assertVisible</td>
|
2009-10-26 03:06:20 +00:00
|
|
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
2009-10-07 21:52:36 +00:00
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>type</td>
|
2009-10-26 03:06:20 +00:00
|
|
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
2009-10-07 21:52:36 +00:00
|
|
|
<td>This is a test transcript.</td>
|
|
|
|
</tr>
|
2009-10-26 23:39:46 +00:00
|
|
|
<tr>
|
|
|
|
<td>select</td>
|
|
|
|
<td>//select[@name="wdts[transcripts][en][user_id]"]</td>
|
|
|
|
<td>index=1</td>
|
|
|
|
</tr>
|
2009-10-07 21:52:36 +00:00
|
|
|
<tr>
|
|
|
|
<td>select</td>
|
2009-10-08 15:16:43 +00:00
|
|
|
<td>//select[@name="wdts[language]"]</td>
|
2009-10-07 21:52:36 +00:00
|
|
|
<td>label=German</td>
|
|
|
|
</tr>
|
2009-10-08 15:16:43 +00:00
|
|
|
<tr>
|
|
|
|
<td>assertVisible</td>
|
2009-10-26 03:06:20 +00:00
|
|
|
<td>//textarea[@name="wdts[transcripts][de][transcript]"]</td>
|
2009-10-08 15:16:43 +00:00
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>assertNotVisible</td>
|
2009-10-26 03:06:20 +00:00
|
|
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
2009-10-08 15:16:43 +00:00
|
|
|
<td></td>
|
|
|
|
</tr>
|
2009-10-07 21:52:36 +00:00
|
|
|
<tr>
|
|
|
|
<td>type</td>
|
2009-10-26 03:06:20 +00:00
|
|
|
<td>//textarea[@name="wdts[transcripts][de][transcript]"]</td>
|
2009-10-07 21:52:36 +00:00
|
|
|
<td>Dies ist ein Test transcript.</td>
|
|
|
|
</tr>
|
2009-10-26 23:39:46 +00:00
|
|
|
<tr>
|
|
|
|
<td>select</td>
|
|
|
|
<td>//select[@name="wdts[transcripts][de][user_id]"]</td>
|
|
|
|
<td>index=2</td>
|
|
|
|
</tr>
|
2009-10-07 21:52:36 +00:00
|
|
|
<tr>
|
|
|
|
<td>clickAndWait</td>
|
|
|
|
<td>publish</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>assertTextPresent</td>
|
|
|
|
<td>Post updated.</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>assertValue</td>
|
2009-10-26 03:06:20 +00:00
|
|
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
2009-10-07 21:52:36 +00:00
|
|
|
<td>This is a test transcript.</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>assertValue</td>
|
2009-10-26 03:06:20 +00:00
|
|
|
<td>//textarea[@name="wdts[transcripts][de][transcript]"]</td>
|
2009-10-07 21:52:36 +00:00
|
|
|
<td>Dies ist ein Test transcript.</td>
|
|
|
|
</tr>
|
2009-10-26 23:39:46 +00:00
|
|
|
<tr>
|
|
|
|
<td>assertSelectedIndex</td>
|
|
|
|
<td>//select[@name="wdts[transcripts][en][user_id]"]</td>
|
|
|
|
<td>1</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>assertSelectedIndex</td>
|
|
|
|
<td>//select[@name="wdts[transcripts][de][user_id]"]</td>
|
|
|
|
<td>2</td>
|
|
|
|
</tr>
|
2009-10-07 21:52:36 +00:00
|
|
|
|
|
|
|
</tbody></table>
|
|
|
|
</body>
|
|
|
|
</html>
|