diff --git a/classes/partials/_shortcodes-info.inc b/classes/partials/_shortcodes-info.inc index 2521960..1ca3334 100644 --- a/classes/partials/_shortcodes-info.inc +++ b/classes/partials/_shortcodes-info.inc @@ -1,3 +1,11 @@ +
@@ -6,20 +14,10 @@ -- [scene-heading]Ext. The Old Man's House[/scene-heading] - [scene-action]John is walking down to the car parked in the driveway.[/scene-action] - [dialog name="John" direction="(towards the house)"]Hey, where are the keys?[/dialog] -+ -
TestWhatDidTheySay | ||
clickAndWait | -link=Add New | -- |
type | -title | -WDTS Test Post | -
clickAndWait | -publish | -- |
assertTextPresent | -Post published. | -- |
storeValue | -post_ID | -post_id | -
assertSelectedLabel | -wdts-language | -English | -
type | -wdts-transcripts-en | -This is a test transcript. | -
select | -wdts-language | -label=German | -
type | -wdts-transcripts-de | -Dies ist ein Test transcript. | -
clickAndWait | -publish | -- |
assertTextPresent | -Post updated. | -- |
assertValue | -wdts-transcripts-en | -This is a test transcript. | -
assertValue | -wdts-transcripts-de | -Dies ist ein Test transcript. | -
click | -link=Delete | -- |
assertConfirmation | -You are about to delete this post 'WDTS Test Post' 'Cancel' to stop, 'OK' to delete. |
- - |
waitForPageToLoad | -30000 | -- |
clickAndWait | -link=Installed | -- |
clickAndWait | -//a[contains(@href,'what-did-they-say') and contains(@href,'deactivate')] | -- |
assertTextPresent | -Plugin deactivated. | -- |
TestStyleChanges | ||
clickAndWait | +link=exact:What Did They Say?!? | ++ |
click | +wdts-tab-default-styles | ++ |
uncheck | +wdts[transcript_effects] | ++ |
uncheck | +wdts[load_default_styles] | ++ |
uncheck | +wdts[use_nl2br] | ++ |
uncheck | +wdts[allow_html] | ++ |
uncheck | +wdts[hide_transcript][home] | ++ |
uncheck | +wdts[hide_transcript][single] | ++ |
type | +wdts[excerpt_distance] | +20 | +
clickAndWait | +//input[@value='Change default styles'] | ++ |
assertTextPresent | +Default styles option updated. | ++ |
assertNotChecked | +wdts[transcript_effects] | ++ |
assertNotChecked | +wdts[load_default_styles] | ++ |
assertNotChecked | +wdts[use_nl2br] | ++ |
assertNotChecked | +wdts[allow_html] | ++ |
assertNotChecked | +wdts[hide_transcript][home] | ++ |
assertNotChecked | +wdts[hide_transcript][single] | ++ |
assertValue | +wdts[excerpt_distance] | +20 | +
check | +wdts[transcript_effects] | ++ |
check | +wdts[load_default_styles] | ++ |
check | +wdts[use_nl2br] | ++ |
check | +wdts[allow_html] | ++ |
check | +wdts[hide_transcript][home] | ++ |
check | +wdts[hide_transcript][single] | ++ |
type | +wdts[excerpt_distance] | +30 | +
clickAndWait | +//input[@value='Change default styles'] | ++ |
assertTextPresent | +Default styles option updated. | ++ |
assertChecked | +wdts[transcript_effects] | ++ |
assertChecked | +wdts[load_default_styles] | ++ |
assertChecked | +wdts[use_nl2br] | ++ |
assertChecked | +wdts[allow_html] | ++ |
assertChecked | +wdts[hide_transcript][home] | ++ |
assertChecked | +wdts[hide_transcript][single] | ++ |
assertValue | +wdts[excerpt_distance] | +30 | +