open |
/wp-admin/post.php?action=edit&post=${post_id} |
|
assertSelectedLabel |
//select[@name="wdts[language]"] |
English |
assertVisible |
//textarea[@name="wdts[transcripts][en]"] |
|
type |
//textarea[@name="wdts[transcripts][en]"] |
This is a test transcript. |
select |
//select[@name="wdts[language]"] |
label=German |
assertVisible |
//textarea[@name="wdts[transcripts][de]"] |
|
assertNotVisible |
//textarea[@name="wdts[transcripts][en]"] |
|
type |
//textarea[@name="wdts[transcripts][de]"] |
Dies ist ein Test transcript. |
clickAndWait |
publish |
|
assertTextPresent |
Post updated. |
|
assertValue |
//textarea[@name="wdts[transcripts][en]"] |
This is a test transcript. |
assertValue |
//textarea[@name="wdts[transcripts][de]"] |
Dies ist ein Test transcript. |