diff --git a/index.php b/index.php index 32449c9..de9cd81 100644 --- a/index.php +++ b/index.php @@ -9,13 +9,13 @@ if (have_posts()) { comicpress_display_post(); } - Restore(); - UnProtect(); + Restore(); + UnProtect(); wp_reset_query(); ?> - diff --git a/test/selenium/TestWidgetInitIsCorrect.html b/test/selenium/TestWidgetInitIsCorrect.html new file mode 100644 index 0000000..35803f1 --- /dev/null +++ b/test/selenium/TestWidgetInitIsCorrect.html @@ -0,0 +1,65 @@ + + + +
+ + +TestWidgetInitIsCorrect | ||
open | +/wp-admin/ | ++ |
clickAndWait | +link=Post Fixtures | ++ |
click | +link=themes/comicpress-2.8/test/fixtures/destroy-widgets.inc | ++ |
click | +pf[is_ok] | ++ |
clickAndWait | +//input[@value='Load Provided Data'] | ++ |
assertTextPresent | +New data set loaded into WordPress. | ++ |
clickAndWait | +site-visit-button | ++ |
assertElementNotPresent | +//script[contains(text(), 'var image_root')] | ++ |
open | +/wp-admin/ | ++ |