Created
July 22, 2024 07:13
-
-
Save danyill/feda7b7c4a45d588d262c3fa138e178f to your computer and use it in GitHub Desktop.
Failing Unit Tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm run test:unit | |
> [email protected] test:unit | |
> tsc && wtr --group unit --coverage | |
dist/editors/dataset/data-set-editor.spec.js: | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
dist/editors/dataset/foundation.spec.js: | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
dist/editors/dataset/data-set-element-editor.spec.js: | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
❌ DataSet element editor > allows to move FCDA child one step up (failed on Chromium and Webkit) | |
AssertionError: expected <FCDA ldInst="ldInst" prefix="prefix" lnClass="LLN0" doName="Beh" daName="stVal" fc="ST"/> to equal <FCDA ldInst="ldInst" prefix="prefix" lnClass="LLN0" doName="Beh" daName="q" fc="ST"/> | |
+ expected - actual | |
at o.<anonymous> (dist/editors/dataset/data-set-element-editor.spec.js:56:56) | |
❌ DataSet element editor > allows to move FCDA child one step down (failed on Chromium and Webkit) | |
AssertionError: expected <FCDA ldInst="ldInst" prefix="prefix" lnClass="LLN0" doName="Beh" daName="stVal" fc="ST"/> to equal <FCDA ldInst="ldInst" prefix="prefix" lnClass="LLN0" doName="Beh" daName="q" fc="ST"/> | |
+ expected - actual | |
at o.<anonymous> (dist/editors/dataset/data-set-element-editor.spec.js:73:56) | |
dist/editors/gsecontrol/gse-control-element-editor.spec.js: | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
❌ GSEControl element editor component > allows to change the GSEControl elements attributes (failed on Chromium and Webkit) | |
AssertionError: expected { Object (name, desc, ...) } to deeply equal { Object (name, desc, ...) } | |
+ expected - actual | |
{ | |
"appID": "someNewAppID" | |
- "confRev": "1" | |
+ "confRev": "10001" | |
"desc": "SomeNewDesc" | |
+ "fixedOffs": "false" | |
"name": "SomeNewName" | |
"securityEnabled": "None" | |
"type": "GSSE" | |
} | |
at o.<anonymous> (editors/gsecontrol/gse-control-element-editor.spec.ts:50:38) | |
dist/editors/gsecontrol/gse-control-editor.spec.js: | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
dist/editors/report/foundation.spec.js: | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
dist/editors/report/report-control-editor.spec.js: | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
dist/editors/report/report-control-element-editor.spec.js: | |
🚧 Browser logs on Chromium: | |
Element md-filled-text-field scheduled an update (generally because a property was set) after an update completed, causing a new update to be scheduled. This is inefficient and should be avoided unless the next update can only be scheduled as a side effect of the previous update. See https://lit.dev/msg/change-in-update for more information. | |
🚧 Browser logs on Webkit: | |
Element md-filled-text-field scheduled an update (generally because a property was set) after an update completed, causing a new update to be scheduled. This is inefficient and should be avoided unless the next update can only be scheduled as a side effect of the previous update. See https://lit.dev/msg/change-in-update for more information. | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
❌ ReportControl element editor component > allows to change the ReportControl elements attributes (failed on Chromium and Webkit) | |
TypeError: Cannot set properties of undefined (setting 'value') | |
at o.<anonymous> (editors/report/report-control-element-editor.spec.ts:44:40) | |
❌ ReportControl element editor component > allows to change the OptFields element child element (failed on Chromium and Webkit) | |
AssertionError: expected { Object (seqNum, timeStamp, ...) } to deeply equal { Object (seqNum, timeStamp, ...) } | |
+ expected - actual | |
{ | |
+ "configRef": [null] | |
"dataRef": "false" | |
"dataSet": [null] | |
"entryID": "false" | |
+ "reasonCode": [null] | |
"seqNum": "false" | |
"timeStamp": "false" | |
} | |
at o.<anonymous> (editors/report/report-control-element-editor.spec.ts:92:38) | |
❌ ReportControl element editor component > allows to change the TrgOps element child element (failed on Chromium and Webkit) | |
AssertionError: expected { Object (dchg, qchg, ...) } to deeply equal { Object (dchg, qchg, ...) } | |
+ expected - actual | |
{ | |
"dchg": "false" | |
"dupd": "false" | |
+ "gi": [null] | |
"period": "false" | |
"qchg": [null] | |
} | |
at o.<anonymous> (editors/report/report-control-element-editor.spec.ts:118:38) | |
dist/editors/sampledvalue/sampled-value-control-editor.spec.js: | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
dist/editors/sampledvalue/sampled-value-control-element-editor.spec.js: | |
🚧 Browser logs on Chromium: | |
Element md-filled-text-field scheduled an update (generally because a property was set) after an update completed, causing a new update to be scheduled. This is inefficient and should be avoided unless the next update can only be scheduled as a side effect of the previous update. See https://lit.dev/msg/change-in-update for more information. | |
🚧 Browser logs on Webkit: | |
Element md-filled-text-field scheduled an update (generally because a property was set) after an update completed, causing a new update to be scheduled. This is inefficient and should be avoided unless the next update can only be scheduled as a side effect of the previous update. See https://lit.dev/msg/change-in-update for more information. | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
❌ SampledValueControl element editor component > allows to change the SampledValueControl elements attributes (failed on Chromium and Webkit) | |
TypeError: Cannot read properties of undefined (reading 'nullSwitch') | |
at o.<anonymous> (editors/sampledvalue/sampled-value-control-element-editor.spec.ts:46:41) | |
❌ SampledValueControl element editor component > allows to change the SmvOpts element child element (failed on Chromium and Webkit) | |
AssertionError: expected { Object (refreshTime, sampleSynchronized, ...) } to deeply equal { Object (refreshTime, sampleSynchronized, ...) } | |
+ expected - actual | |
{ | |
+ "dataSet": [null] | |
"refreshTime": [null] | |
+ "sampleRate": [null] | |
"sampleSynchronized": "false" | |
"security": "false" | |
"synchSourceId": "false" | |
"timestamp": "false" | |
at o.<anonymous> (editors/sampledvalue/sampled-value-control-element-editor.spec.ts:97:59) | |
dist/foundation/utils/gse.spec.js: | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
dist/foundation/utils/smv.spec.js: | |
❌ browserContext.newPage: Page closed (failed on Firefox) | |
browserContext.newPage: Page closed | |
at PlaywrightLauncher.createPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/index.js:35:155) | |
at PlaywrightLauncher.createNewPage (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:68:43) | |
at async PlaywrightLauncher.startSession (/home/mulhollandd/Documents/open-scd/bits/jakob_oet/oscd-publisher/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:42:22) | |
Chromium: |██████████████████████████████| 12/12 test files | 67 passed, 8 failed | |
Firefox: |██████████████████████████████| 12/12 test files | 0 passed, 0 failed | |
Webkit: |██████████████████████████████| 12/12 test files | 67 passed, 8 failed | |
Code coverage: 94.31 % | |
View full coverage report at coverage/lcov-report/index.html | |
Finished running tests in 21.2s with 16 failed tests. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment