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