Skip to content

feat(config): add logLevel option to suppress ionic warnings and errors #14967

feat(config): add logLevel option to suppress ionic warnings and errors

feat(config): add logLevel option to suppress ionic warnings and errors #14967

Triggered via pull request November 13, 2024 19:07
Status Cancelled
Total duration 9m 22s
Artifacts 14
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
build-react
59s
build-react
Matrix: test-core-screenshot
build-angular
1m 33s
build-angular
build-angular-server
41s
build-angular-server
test-core-clean-build
20s
test-core-clean-build
test-core-lint
1m 9s
test-core-lint
test-core-spec
1m 0s
test-core-spec
build-react-router
28s
build-react-router
build-vue-router
1m 4s
build-vue-router
verify-screenshots
0s
verify-screenshots
Matrix: test-angular-e2e
Matrix: test-react-e2e
Matrix: test-react-router-e2e
Matrix: test-vue-e2e
verify-test-angular-e2e
0s
verify-test-angular-e2e
verify-test-react-e2e
0s
verify-test-react-e2e
verify-test-react-router-e2e
0s
verify-test-react-router-e2e
verify-test-vue-e2e
8s
verify-test-vue-e2e
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 6 notices
test-vue-e2e (vue3)
Process completed with exit code 1.
verify-test-vue-e2e
Process completed with exit code 1.
[Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:159:9 › should throw a warning if the form cannot be found - ios/ltr › form is a string selector: src/components/button/test/form-reference/button.e2e.ts#L171
1) [Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:159:9 › should throw a warning if the form cannot be found - ios/ltr › form is a string selector Error: expect(received).toContain(expected) // indexOf Expected substring: "[Ionic Warning]: Form with selector: \"#missingForm\" could not be found. Verify that the id is correct and the form is rendered in the DOM." Received string: "[Ionic Warn]: Form with selector: \"#missingForm\" could not be found. Verify that the id is correct and the form is rendered in the DOM. JSHandle@node" 169 | 170 | expect(logs.length).toBe(1); > 171 | expect(logs[0]).toContain( | ^ 172 | '[Ionic Warning]: Form with selector: "#missingForm" could not be found. Verify that the id is correct and the form is rendered in the DOM.' 173 | ); 174 | }); at /ionic/src/components/button/test/form-reference/button.e2e.ts:171:23
[Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:159:9 › should throw a warning if the form cannot be found - ios/ltr › form is a string selector: src/components/button/test/form-reference/button.e2e.ts#L171
1) [Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:159:9 › should throw a warning if the form cannot be found - ios/ltr › form is a string selector Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "[Ionic Warning]: Form with selector: \"#missingForm\" could not be found. Verify that the id is correct and the form is rendered in the DOM." Received string: "[Ionic Warn]: Form with selector: \"#missingForm\" could not be found. Verify that the id is correct and the form is rendered in the DOM. JSHandle@node" 169 | 170 | expect(logs.length).toBe(1); > 171 | expect(logs[0]).toContain( | ^ 172 | '[Ionic Warning]: Form with selector: "#missingForm" could not be found. Verify that the id is correct and the form is rendered in the DOM.' 173 | ); 174 | }); at /ionic/src/components/button/test/form-reference/button.e2e.ts:171:23
[Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:159:9 › should throw a warning if the form cannot be found - ios/ltr › form is a string selector: src/components/button/test/form-reference/button.e2e.ts#L171
1) [Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:159:9 › should throw a warning if the form cannot be found - ios/ltr › form is a string selector Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "[Ionic Warning]: Form with selector: \"#missingForm\" could not be found. Verify that the id is correct and the form is rendered in the DOM." Received string: "[Ionic Warn]: Form with selector: \"#missingForm\" could not be found. Verify that the id is correct and the form is rendered in the DOM. JSHandle@node" 169 | 170 | expect(logs.length).toBe(1); > 171 | expect(logs[0]).toContain( | ^ 172 | '[Ionic Warning]: Form with selector: "#missingForm" could not be found. Verify that the id is correct and the form is rendered in the DOM.' 173 | ); 174 | }); at /ionic/src/components/button/test/form-reference/button.e2e.ts:171:23
[Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:176:9 › should throw a warning if the form cannot be found - ios/ltr › form is an element reference: src/components/button/test/form-reference/button.e2e.ts#L199
2) [Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:176:9 › should throw a warning if the form cannot be found - ios/ltr › form is an element reference Error: expect(received).toContain(expected) // indexOf Expected substring: "[Ionic Warning]: The provided \"form\" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM." Received string: "[Ionic Warn]: The provided \"form\" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM. JSHandle@node" 197 | 198 | expect(logs.length).toBe(1); > 199 | expect(logs[0]).toContain( | ^ 200 | '[Ionic Warning]: The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.' 201 | ); 202 | }); at /ionic/src/components/button/test/form-reference/button.e2e.ts:199:23
[Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:176:9 › should throw a warning if the form cannot be found - ios/ltr › form is an element reference: src/components/button/test/form-reference/button.e2e.ts#L199
2) [Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:176:9 › should throw a warning if the form cannot be found - ios/ltr › form is an element reference Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "[Ionic Warning]: The provided \"form\" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM." Received string: "[Ionic Warn]: The provided \"form\" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM. JSHandle@node" 197 | 198 | expect(logs.length).toBe(1); > 199 | expect(logs[0]).toContain( | ^ 200 | '[Ionic Warning]: The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.' 201 | ); 202 | }); at /ionic/src/components/button/test/form-reference/button.e2e.ts:199:23
[Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:176:9 › should throw a warning if the form cannot be found - ios/ltr › form is an element reference: src/components/button/test/form-reference/button.e2e.ts#L199
2) [Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:176:9 › should throw a warning if the form cannot be found - ios/ltr › form is an element reference Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "[Ionic Warning]: The provided \"form\" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM." Received string: "[Ionic Warn]: The provided \"form\" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM. JSHandle@node" 197 | 198 | expect(logs.length).toBe(1); > 199 | expect(logs[0]).toContain( | ^ 200 | '[Ionic Warning]: The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.' 201 | ); 202 | }); at /ionic/src/components/button/test/form-reference/button.e2e.ts:199:23
[Mobile Chrome] › src/components/datetime/test/basic/datetime.e2e.ts:662:9 › datetime: formatOptions misconfiguration errors - md/ltr › should log a warning if time zone is provided: src/components/datetime/test/basic/datetime.e2e.ts#L689
3) [Mobile Chrome] › src/components/datetime/test/basic/datetime.e2e.ts:662:9 › datetime: formatOptions misconfiguration errors - md/ltr › should log a warning if time zone is provided Error: expect(received).toContain(expected) // indexOf Expected substring: "[Ionic Warning]: Datetime: \"timeZone\" and \"timeZoneName\" are not supported in \"formatOptions\"." Received string: "[Ionic Warn]: Datetime: \"timeZone\" and \"timeZoneName\" are not supported in \"formatOptions\". JSHandle@node" 687 | 688 | expect(logs.length).toBe(1); > 689 | expect(logs[0]).toContain( | ^ 690 | '[Ionic Warning]: Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".' 691 | ); 692 | }); at /ionic/src/components/datetime/test/basic/datetime.e2e.ts:689:23
[Mobile Chrome] › src/components/datetime/test/basic/datetime.e2e.ts:662:9 › datetime: formatOptions misconfiguration errors - md/ltr › should log a warning if time zone is provided: src/components/datetime/test/basic/datetime.e2e.ts#L689
3) [Mobile Chrome] › src/components/datetime/test/basic/datetime.e2e.ts:662:9 › datetime: formatOptions misconfiguration errors - md/ltr › should log a warning if time zone is provided Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "[Ionic Warning]: Datetime: \"timeZone\" and \"timeZoneName\" are not supported in \"formatOptions\"." Received string: "[Ionic Warn]: Datetime: \"timeZone\" and \"timeZoneName\" are not supported in \"formatOptions\". JSHandle@node" 687 | 688 | expect(logs.length).toBe(1); > 689 | expect(logs[0]).toContain( | ^ 690 | '[Ionic Warning]: Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".' 691 | ); 692 | }); at /ionic/src/components/datetime/test/basic/datetime.e2e.ts:689:23
[Mobile Chrome] › src/components/datetime/test/basic/datetime.e2e.ts:662:9 › datetime: formatOptions misconfiguration errors - md/ltr › should log a warning if time zone is provided: src/components/datetime/test/basic/datetime.e2e.ts#L689
3) [Mobile Chrome] › src/components/datetime/test/basic/datetime.e2e.ts:662:9 › datetime: formatOptions misconfiguration errors - md/ltr › should log a warning if time zone is provided Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "[Ionic Warning]: Datetime: \"timeZone\" and \"timeZoneName\" are not supported in \"formatOptions\"." Received string: "[Ionic Warn]: Datetime: \"timeZone\" and \"timeZoneName\" are not supported in \"formatOptions\". JSHandle@node" 687 | 688 | expect(logs.length).toBe(1); > 689 | expect(logs[0]).toContain( | ^ 690 | '[Ionic Warning]: Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".' 691 | ); 692 | }); at /ionic/src/components/datetime/test/basic/datetime.e2e.ts:689:23
[Mobile Chrome] › src/components/datetime/test/basic/datetime.e2e.ts:694:9 › datetime: formatOptions misconfiguration errors - md/ltr › should log a warning if the required formatOptions are not provided for a presentation: src/components/datetime/test/basic/datetime.e2e.ts#L719
4) [Mobile Chrome] › src/components/datetime/test/basic/datetime.e2e.ts:694:9 › datetime: formatOptions misconfiguration errors - md/ltr › should log a warning if the required formatOptions are not provided for a presentation Error: expect(received).toContain(expected) // indexOf Expected substring: "[Ionic Warning]: Datetime: The 'date-time' presentation requires either a date or time object (or both) in formatOptions." Received string: "[Ionic Warn]: Datetime: The 'date-time' presentation requires either a date or time object (or both) in formatOptions. JSHandle@node" 717 | 718 | expect(logs.length).toBe(1); > 719 | expect(logs[0]).toContain( | ^ 720 | "[Ionic Warning]: Datetime: The 'date-time' presentation requires either a date or time object (or both) in formatOptions." 721 | ); 722 | }); at /ionic/src/components/datetime/test/basic/datetime.e2e.ts:719:23
test-core-screenshot (4, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (3, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (1, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (14, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (5, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (15, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (13, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (6, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (18, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (2, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (10, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (16, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (19, 20)
The job was canceled because "_8_20" failed.
test-core-screenshot (17, 20)
The job was canceled because "_8_20" failed.
verify-screenshots
Process completed with exit code 1.
test-angular-e2e (ng17)
Canceling since a higher priority waiting request for 'refs/pull/30015/merge' exists
test-angular-e2e (ng16)
Canceling since a higher priority waiting request for 'refs/pull/30015/merge' exists
verify-test-angular-e2e
Process completed with exit code 1.
🎭 Playwright Run Summary
216 skipped 229 passed (2.4m)
🎭 Playwright Run Summary
212 skipped 210 passed (2.7m)
🎭 Playwright Run Summary
455 passed (3.0m)
🎭 Playwright Run Summary
2 skipped 442 passed (3.4m)
🎭 Playwright Run Summary
3 skipped 451 passed (3.5m)
🎭 Playwright Run Summary
4 failed [Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:159:9 › should throw a warning if the form cannot be found - ios/ltr › form is a string selector [Mobile Chrome] › src/components/button/test/form-reference/button.e2e.ts:176:9 › should throw a warning if the form cannot be found - ios/ltr › form is an element reference [Mobile Chrome] › src/components/datetime/test/basic/datetime.e2e.ts:662:9 › datetime: formatOptions misconfiguration errors - md/ltr › should log a warning if time zone is provided [Mobile Chrome] › src/components/datetime/test/basic/datetime.e2e.ts:694:9 › datetime: formatOptions misconfiguration errors - md/ltr › should log a warning if the required formatOptions are not provided for a presentation 447 passed (3.8m)

Artifacts

Produced during runtime
Name Size Digest
ionic-angular Expired
637 KB
sha256:89c2eabdb080ffa96dd66a85da4623d2c27d1d3d5cce0a5a485690954637da48
ionic-angular-server Expired
8.55 KB
sha256:c6a64025183dec5f07d0629f083f44e6ec58ba8a4d06930bddd8d09194e9c8ee
ionic-core Expired
4.85 MB
sha256:97c95a7b6b1fa125802cc84a345039ae19f28f12e1e959a252f097c7e5a9b11f
ionic-react Expired
201 KB
sha256:01d140811bc98d22dc7a7d058ea46656686fde4bf19652ace99f40f8f84d3d6f
ionic-react-router Expired
27.9 KB
sha256:010c1178ae981cbbf0689d550d062d5e4b8727f606bcb1beeb0985446a274ae2
ionic-vue Expired
216 KB
sha256:cc9da34007229b77309135d67a6807267fa0b79cfdf1f24f1d56222068c5b7d5
ionic-vue-router Expired
17.1 KB
sha256:7f13bd2567f31bb4da5a71c02e7f3783521096a182feeaefb2684e8e535b42cc
test-results-10-20 Expired
3.31 MB
sha256:c87f6201b02fcde9e01fb18a3b2020294cd4ecb9e6376f3b920ca7c28670ca51
test-results-11-20 Expired
458 KB
sha256:11bd872c73e8bd37336e9357d6fde3561966824b113f5c8686ffb2769d1ea4a3
test-results-12-20 Expired
416 KB
sha256:e53af0993c8576cdf2e6e0d81aa169769023738050a50f811af92672ad3599ae
test-results-20-20 Expired
310 KB
sha256:9364a690f2ba163c4ec6042c42e65b0b368386f431b7f677e604ca20c1be04a9
test-results-7-20 Expired
335 KB
sha256:490cec3d91eefedb460dedeee8bbf0570a8d8b728b724ebe335ea1eabba7e7f0
test-results-8-20 Expired
5.14 MB
sha256:79df3c9a8e219cc088e2db0536defc1fd77d608f2d571c9206e43a19d3004581
test-results-9-20 Expired
424 KB
sha256:dc6a38868d888e807b191113058b3f366b2a90f0b76375b9bf0690267cef9da8