clickAndWait |
link=exact:What Did They Say?!? |
|
click |
wdts-tab-misc-options |
|
check |
wdts[high_insertion_level] |
|
clickAndWait |
//input[@value='Change Insertion Level'] |
|
assertTextPresent |
Insertion level updated. |
|
clickAndWait |
link=Edit |
|
clickAndWait |
//tr[contains(@id,"-${post_id}")]//div[@class="row-actions"]/span[@class="view"]/a |
|
assertElementPresent |
//div[@class="wdts-transcript-container"] |
|
assertVisible |
//a[text()="Edit/Add Transcripts"] |
|
assertNotVisible |
//input[@name="wdts[post_id]"]/../ |
|
click |
//a[text()="Edit/Add Transcripts"] |
|
waitForVisible |
//input[@name="wdts[post_id]"]/../ |
|
assertVisible |
//h3[contains(text(),"Edit Approved Transcripts:")] |
|
assertNotVisible |
//h3[contains(text(),"Submit a New Transcript:")] |
|
click |
//input[@name="wdts[allow_on_post]"] |
|
waitForVisible |
//h3[contains(text(),"Submit a New Transcript:")] |
|
assertVisible |
//h3[contains(text(),"Submit a New Transcript:")] |
|
select |
//h3[contains(text(),"Submit a New Transcript:")]/following-sibling::form//select |
label=English |
type |
wdts[transcript] |
This is a test queued transcript. |
clickAndWait |
//h3[contains(text(),"Submit a New Transcript:")]/following-sibling::form//input[@type="submit"] |
|
assertElementPresent |
//div[@class="wdts-updated"] |
|
assertElementPresent |
//div[@class="queued-transcript-holder"] |
|
assertText |
//div[contains(@class,"queued-transcript") and contains(@class,"wdts-transcript")] |
This is a test queued transcript. |
assertTextPresent |
(1 queued) |
|
click |
//div[@class="queued-transcript-actions"]/button[text()="Approve"] |
|
assertVisible |
//h3[contains(text(),"Edit Approved Transcripts:")] |
|
assertVisible |
//h3[contains(text(),"Submit a New Transcript:")] |
|
waitForElementNotPresent |
//div[@class="queued-transcript-actions"] |
|
assertValue |
//textarea[@name="wdts[transcripts][en][transcript]"] |
This is a test queued transcript. |
assertConfirmation |
This will overwrite the current transcript. Are you sure? |
|
refreshAndWait |
|
|
assertTextNotPresent |
(1 queued) |
|
assertText |
//div[contains(@class,"transcript-holder") and contains(@class,"en")] |
This is a test queued transcript.* |
assertNotVisible |
//input[@name="wdts[post_id]"]/../ |
|
assertNotVisible |
//h3[contains(text(),"Submit a New Transcript:")] |
|
open |
/wp-admin/ |
|