From c8ce6f447bb2decc041399a42fe543aabc31e252 Mon Sep 17 00:00:00 2001
From: John Bintz
+
+
+
+
diff --git a/test/selenium/TestDeletePost.html b/test/selenium/TestDeletePost.html
new file mode 100644
index 0000000..0f898db
--- /dev/null
+++ b/test/selenium/TestDeletePost.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+TestCreatePost
+
+clickAndWait
+ link=Add New
+
+
+
+type
+ title
+ WDTS Test Post
+
+
+clickAndWait
+ publish
+
+
+
+assertTextPresent
+ Post published.
+
+
+
+
+storeValue
+ post_ID
+ post_id
+
+
+
+
+
diff --git a/test/selenium/TestMetaboxApprovedTranscriptEditing.html b/test/selenium/TestMetaboxApprovedTranscriptEditing.html
index e862dd7..6a12ded 100644
--- a/test/selenium/TestMetaboxApprovedTranscriptEditing.html
+++ b/test/selenium/TestMetaboxApprovedTranscriptEditing.html
@@ -12,48 +12,43 @@
+
+TestDeletePost
+
+open
+ /wp-admin/post.php?action=edit&post=${post_id}
+
+
+
+click
+ link=Delete
+
+
+
+assertConfirmation
+ You are about to delete this post 'WDTS Test Post'
+
'Cancel' to stop, 'OK' to delete.
+
+
+
+waitForPageToLoad
+ 30000
+
+ TestMetaboxApprovedTranscriptEditing
-
-clickAndWait
- link=Add New
+ open
+ /wp-admin/post.php?action=edit&post=${post_id}
-
-type
- title
- WDTS Test Post
-
-
-clickAndWait
- publish
-
-
-
-assertTextPresent
- Post published.
-
-
-
storeValue
- post_ID
- post_id
-
+assertSelectedLabel
- wdts-language
+ //select[@name="wdts[language]"]
English
+
assertVisible
+ //textarea[@name="wdts[transcripts][en]"]
+
+
type
- wdts-transcripts-en
+ //textarea[@name="wdts[transcripts][en]"]
This is a test transcript.
+select
- wdts-language
+ //select[@name="wdts[language]"]
label=German
+
+assertVisible
+ //textarea[@name="wdts[transcripts][de]"]
+
+
+
assertNotVisible
+ //textarea[@name="wdts[transcripts][en]"]
+
+
type
- wdts-transcripts-de
+ //textarea[@name="wdts[transcripts][de]"]
Dies ist ein Test transcript.
@@ -68,29 +63,14 @@
assertValue
- wdts-transcripts-en
+ //textarea[@name="wdts[transcripts][en]"]
This is a test transcript.
-assertValue
- wdts-transcripts-de
+ //textarea[@name="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
-
-
TestShortCodeButtons |
diff --git a/test/selenium/TestShortCodeButtons.html b/test/selenium/TestShortCodeButtons.html new file mode 100644 index 0000000..1ad7e0e --- /dev/null +++ b/test/selenium/TestShortCodeButtons.html @@ -0,0 +1,17 @@ + + + +
+ + +
+ +
+