78 lines
2.0 KiB
HTML
78 lines
2.0 KiB
HTML
<?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>
|
|
<td>open</td>
|
|
<td>/wp-admin/post.php?action=edit&post=${post_id}</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>assertSelectedLabel</td>
|
|
<td>//select[@name="wdts[language]"]</td>
|
|
<td>English</td>
|
|
</tr>
|
|
<tr>
|
|
<td>assertVisible</td>
|
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>type</td>
|
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
|
<td>This is a test transcript.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>select</td>
|
|
<td>//select[@name="wdts[language]"]</td>
|
|
<td>label=German</td>
|
|
</tr>
|
|
<tr>
|
|
<td>assertVisible</td>
|
|
<td>//textarea[@name="wdts[transcripts][de][transcript]"]</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>assertNotVisible</td>
|
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>type</td>
|
|
<td>//textarea[@name="wdts[transcripts][de][transcript]"]</td>
|
|
<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>
|
|
<td>//textarea[@name="wdts[transcripts][en][transcript]"]</td>
|
|
<td>This is a test transcript.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>assertValue</td>
|
|
<td>//textarea[@name="wdts[transcripts][de][transcript]"]</td>
|
|
<td>Dies ist ein Test transcript.</td>
|
|
</tr>
|
|
|
|
</tbody></table>
|
|
</body>
|
|
</html>
|