what-did-they-say/test/selenium/TestMetaboxApprovedTranscriptEditing.html

78 lines
1.9 KiB
HTML
Raw Normal View History

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" />
<link rel="selenium.base" href="" />
<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&amp;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=&quot;wdts[language]&quot;]</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>
<td>//textarea[@name=&quot;wdts[transcripts][en]&quot;]</td>
2009-10-07 21:52:36 +00:00
<td></td>
</tr>
<tr>
<td>type</td>
2009-10-08 15:16:43 +00:00
<td>//textarea[@name=&quot;wdts[transcripts][en]&quot;]</td>
2009-10-07 21:52:36 +00:00
<td>This is a test transcript.</td>
</tr>
<tr>
<td>select</td>
2009-10-08 15:16:43 +00:00
<td>//select[@name=&quot;wdts[language]&quot;]</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>
<td>//textarea[@name=&quot;wdts[transcripts][de]&quot;]</td>
<td></td>
</tr>
<tr>
<td>assertNotVisible</td>
<td>//textarea[@name=&quot;wdts[transcripts][en]&quot;]</td>
<td></td>
</tr>
2009-10-07 21:52:36 +00:00
<tr>
<td>type</td>
2009-10-08 15:16:43 +00:00
<td>//textarea[@name=&quot;wdts[transcripts][de]&quot;]</td>
2009-10-07 21:52:36 +00:00
<td>Dies ist ein Test transcript.</td>
</tr>
<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-08 15:16:43 +00:00
<td>//textarea[@name=&quot;wdts[transcripts][en]&quot;]</td>
2009-10-07 21:52:36 +00:00
<td>This is a test transcript.</td>
</tr>
<tr>
<td>assertValue</td>
2009-10-08 15:16:43 +00:00
<td>//textarea[@name=&quot;wdts[transcripts][de]&quot;]</td>
2009-10-07 21:52:36 +00:00
<td>Dies ist ein Test transcript.</td>
</tr>
</tbody></table>
</body>
</html>