diff --git a/test/selenium/PostFixturesTest.html b/test/selenium/PostFixturesTest.html new file mode 100644 index 0000000..ac60b4f --- /dev/null +++ b/test/selenium/PostFixturesTest.html @@ -0,0 +1,112 @@ + + + + + + +PostFixturesTest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PostFixturesTest
clickAndWaitlink=Post Fixtures
click//input[@value='Load Provided Data']
assertAlertYou must check the checkbox to approve this operation.
clickpf[is_ok]
typepf[data]{]
clickAndWait//input[@value='Load Provided Data']
assertTextPresentData is not valid JSON.
typepf[data]{ "options": { "post-fixtures-selenium": "yes!" }}
clickpf[is_ok]
clickAndWait//input[@value='Load Provided Data']
assertTextPresentNew data set loaded into WordPress.
open/wp-admin/options.php
assertValuepost-fixtures-seleniumyes!
clickAndWaitlink=Post Fixtures
typepf[data]{ "options": { "post-fixtures-selenium": false }}
clickpf[is_ok]
clickAndWait//input[@value='Load Provided Data']
open/wp-admin/options.php
assertElementNotPresentpost-fixtures-selenium
+ +