You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2023/04/21 12:03:50 UTC

[myfaces-tobago] branch t6_fixTestSelectOneList created (now 65111f5650)

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

hnoeth pushed a change to branch t6_fixTestSelectOneList
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


      at 65111f5650 fix(test): selectOneList

This branch includes the following new commits:

     new 65111f5650 fix(test): selectOneList

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[myfaces-tobago] 01/01: fix(test): selectOneList

Posted by hn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 65111f5650e5d72c471a7ed082c908c4fb246553
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Fri Apr 21 14:03:38 2023 +0200

    fix(test): selectOneList
---
 .../webapp/content/030-select/45-selectOneList/SelectOneList.test.js    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/45-selectOneList/SelectOneList.test.js b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/45-selectOneList/SelectOneList.test.js
index 4af9d9dbdd..cf2f297084 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/45-selectOneList/SelectOneList.test.js
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/45-selectOneList/SelectOneList.test.js
@@ -27,7 +27,7 @@ it("Standard: select 'Mars', select 'Saturn'", function (done) {
   const submitFn = elementByIdFn("page:mainForm:basic:submit");
 
   const test = new JasmineTestTool(done);
-  test.setup(() => selectedFieldFn().textContent.trim() === "Neptune", neptuneRowFn().click(), "click", submitFn);
+  test.setup(() => disabledSelectedFieldFn().textContent.trim() === "Neptune", () => neptuneRowFn().click(), "click", submitFn);
 
   test.do(() => expect(selectedFieldFn().textContent.trim()).toEqual("Neptune"));
   test.do(() => expect(disabledSelectedFieldFn().textContent.trim()).toEqual("Neptune"));