You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2019/05/22 08:06:38 UTC

[myfaces-tobago] branch master updated: make test state independent

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new c27aec3  make test state independent
c27aec3 is described below

commit c27aec370e1894cab62acdef09ddb6e96d6669a7
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed May 22 10:05:46 2019 +0200

    make test state independent
---
 .../webapp/content/20-component/080-sheet/30-event/Sheet_Event.test.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/30-event/Sheet_Event.test.js b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/30-event/Sheet_Event.test.js
index 62f9d42..a60ff48 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/30-event/Sheet_Event.test.js
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/30-event/Sheet_Event.test.js
@@ -22,6 +22,9 @@ QUnit.test("On click with ajax", function (assert) {
   var saturnFn = jQueryFrameFn("#page\\:mainForm\\:s1\\:6\\:sample0");
   var namefieldFn = jQueryFrameFn("#page\\:mainForm\\:name\\:\\:field");
 
+  // ensure: the radio button is not checked
+  oneClickAjaxFn().prop("checked", false);
+
   var TTT = new TobagoTestTool(assert);
   TTT.action(function () {
     oneClickAjaxFn().click();