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[transcripts][en][user_id]"] index=1
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.
select //select[@name="wdts[transcripts][de][user_id]"] index=2
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.
assertSelectedIndex //select[@name="wdts[transcripts][en][user_id]"] 1
assertSelectedIndex //select[@name="wdts[transcripts][de][user_id]"] 2