Permalink
Browse files

refs #2935 - simulate auto-post form

  • Loading branch information...
vipsoft
vipsoft committed Mar 9, 2012
1 parent f4e406e commit f61ff02089a6a7851f6030f5f8eb899f46062522
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/webtest/testcases/modules/macros.xml
@@ -128,7 +128,6 @@
<enableJavaScript enable="false" />
<clickLink description="click 'Please update now'" href="action=newVersionAvailable" />
- <enableJavaScript enable="true" />
<!-- one click update -->
@@ -143,8 +142,9 @@
<!-- invoke description="one click update" url="/index.php?module=CoreUpdater&amp;action=oneClickUpdate" /-->
- <!-- wait for form to auto-post -->
- <sleep description="pause" seconds="5" />
+ <!-- javascript needed for form to auto-post -->
+
+ <clickButton description="simulate auto-post form" label="Continue" />
<not description="check for errors">
<verifyXPath description="looking for error image" xpath="//img[@src='themes/default/images/error_medium.png']" />

0 comments on commit f61ff02

Please sign in to comment.