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 2019/08/26 13:52:49 UTC
[myfaces-tobago] branch master updated: fix integration tests for
tobago-in custom element
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
The following commit(s) were added to refs/heads/master by this push:
new 57f8b64 fix integration tests for tobago-in custom element
57f8b64 is described below
commit 57f8b648513c69d694c9852a5373d22ab2ae7555
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Mon Aug 26 15:52:38 2019 +0200
fix integration tests for tobago-in custom element
---
.../100-id-markup/Id_Markup.test.js | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4800-labelLayout/100-id-markup/Id_Markup.test.js b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4800-labelLayout/100-id-markup/Id_Markup.test.js
index 52ae01d..0fb52a3 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4800-labelLayout/100-id-markup/Id_Markup.test.js
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4800-labelLayout/100-id-markup/Id_Markup.test.js
@@ -21,7 +21,7 @@ QUnit.test("No label set", function (assert) {
assert.expect(5);
let sectionFn = testFrameQuerySelectorFn("#page\\:mainForm\\:sectionNoLabel");
- let rootDiv = sectionFn().querySelector(".tobago-section-content > div");
+ let rootDiv = sectionFn().querySelector(".tobago-section-content > tobago-in");
let label = rootDiv.querySelector("label");
let input = rootDiv.querySelector("input");
@@ -37,7 +37,7 @@ QUnit.test("labelLayout=none", function (assert) {
assert.expect(5);
let sectionFn = testFrameQuerySelectorFn("#page\\:mainForm\\:sectionNone");
- let rootDiv = sectionFn().querySelector(".tobago-section-content > div");
+ let rootDiv = sectionFn().querySelector(".tobago-section-content > tobago-in");
let label = rootDiv.querySelector("label");
let input = rootDiv.querySelector("input");
@@ -66,7 +66,7 @@ QUnit.test("labelLayout=top", function (assert) {
assert.expect(5);
let sectionFn = testFrameQuerySelectorFn("#page\\:mainForm\\:sectionTop");
- let rootDiv = sectionFn().querySelector(".tobago-section-content > div");
+ let rootDiv = sectionFn().querySelector(".tobago-section-content > tobago-in");
let label = rootDiv.querySelector("label");
let input = rootDiv.querySelector("input");
@@ -82,7 +82,7 @@ QUnit.test("labelLayout=flowLeft", function (assert) {
assert.expect(5);
let sectionFn = testFrameQuerySelectorFn("#page\\:mainForm\\:sectionFlowLeft");
- let rootDiv = sectionFn().querySelector(".tobago-section-content > div");
+ let rootDiv = sectionFn().querySelector(".tobago-section-content > tobago-in");
let label = rootDiv.querySelector("label");
let input = rootDiv.querySelector("input");
@@ -98,7 +98,7 @@ QUnit.test("labelLayout=flowRight", function (assert) {
assert.expect(5);
let sectionFn = testFrameQuerySelectorFn("#page\\:mainForm\\:sectionFlowRight");
- let rootDiv = sectionFn().querySelector(".tobago-section-content > div");
+ let rootDiv = sectionFn().querySelector(".tobago-section-content > tobago-in");
let label = rootDiv.querySelector("label");
let input = rootDiv.querySelector("input");
@@ -114,7 +114,7 @@ QUnit.test("labelLayout=flexLeft", function (assert) {
assert.expect(5);
let sectionFn = testFrameQuerySelectorFn("#page\\:mainForm\\:sectionFlexLeft");
- let rootDiv = sectionFn().querySelector(".tobago-section-content > div");
+ let rootDiv = sectionFn().querySelector(".tobago-section-content > tobago-in");
let label = rootDiv.querySelector("label");
let input = rootDiv.querySelector("input");
@@ -130,7 +130,7 @@ QUnit.test("labelLayout=flexRight", function (assert) {
assert.expect(5);
let sectionFn = testFrameQuerySelectorFn("#page\\:mainForm\\:sectionFlexRight");
- let rootDiv = sectionFn().querySelector(".tobago-section-content > div");
+ let rootDiv = sectionFn().querySelector(".tobago-section-content > tobago-in");
let label = rootDiv.querySelector("label");
let input = rootDiv.querySelector("input");
@@ -147,8 +147,8 @@ QUnit.test("labelLayout=segmentLeft", function (assert) {
let sectionFn = testFrameQuerySelectorFn("#page\\:mainForm\\:sectionSegmentLeft");
let segmentLayout = sectionFn().querySelector(".tobago-section-content > div");
- let labelSegment = segmentLayout.querySelector(".col-3 > div");
- let inputSegment = segmentLayout.querySelector(".col-9 > div");
+ let labelSegment = segmentLayout.querySelector(".col-3 > tobago-in");
+ let inputSegment = segmentLayout.querySelector(".col-9 > tobago-in");
let label = labelSegment.querySelector("label");
let input = inputSegment.querySelector("input");
@@ -167,8 +167,8 @@ QUnit.test("labelLayout=segmentRight", function (assert) {
let sectionFn = testFrameQuerySelectorFn("#page\\:mainForm\\:sectionSegmentRight");
let segmentLayout = sectionFn().querySelector(".tobago-section-content > div");
- let labelSegment = segmentLayout.querySelector(".col-3 > div");
- let inputSegment = segmentLayout.querySelector(".col-9 > div");
+ let labelSegment = segmentLayout.querySelector(".col-3 > tobago-in");
+ let inputSegment = segmentLayout.querySelector(".col-9 > tobago-in");
let label = labelSegment.querySelector("label");
let input = inputSegment.querySelector("input");