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 2020/11/20 12:51:55 UTC

[myfaces-tobago] 02/02: fix: "ajax change event" test for In.test.js

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

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

commit adc094fdb1bf9ce31f768c09a9ecc37c1fc54163
Author: Henning Nöth <hn...@apache.org>
AuthorDate: Fri Nov 20 13:21:01 2020 +0100

    fix: "ajax change event" test for In.test.js
---
 .../src/main/webapp/content/20-component/010-input/10-in/In.test.js     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/In.test.js b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/In.test.js
index fca385e..8ca212b 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/In.test.js
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/In.test.js
@@ -32,7 +32,7 @@ it("inputfield with label", function (done) {
 
 it("ajax change event", function (done) {
   let inputFieldFn = querySelectorFn("#page\\:mainForm\\:inputAjax\\:\\:field");
-  let outputFieldFn = querySelectorFn("#page\\:mainForm\\:outputAjax span");
+  let outputFieldFn = querySelectorFn("#page\\:mainForm\\:outputAjax tobago-out");
 
   const test = new JasmineTestTool(done);
   test.do(() => inputFieldFn().value = "some input text");