This run took 243 seconds.
$ date --- stdout --- Wed Nov 13 03:17:14 UTC 2024 --- end --- $ git clone file:///srv/git/mediawiki-extensions-WikiLambda.git repo --depth=1 -b master --- stderr --- Cloning into 'repo'... --- stdout --- --- end --- $ git config user.name libraryupgrader --- stdout --- --- end --- $ git config user.email tools.libraryupgrader@tools.wmflabs.org --- stdout --- --- end --- $ git submodule update --init --- stderr --- Submodule 'function-schemata' (https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-schemata.git) registered for path 'function-schemata' Cloning into '/src/repo/function-schemata'... --- stdout --- Submodule path 'function-schemata': checked out 'f2c043c7f68fcb811f3878b17681688f4c9e561e' --- end --- $ grr init --- stdout --- Installed commit-msg hook. --- end --- $ git show-ref refs/heads/master --- stdout --- df52e627903160e174b13222bba8bd466472c189 refs/heads/master --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "@wdio/cli": { "name": "@wdio/cli", "severity": "high", "isDirect": true, "via": [ "webdriverio" ], "effects": [], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/cli" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.12", "isSemVerMajor": true } }, "@wdio/local-runner": { "name": "@wdio/local-runner", "severity": "high", "isDirect": true, "via": [ "@wdio/runner" ], "effects": [], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/local-runner" ], "fixAvailable": { "name": "@wdio/local-runner", "version": "9.2.12", "isSemVerMajor": true } }, "@wdio/runner": { "name": "@wdio/runner", "severity": "high", "isDirect": false, "via": [ "webdriverio" ], "effects": [ "@wdio/local-runner" ], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/@wdio/runner" ], "fixAvailable": { "name": "@wdio/local-runner", "version": "9.2.12", "isSemVerMajor": true } }, "devtools": { "name": "devtools", "severity": "high", "isDirect": false, "via": [ "puppeteer-core" ], "effects": [], "range": ">=7.16.5", "nodes": [ "node_modules/devtools" ], "fixAvailable": true }, "mwbot": { "name": "mwbot", "severity": "moderate", "isDirect": false, "via": [ "request" ], "effects": [ "wdio-mediawiki" ], "range": ">=0.1.6", "nodes": [ "node_modules/mwbot" ], "fixAvailable": false }, "puppeteer-core": { "name": "puppeteer-core", "severity": "high", "isDirect": false, "via": [ "ws" ], "effects": [ "devtools", "webdriverio" ], "range": "11.0.0 - 22.11.1", "nodes": [ "node_modules/puppeteer-core" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.12", "isSemVerMajor": true } }, "request": { "name": "request", "severity": "moderate", "isDirect": false, "via": [ { "source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": [ "CWE-918" ], "cvss": { "score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, "range": "<=2.88.2" }, "tough-cookie" ], "effects": [ "mwbot" ], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [ "request" ], "range": "<4.1.3", "nodes": [ "node_modules/request/node_modules/tough-cookie" ], "fixAvailable": false }, "wdio-mediawiki": { "name": "wdio-mediawiki", "severity": "moderate", "isDirect": true, "via": [ "mwbot" ], "effects": [], "range": "*", "nodes": [ "node_modules/wdio-mediawiki" ], "fixAvailable": false }, "webdriverio": { "name": "webdriverio", "severity": "high", "isDirect": false, "via": [ "devtools", "puppeteer-core" ], "effects": [ "@wdio/cli", "@wdio/runner" ], "range": "7.16.5 - 8.40.6", "nodes": [ "node_modules/webdriverio" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.12", "isSemVerMajor": true } }, "ws": { "name": "ws", "severity": "high", "isDirect": false, "via": [ { "source": 1098392, "name": "ws", "dependency": "ws", "title": "ws affected by a DoS when handling a request with many HTTP headers", "url": "https://github.com/advisories/GHSA-3h5v-q93c-6h6q", "severity": "high", "cwe": [ "CWE-476" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": ">=8.0.0 <8.17.1" } ], "effects": [ "puppeteer-core" ], "range": "8.0.0 - 8.17.0", "nodes": [ "node_modules/puppeteer-core/node_modules/ws" ], "fixAvailable": { "name": "@wdio/cli", "version": "9.2.12", "isSemVerMajor": true } } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 4, "high": 7, "critical": 0, "total": 11 }, "dependencies": { "prod": 1, "dev": 1493, "optional": 4, "peer": 1, "peerOptional": 0, "total": 1493 } } } --- end --- $ /usr/bin/composer install --- stderr --- No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information. Loading composer repositories with package information Updating dependencies Lock file operations: 40 installs, 0 updates, 0 removals - Locking composer/pcre (3.3.2) - Locking composer/semver (3.4.3) - Locking composer/spdx-licenses (1.5.8) - Locking composer/xdebug-handler (3.0.5) - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0) - Locking diff/diff (3.3.1) - Locking doctrine/deprecations (1.1.3) - Locking felixfbecker/advanced-json-rpc (v3.2.1) - Locking mediawiki/mediawiki-codesniffer (v45.0.0) - Locking mediawiki/mediawiki-phan-config (0.14.0) - Locking mediawiki/minus-x (1.1.3) - Locking mediawiki/phan-taint-check-plugin (6.0.0) - Locking microsoft/tolerant-php-parser (v0.1.2) - Locking netresearch/jsonmapper (v4.5.0) - Locking opis/json-schema (1.1.0) - Locking phan/phan (5.4.3) - Locking php-parallel-lint/php-console-color (v1.0.1) - Locking php-parallel-lint/php-console-highlighter (v1.0.0) - Locking php-parallel-lint/php-parallel-lint (v1.4.0) - Locking phpcsstandards/phpcsextra (1.2.1) - Locking phpcsstandards/phpcsutils (1.0.12) - Locking phpdocumentor/reflection-common (2.2.0) - Locking phpdocumentor/reflection-docblock (5.6.0) - Locking phpdocumentor/type-resolver (1.10.0) - Locking phpstan/phpdoc-parser (2.0.0) - Locking psr/container (2.0.2) - Locking psr/log (3.0.2) - Locking sabre/event (5.1.7) - Locking squizlabs/php_codesniffer (3.10.3) - Locking symfony/console (v7.1.7) - Locking symfony/deprecation-contracts (v3.5.0) - Locking symfony/polyfill-ctype (v1.31.0) - Locking symfony/polyfill-intl-grapheme (v1.31.0) - Locking symfony/polyfill-intl-normalizer (v1.31.0) - Locking symfony/polyfill-mbstring (v1.31.0) - Locking symfony/polyfill-php80 (v1.31.0) - Locking symfony/service-contracts (v3.5.0) - Locking symfony/string (v7.1.6) - Locking tysonandre/var_representation_polyfill (0.1.3) - Locking webmozart/assert (1.11.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 40 installs, 0 updates, 0 removals 0 [>---------------------------] 0 [->--------------------------] - Installing squizlabs/php_codesniffer (3.10.3): Extracting archive - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive - Installing composer/pcre (3.3.2): Extracting archive - Installing diff/diff (3.3.1): Extracting archive - Installing symfony/polyfill-php80 (v1.31.0): Extracting archive - Installing phpcsstandards/phpcsutils (1.0.12): Extracting archive - Installing phpcsstandards/phpcsextra (1.2.1): Extracting archive - Installing symfony/polyfill-mbstring (v1.31.0): Extracting archive - Installing composer/spdx-licenses (1.5.8): Extracting archive - Installing composer/semver (3.4.3): Extracting archive - Installing mediawiki/mediawiki-codesniffer (v45.0.0): Extracting archive - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.31.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.31.0): Extracting archive - Installing symfony/polyfill-ctype (v1.31.0): Extracting archive - Installing symfony/string (v7.1.6): Extracting archive - Installing symfony/deprecation-contracts (v3.5.0): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing symfony/service-contracts (v3.5.0): Extracting archive - Installing symfony/console (v7.1.7): Extracting archive - Installing sabre/event (5.1.7): Extracting archive - Installing netresearch/jsonmapper (v4.5.0): Extracting archive - Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing phpstan/phpdoc-parser (2.0.0): Extracting archive - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive - Installing doctrine/deprecations (1.1.3): Extracting archive - Installing phpdocumentor/type-resolver (1.10.0): Extracting archive - Installing phpdocumentor/reflection-docblock (5.6.0): Extracting archive - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive - Installing psr/log (3.0.2): Extracting archive - Installing composer/xdebug-handler (3.0.5): Extracting archive - Installing phan/phan (5.4.3): Extracting archive - Installing mediawiki/phan-taint-check-plugin (6.0.0): Extracting archive - Installing mediawiki/mediawiki-phan-config (0.14.0): Extracting archive - Installing mediawiki/minus-x (1.1.3): Extracting archive - Installing opis/json-schema (1.1.0): Extracting archive - Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive - Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive - Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive 0/38 [>---------------------------] 0% 20/38 [==============>-------------] 52% 32/38 [=======================>----] 84% 38/38 [============================] 100% 1 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 16 packages you are using are looking for funding. Use the `composer fund` command to find out more! --- stdout --- PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils --- end --- Upgrading n:@wikimedia/codex from 1.13.1 -> 1.15.0 $ /usr/bin/npm install --- stderr --- npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'wdio-mediawiki@2.5.0', npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated domexception@2.0.1: Use your platform's native DOMException instead npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 --- stdout --- added 1492 packages, and audited 1493 packages in 19s 181 packages are looking for funding run `npm fund` for details 11 vulnerabilities (4 moderate, 7 high) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. --- end --- $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- $ /usr/bin/npm ci --- stderr --- npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'wdio-mediawiki@2.5.0', npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' }, npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' } npm WARN EBADENGINE } npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated domexception@2.0.1: Use your platform's native DOMException instead npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 --- stdout --- added 1492 packages, and audited 1493 packages in 22s 181 packages are looking for funding run `npm fund` for details 11 vulnerabilities (4 moderate, 7 high) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. --- end --- $ /usr/bin/npm test --- stderr --- PASS tests/jest/store/modules/factory.test.js PASS tests/jest/store/modules/submission.test.js PASS tests/jest/store/modules/zobject.test.js PASS tests/jest/store/modules/zfunction.test.js PASS tests/jest/store/modules/library.test.js PASS tests/jest/store/modules/router.test.js PASS tests/jest/mixins/typeUtils.test.js PASS tests/jest/components/default/ZObjectStringRenderer.test.js PASS tests/jest/components/widgets/about/About.test.js (5.529 s) PASS tests/jest/components/widgets/about/AboutLanguageBlock.test.js PASS tests/jest/mixins/zobjectUtils.test.js PASS tests/jest/components/default/ZObjectKeyValue.test.js (7.477 s) PASS tests/jest/components/widgets/function-evaluator/FunctionEvaluator.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: call - {"selectedfunctionzid":"Z10000","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: call - {"selectedfunctionzid":"Z10000","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/base/ModeSelector.test.js PASS tests/jest/store/modules/testResults.test.js PASS tests/jest/components/function/viewer/FunctionViewerDetails.test.js PASS tests/jest/store/modules/wikidata/entities.test.js PASS tests/jest/components/default/ZObjectToString.test.js PASS tests/jest/components/default/ZCode.test.js PASS tests/jest/store/modules/ztype.test.js PASS tests/jest/components/widgets/function-evaluator/FunctionMetadataDialog.test.js PASS tests/jest/store/modules/currentPage.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: change - {} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/widgets/function-explorer/FunctionExplorer.test.js PASS tests/jest/components/widgets/publish/PublishDialog.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z14","zobjectid":"Z10001","zlang":"Z1002","implementationtype":"Z14K3","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":true} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/languageselector/LanguageSelector.test.js PASS tests/jest/components/base/ZObjectSelector.test.js PASS tests/jest/store/classes/ApiError.test.js PASS tests/jest/components/default/ZImplementation.test.js PASS tests/jest/components/default/ZTester.test.js PASS tests/jest/mixins/schemata.test.js PASS tests/jest/components/default/wikidata/EntitySelector.test.js PASS tests/jest/components/widgets/function-report/FunctionReport.test.js PASS tests/jest/components/widgets/about/AboutLanguagesDialog.test.js PASS tests/jest/components/widgets/publish/Publish.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","implementationtype":"Z14K3"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z14","zobjectid":"Z10001","zlang":"Z1002","implementationtype":"Z14K3"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/default/wikidata/LexemeForm.test.js PASS tests/jest/components/function/editor/FunctionEditorFooter.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) FAIL tests/jest/integration/CreateNewCompositionImplementation.test.js (5.986 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 28 | 29 | it( 'should allow you to create a new composition implementation', async () => { > 30 | const { getByTestId, findByTestId } = render( App, { | ^ 31 | global: { plugins: [ store ], stubs: { 32 | teleport: true, 33 | WlFunctionEvaluatorWidget: true at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CreateNewCompositionImplementation.test.js:30:41) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z14","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) ● WikiLambda frontend, on zobject-editor view › should allow you to create a new composition implementation Unable to fire a "click" event - please provide a DOM element. 14 | const options = await within( parentWrapper ).findAllByRole( 'option', { hidden: true } ); 15 | const option = options.find( ( e ) => e.textContent === itemText ); > 16 | await fireEvent.click( option ); | ^ 17 | }; 18 | 19 | const lookupSearchAndSelect = async ( parentWrapper, searchText, selectText, selectType = '' ) => { at createEvent (node_modules/@testing-library/dom/dist/events.js:27:11) at Function.createEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:106:38) at Function.fireEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:110:68) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:34:24) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.click (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at clickLookupResult (tests/jest/integration/helpers/interactionHelpers.js:16:18) at Object.<anonymous> (tests/jest/integration/CreateNewCompositionImplementation.test.js:67:3) PASS tests/jest/components/base/TypeSelector.test.js PASS tests/jest/components/default/wikidata/Item.test.js PASS tests/jest/components/default/wikidata/Lexeme.test.js PASS tests/jest/components/default/ZArgumentReference.test.js PASS tests/jest/components/base/Pagination.test.js PASS tests/jest/integration/CreateNewTester.test.js (8.627 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 86 | 87 | it( 'allows creating a new tester', async () => { > 88 | const { findByTestId } = render( App, { | ^ 89 | global: { plugins: [ store ], stubs: { 90 | teleport: true, 91 | WlFunctionEvaluatorWidget: true at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CreateNewTester.test.js:88:28) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z20","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z20","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z20","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/function/editor/FunctionEditorInputsItem.test.js PASS tests/jest/components/default/ZReference.test.js PASS tests/jest/components/function/editor/FunctionEditorAliases.test.js PASS tests/jest/integration/CreateNewFunction.test.js (6.185 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 43 | getAllByTestId, 44 | getByText > 45 | } = render( App, { global: { plugins: [ store ] } } ); | ^ 46 | 47 | // ACT: Get First language block. Selected by default: English 48 | let languageBlocks = await findAllByTestId( 'function-editor-language-block' ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:45:7) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:53:9) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:57:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:71:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:87:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:105:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:109:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:118:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:122:9) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/EditFunction.test.js (6.794 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 46 | findAllByTestId, 47 | getByText > 48 | } = render( App, { global: { plugins: [ store ] } } ); | ^ 49 | 50 | // ACT: Get the language blocks 51 | let languageBlocks = await findAllByTestId( 'function-editor-language-block' ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/EditFunction.test.js:48:7) console.log Metrics Platform event emitted using submitInteraction: edit - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z12345","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/EditFunction.test.js:79:9) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z12345","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/EditFunction.test.js:87:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/EditFunction.test.js:92:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/EditFunction.test.js:113:9) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/store/modules/wikidata/lexemes.test.js PASS tests/jest/store/modules/errors.test.js PASS tests/jest/components/function/editor/FunctionEditorName.test.js PASS tests/jest/mixins/pageTitleUtils.test.js PASS tests/jest/integration/FunctionEditorEdgeCases.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 43 | getByText, 44 | queryByRole > 45 | } = render( App, { global: { plugins: [ store ] } } ); | ^ 46 | 47 | // ACT: Get First language block. Selected by default: English 48 | const languageBlocks = await findAllByTestId( 'function-editor-language-block' ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/FunctionEditorEdgeCases.test.js:45:7) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/FunctionEditorEdgeCases.test.js:97:9) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/store/modules/user.test.js PASS tests/jest/integration/DisconnectFunctionImplementation.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 91 | // TODO (T370509): fix the error ' [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 92 | // because we already have a store in the global object in jest.config.js > 93 | const renderForFunctionViewer = () => render( | ^ 94 | App, 95 | { container: document.createElement( 'div' ), global: { plugins: [ store ] } } 96 | ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at renderForFunctionViewer (tests/jest/integration/helpers/functionViewerDetailsTestHelpers.js:93:39) at Object.<anonymous> (tests/jest/integration/DisconnectFunctionImplementation.test.js:34:31) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 91 | // TODO (T370509): fix the error ' [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 92 | // because we already have a store in the global object in jest.config.js > 93 | const renderForFunctionViewer = () => render( | ^ 94 | App, 95 | { container: document.createElement( 'div' ), global: { plugins: [ store ] } } 96 | ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at renderForFunctionViewer (tests/jest/integration/helpers/functionViewerDetailsTestHelpers.js:93:39) at Object.<anonymous> (tests/jest/integration/DisconnectFunctionImplementation.test.js:64:60) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/default/ZTypedList.test.js FAIL tests/jest/integration/RunFunctionCall.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 31 | it( 'allows choosing a function and calling it', async () => { 32 | const { findByRole, findByText, findByTestId } = > 33 | render( App, { global: { plugins: [ store ] } } ); | ^ 34 | 35 | // ACT: Select a function 36 | const functionSelectorBlock = await findByTestId( 'function-evaluator-call' ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/RunFunctionCall.test.js:33:4) ● WikiLambda frontend, running a function on Run Function Special page › allows choosing a function and calling it Unable to fire a "click" event - please provide a DOM element. 14 | const options = await within( parentWrapper ).findAllByRole( 'option', { hidden: true } ); 15 | const option = options.find( ( e ) => e.textContent === itemText ); > 16 | await fireEvent.click( option ); | ^ 17 | }; 18 | 19 | const lookupSearchAndSelect = async ( parentWrapper, searchText, selectText, selectType = '' ) => { at createEvent (node_modules/@testing-library/dom/dist/events.js:27:11) at Function.createEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:106:38) at Function.fireEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:110:68) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:34:24) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.click (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at clickLookupResult (tests/jest/integration/helpers/interactionHelpers.js:16:18) at Object.<anonymous> (tests/jest/integration/RunFunctionCall.test.js:41:3) PASS tests/jest/components/function/editor/FunctionEditorInputs.test.js PASS tests/jest/components/App.test.js PASS tests/jest/components/function/editor/FunctionEditorDescription.test.js PASS tests/jest/store/modules/wikidata/items.test.js PASS tests/jest/components/base/ClipboardManager.test.js PASS tests/jest/components/default/ZTypedListType.test.js PASS tests/jest/integration/FunctionEditorGenericTypes.test.js (6.083 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 44 | getByText, 45 | queryByRole > 46 | } = render( App, { global: { plugins: [ store ] } } ); | ^ 47 | 48 | const languageBlocks = await findAllByTestId( 'function-editor-language-block' ); 49 | const firstLanguageBlock = languageBlocks[ 0 ]; at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/FunctionEditorGenericTypes.test.js:46:7) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/function/editor/FunctionEditorLanguageBlock.test.js PASS tests/jest/mixins/errorUtils.test.js PASS tests/jest/integration/CreateNewCodeImplementation.test.js (7.205 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 27 | 28 | it( 'should allow you to create a new code implementation', async () => { > 29 | const { getByTestId, findByTestId } = render( App, { | ^ 30 | global: { plugins: [ store ], stubs: { 31 | teleport: true, 32 | WlFunctionEvaluatorWidget: true at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CreateNewCodeImplementation.test.js:29:41) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z14","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z14","implementationtype":"Z14K2","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z14","zobjectid":"Z0","zlang":"Z1002","implementationtype":"Z14K3","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/composables/useBreakpoints.test.js PASS tests/jest/store/modules/functionCall.test.js PASS tests/jest/components/base/CodeEditor.test.js PASS tests/jest/mixins/urlUtils.test.js PASS tests/jest/components/widgets/function-report/FunctionReportItem.test.js PASS tests/jest/components/function/editor/FunctionEditor.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/default/ZMonolingualString.test.js PASS tests/jest/mixins/utilsMixins.test.js PASS tests/jest/components/widgets/function-evaluator/EvaluationResult.test.js PASS tests/jest/integration/ConnectFunctionImplementation.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 91 | // TODO (T370509): fix the error ' [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 92 | // because we already have a store in the global object in jest.config.js > 93 | const renderForFunctionViewer = () => render( | ^ 94 | App, 95 | { container: document.createElement( 'div' ), global: { plugins: [ store ] } } 96 | ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at renderForFunctionViewer (tests/jest/integration/helpers/functionViewerDetailsTestHelpers.js:93:39) at Object.<anonymous> (tests/jest/integration/ConnectFunctionImplementation.test.js:40:31) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/ConnectFunctionTest.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 91 | // TODO (T370509): fix the error ' [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 92 | // because we already have a store in the global object in jest.config.js > 93 | const renderForFunctionViewer = () => render( | ^ 94 | App, 95 | { container: document.createElement( 'div' ), global: { plugins: [ store ] } } 96 | ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at renderForFunctionViewer (tests/jest/integration/helpers/functionViewerDetailsTestHelpers.js:93:39) at Object.<anonymous> (tests/jest/integration/ConnectFunctionTest.test.js:38:31) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/function/editor/FunctionEditorOutput.test.js PASS tests/jest/components/base/ExpandedToggle.test.js PASS tests/jest/store/modules/languages.test.js PASS tests/jest/components/default/ZBoolean.test.js PASS tests/jest/integration/DisconnectFunctionTest.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 91 | // TODO (T370509): fix the error ' [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 92 | // because we already have a store in the global object in jest.config.js > 93 | const renderForFunctionViewer = () => render( | ^ 94 | App, 95 | { container: document.createElement( 'div' ), global: { plugins: [ store ] } } 96 | ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at renderForFunctionViewer (tests/jest/integration/helpers/functionViewerDetailsTestHelpers.js:93:39) at Object.<anonymous> (tests/jest/integration/DisconnectFunctionTest.test.js:35:31) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/default/ZString.test.js PASS tests/jest/components/function/editor/FunctionEditorLanguage.test.js PASS tests/jest/integration/CancelEditExistingFunction.test.js (6.38 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 39 | it( 'allows cancelling with no changes', async () => { 40 | const { findByText } = > 41 | render( App, { global: { plugins: [ store ] } } ); | ^ 42 | 43 | // ACT: Click cancel button. 44 | await fireEvent.click( await findByText( 'Cancel' ) ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CancelEditExistingFunction.test.js:41:4) console.log Metrics Platform event emitted using submitInteraction: edit - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 50 | it( 'allows cancelling after changes', async () => { 51 | const { getByText, findByRole, findByText, getAllByTestId } = > 52 | render( App, { global: { plugins: [ store ] } } ); | ^ 53 | 54 | // ACT: Click "Add language". 55 | await fireEvent.click( await findByText( 'Add language' ) ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CancelEditExistingFunction.test.js:52:4) console.log Metrics Platform event emitted using submitInteraction: edit - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CancelEditExistingFunction.test.js:63:9) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z12345","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/default/ZTypedListItems.test.js PASS tests/jest/store/modules/listItems.test.js PASS tests/jest/mixins/clipboardUtils.test.js PASS tests/jest/components/base/LocalizedLabel.test.js PASS tests/jest/components/base/TypeToString.test.js PASS tests/jest/mixins/eventLogUtils.test.js PASS tests/jest/views/FunctionViewer.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/store/modules/programmingLanguages.test.js PASS tests/jest/integration/CancelEditNewFunction.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 36 | it( 'allows cancelling with no changes', async () => { 37 | const { findByText } = > 38 | render( App, { global: { plugins: [ store ] } } ); | ^ 39 | 40 | // ACT: Click cancel button. 41 | await fireEvent.click( await findByText( 'Cancel' ) ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CancelEditNewFunction.test.js:38:4) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 50 | findByTestId, 51 | getByText > 52 | } = render( App, { global: { plugins: [ store ] } } ); | ^ 53 | 54 | // ACT: Change first language name 55 | const nameInput = await findByTestId( 'function-editor-name-input' ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CancelEditNewFunction.test.js:52:7) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CancelEditNewFunction.test.js:56:9) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/widgets/publish/LeaveEditorDialog.test.js PASS tests/jest/components/default/ZFunctionCall.test.js PASS tests/jest/mixins/wikidataUtils.test.js PASS tests/jest/components/function/viewer/FunctionViewerDetailsTable.test.js PASS tests/jest/store/index.test.js Jest: "./resources/ext.wikilambda.app/store" coverage threshold for functions (99%) not met: 98.97% Summary of all failing tests FAIL tests/jest/integration/CreateNewCompositionImplementation.test.js (5.986 s) ● WikiLambda frontend, on zobject-editor view › should allow you to create a new composition implementation Unable to fire a "click" event - please provide a DOM element. 14 | const options = await within( parentWrapper ).findAllByRole( 'option', { hidden: true } ); 15 | const option = options.find( ( e ) => e.textContent === itemText ); > 16 | await fireEvent.click( option ); | ^ 17 | }; 18 | 19 | const lookupSearchAndSelect = async ( parentWrapper, searchText, selectText, selectType = '' ) => { at createEvent (node_modules/@testing-library/dom/dist/events.js:27:11) at Function.createEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:106:38) at Function.fireEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:110:68) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:34:24) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.click (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at clickLookupResult (tests/jest/integration/helpers/interactionHelpers.js:16:18) at Object.<anonymous> (tests/jest/integration/CreateNewCompositionImplementation.test.js:67:3) FAIL tests/jest/integration/RunFunctionCall.test.js ● WikiLambda frontend, running a function on Run Function Special page › allows choosing a function and calling it Unable to fire a "click" event - please provide a DOM element. 14 | const options = await within( parentWrapper ).findAllByRole( 'option', { hidden: true } ); 15 | const option = options.find( ( e ) => e.textContent === itemText ); > 16 | await fireEvent.click( option ); | ^ 17 | }; 18 | 19 | const lookupSearchAndSelect = async ( parentWrapper, searchText, selectText, selectType = '' ) => { at createEvent (node_modules/@testing-library/dom/dist/events.js:27:11) at Function.createEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:106:38) at Function.fireEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:110:68) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:34:24) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.click (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at clickLookupResult (tests/jest/integration/helpers/interactionHelpers.js:16:18) at Object.<anonymous> (tests/jest/integration/RunFunctionCall.test.js:41:3) Test Suites: 2 failed, 98 passed, 100 total Tests: 2 failed, 1491 passed, 1493 total Snapshots: 0 total Time: 72.716 s Ran all test suites. --- stdout --- > test > grunt test && npm run test:unit Running "eslint:all" (eslint) task /src/repo/docker-compose.sample.yml 3:1 warning This line has a length of 103. Maximum allowed is 100 max-len 4:1 warning This line has a length of 107. Maximum allowed is 100 max-len 48:1 warning This line has a length of 117. Maximum allowed is 100 max-len 49:1 warning This line has a length of 104. Maximum allowed is 100 max-len 50:1 warning This line has a length of 106. Maximum allowed is 100 max-len 56:1 warning This line has a length of 120. Maximum allowed is 100 max-len 57:1 warning This line has a length of 104. Maximum allowed is 100 max-len 58:1 warning This line has a length of 109. Maximum allowed is 100 max-len /src/repo/resources/ext.wikilambda.app/components/base/ZObjectSelector.vue 24:4 warning 'v-model' directives require no argument vue/no-v-model-argument /src/repo/resources/ext.wikilambda.app/components/default-view-types/wikidata/EntitySelector.vue 9:3 warning 'v-model' directives require no argument vue/no-v-model-argument /src/repo/resources/ext.wikilambda.app/store/modules/wikidata/items.js 70:3 warning JSDoc @return declaration present but return expression not available in function jsdoc/require-returns-check /src/repo/resources/ext.wikilambda.app/store/modules/wikidata/lexemes.js 111:3 warning JSDoc @return declaration present but return expression not available in function jsdoc/require-returns-check /src/repo/resources/ext.wikilambda.languageselector/components/LanguageSelector.vue 27:5 warning 'v-model' directives require no argument vue/no-v-model-argument ✖ 13 problems (0 errors, 13 warnings) Running "banana:WikiLambda" (banana) task >> 2 message directories checked. Running "stylelint:all" (stylelint) task >> Linted 269 files without errors Done. > test:unit > jest -----------------------------------------------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------------------------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------------------------------------------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------------------------------------- All files | 98.55 | 93.14 | 96.01 | 98.55 | ext.wikilambda.app | 100 | 100 | 100 | 100 | Constants.js | 100 | 100 | 100 | 100 | ext.wikilambda.app/components | 100 | 100 | 100 | 100 | App.vue | 100 | 100 | 100 | 100 | ext.wikilambda.app/components/base | 98.82 | 92.82 | 96.47 | 98.82 | ClipboardManager.vue | 100 | 100 | 100 | 100 | CodeEditor.vue | 100 | 100 | 100 | 100 | CustomDialogHeader.vue | 100 | 100 | 100 | 100 | ExpandedToggle.vue | 100 | 100 | 100 | 100 | KeyBlock.vue | 100 | 100 | 100 | 100 | KeyValueBlock.vue | 100 | 100 | 100 | 100 | LocalizedLabel.vue | 100 | 100 | 100 | 100 | ModeSelector.vue | 99.4 | 94.73 | 100 | 99.4 | 188-189 Pagination.vue | 100 | 100 | 100 | 100 | StatusIcon.vue | 100 | 100 | 100 | 100 | TypeSelector.vue | 94.44 | 78.57 | 85.71 | 94.44 | 153-157,169-171,174-177 TypeToString.vue | 99.33 | 94.11 | 100 | 99.33 | 78 WidgetBase.vue | 100 | 100 | 100 | 100 | ZObjectSelector.vue | 97.71 | 88.23 | 91.3 | 97.71 | 298,339-340,394-395,404,418-420,424-425,453-454 ext.wikilambda.app/components/default-view-types | 98.36 | 92.5 | 93.25 | 98.36 | ZArgumentReference.vue | 100 | 100 | 100 | 100 | ZBoolean.vue | 100 | 100 | 100 | 100 | ZCode.vue | 99.78 | 92.3 | 100 | 99.78 | 355 ZFunctionCall.vue | 100 | 100 | 100 | 100 | ZImplementation.vue | 100 | 100 | 100 | 100 | ZMonolingualString.vue | 100 | 92.3 | 100 | 100 | 136 ZObjectKeyValue.vue | 94.56 | 89.87 | 82.75 | 94.56 | 197,206,293,324-325,385-386,585-589,605-607,631-632,644-646,662-663,678-679,741-747,757-758,773-777,779-780,782-783,785-786,788,790,802 ZObjectKeyValueSet.vue | 98.09 | 100 | 75 | 98.09 | 82-83 ZObjectStringRenderer.vue | 97.66 | 88.33 | 84.61 | 97.66 | 265,390-391,467,490-493,526-530 ZObjectToString.vue | 100 | 95.12 | 100 | 100 | 167,207 ZReference.vue | 100 | 95.45 | 100 | 100 | 96 ZString.vue | 100 | 100 | 100 | 100 | ZTester.vue | 99.29 | 95.45 | 100 | 99.29 | 215-216 ZTypedList.vue | 98.58 | 90.9 | 83.33 | 98.58 | 131-132 ZTypedListItems.vue | 98.51 | 100 | 80 | 98.51 | 85-86 ZTypedListType.vue | 100 | 100 | 100 | 100 | ext.wikilambda.app/components/default-view-types/wikidata | 99.67 | 82.6 | 100 | 99.67 | EntitySelector.vue | 99.49 | 82.75 | 100 | 99.49 | 88 Item.vue | 100 | 82.14 | 100 | 100 | 103,122,141,144,188 Lexeme.vue | 100 | 82.75 | 100 | 100 | 103,122,141,144,188 LexemeForm.vue | 99.19 | 82.75 | 100 | 99.19 | 124-125 ext.wikilambda.app/components/function/editor | 99.16 | 95.02 | 97.08 | 99.16 | FunctionEditor.vue | 100 | 89.28 | 100 | 100 | 124,221-222 FunctionEditorAliases.vue | 100 | 100 | 100 | 100 | FunctionEditorDescription.vue | 96.74 | 90.47 | 91.66 | 96.74 | 141-142,151-152,178-180 FunctionEditorField.vue | 100 | 100 | 100 | 100 | FunctionEditorFooter.vue | 98.55 | 89.47 | 100 | 98.55 | 87-88 FunctionEditorInputs.vue | 100 | 100 | 100 | 100 | FunctionEditorInputsItem.vue | 99.39 | 100 | 92.3 | 99.39 | 218-219 FunctionEditorLanguage.vue | 100 | 100 | 100 | 100 | FunctionEditorLanguageBlock.vue | 100 | 100 | 100 | 100 | FunctionEditorName.vue | 96.84 | 90.9 | 91.66 | 96.84 | 146-147,156-157,183-185 FunctionEditorOutput.vue | 100 | 100 | 100 | 100 | ext.wikilambda.app/components/function/viewer | 98.47 | 95.65 | 88.7 | 98.47 | FunctionTesterTable.vue | 94.97 | 85.71 | 87.5 | 94.97 | 90-91,108,158-163 FunctionViewerDetails.vue | 98.94 | 97.29 | 91.3 | 98.94 | 278-279,650,672,693,781,790,797,804 FunctionViewerDetailsTable.vue | 99.29 | 100 | 75 | 99.29 | 173,180 ext.wikilambda.app/components/widgets/about | 98.35 | 91.47 | 95.16 | 98.35 | About.vue | 98.74 | 94.84 | 93.33 | 98.74 | 246,290-293,328-329,435-436 AboutLanguageBlock.vue | 99.66 | 95.65 | 100 | 99.66 | 479-480 AboutLanguagesDialog.vue | 95.66 | 75.75 | 92.85 | 95.66 | 172,257-259,270-272,291-292,320-321,323-324,326-327,329-330 ext.wikilambda.app/components/widgets/function-evaluator | 96.83 | 81.2 | 94.73 | 96.83 | EvaluationResult.vue | 96.06 | 75 | 60 | 96.06 | 85,94-95,109-110 FunctionEvaluator.vue | 100 | 88.67 | 100 | 100 | 347,382,409-412 FunctionMetadataDialog.vue | 95.02 | 77.17 | 96.66 | 95.02 | 244-245,281-282,288-289,383-384,404,420-421,535-536,622,633-634,638,659,687-689,695-699,713-717,722-726,731-735 ext.wikilambda.app/components/widgets/function-explorer | 99.43 | 100 | 84.61 | 99.43 | FunctionExplorer.vue | 99.43 | 100 | 84.61 | 99.43 | 271,274 ext.wikilambda.app/components/widgets/function-report | 96.56 | 91.35 | 89.65 | 96.56 | FunctionReport.vue | 95.78 | 86.53 | 90.47 | 95.78 | 224-226,284-286,292-294,324-326,330-332 FunctionReportItem.vue | 97.78 | 100 | 87.5 | 97.78 | 176-180 ext.wikilambda.app/components/widgets/publish | 97.92 | 84.72 | 91.89 | 97.92 | LeaveEditorDialog.vue | 100 | 100 | 100 | 100 | Publish.vue | 94.42 | 81.81 | 81.25 | 94.42 | 99-107,134,200-202,220-222 PublishDialog.vue | 100 | 85.29 | 100 | 100 | 237,303,336-338 ext.wikilambda.app/composables | 100 | 100 | 100 | 100 | useBreakpoints.js | 100 | 100 | 100 | 100 | ext.wikilambda.app/mixins | 97.93 | 95.95 | 98.71 | 97.93 | api.js | 100 | 91.3 | 100 | 100 | 119-120 clipboardUtils.js | 100 | 100 | 100 | 100 | errorUtils.js | 98.13 | 81.81 | 100 | 98.13 | 76-77 eventLogUtils.js | 82.19 | 100 | 75 | 82.19 | 59-71 metadata.js | 100 | 100 | 100 | 100 | pageTitleUtils.js | 100 | 94.44 | 100 | 100 | 71 schemata.js | 98.41 | 94.23 | 100 | 98.41 | 205-206,208-209,299-300 typeUtils.js | 96.96 | 98.92 | 100 | 96.96 | 533-554 urlUtils.js | 100 | 100 | 100 | 100 | utilsMixins.js | 100 | 100 | 100 | 100 | wikidataUtils.js | 100 | 100 | 100 | 100 | zobjectUtils.js | 100 | 100 | 100 | 100 | ext.wikilambda.app/store | 100 | 100 | 100 | 100 | index.js | 100 | 100 | 100 | 100 | ext.wikilambda.app/store/classes | 100 | 97.67 | 100 | 100 | ApiError.js | 100 | 100 | 100 | 100 | LabelData.js | 100 | 92.85 | 100 | 100 | 45 Row.js | 100 | 100 | 100 | 100 | ext.wikilambda.app/store/modules | 99.07 | 96.35 | 98.52 | 99.07 | errors.js | 100 | 100 | 100 | 100 | functionCall.js | 90.32 | 100 | 50 | 90.32 | 19,22-27,31-32 languages.js | 100 | 100 | 100 | 100 | library.js | 98.75 | 94.59 | 100 | 98.75 | 370-371,396-397,408-410,623-624,733-734 listItems.js | 100 | 100 | 100 | 100 | programmingLanguages.js | 100 | 100 | 100 | 100 | router.js | 100 | 100 | 100 | 100 | testResults.js | 100 | 90.38 | 100 | 100 | 112,196,254-256 user.js | 100 | 100 | 100 | 100 | zfunction.js | 100 | 100 | 100 | 100 | zobject.js | 98.97 | 95.89 | 100 | 98.97 | 459-463,532-533,555-556,578-579,1120-1121,1155-1156,1443-1444,1708-1709,2023-2025 ztype.js | 99.1 | 100 | 94.73 | 99.1 | 164,284-285 ext.wikilambda.app/store/modules/wikidata | 100 | 94.82 | 100 | 100 | entities.js | 100 | 95 | 100 | 100 | 99 items.js | 100 | 93.33 | 100 | 100 | 93 lexemes.js | 100 | 95.65 | 100 | 100 | 134 ext.wikilambda.app/store/modules/zobject | 98.57 | 96.19 | 100 | 98.57 | currentPage.js | 100 | 100 | 100 | 100 | factory.js | 97.45 | 93.8 | 100 | 97.45 | 153-159,776-782,795-801,808 submission.js | 99.8 | 98.57 | 100 | 99.8 | 226 ext.wikilambda.app/views | 96.59 | 66.66 | 89.47 | 96.59 | Default.vue | 97.38 | 62.5 | 92.3 | 97.38 | 182-183,224,238-241 FunctionEditor.vue | 100 | 100 | 100 | 100 | FunctionEvaluator.vue | 100 | 100 | 100 | 100 | FunctionViewer.vue | 92.23 | 71.42 | 75 | 92.23 | 83-90 ext.wikilambda.languageselector/components | 98.03 | 93.75 | 94.11 | 98.03 | LanguageSelector.vue | 98.03 | 93.75 | 94.11 | 98.03 | 226-227,265-266,287-288 -----------------------------------------------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------------------------------------- --- end --- $ node_modules/.bin/jest -u --- stderr --- FAIL tests/jest/integration/RunFunctionCall.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 31 | it( 'allows choosing a function and calling it', async () => { 32 | const { findByRole, findByText, findByTestId } = > 33 | render( App, { global: { plugins: [ store ] } } ); | ^ 34 | 35 | // ACT: Select a function 36 | const functionSelectorBlock = await findByTestId( 'function-evaluator-call' ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/RunFunctionCall.test.js:33:4) ● WikiLambda frontend, running a function on Run Function Special page › allows choosing a function and calling it Unable to fire a "click" event - please provide a DOM element. 14 | const options = await within( parentWrapper ).findAllByRole( 'option', { hidden: true } ); 15 | const option = options.find( ( e ) => e.textContent === itemText ); > 16 | await fireEvent.click( option ); | ^ 17 | }; 18 | 19 | const lookupSearchAndSelect = async ( parentWrapper, searchText, selectText, selectType = '' ) => { at createEvent (node_modules/@testing-library/dom/dist/events.js:27:11) at Function.createEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:106:38) at Function.fireEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:110:68) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:34:24) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.click (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at clickLookupResult (tests/jest/integration/helpers/interactionHelpers.js:16:18) at Object.<anonymous> (tests/jest/integration/RunFunctionCall.test.js:41:3) FAIL tests/jest/integration/CreateNewCompositionImplementation.test.js (5.554 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 28 | 29 | it( 'should allow you to create a new composition implementation', async () => { > 30 | const { getByTestId, findByTestId } = render( App, { | ^ 31 | global: { plugins: [ store ], stubs: { 32 | teleport: true, 33 | WlFunctionEvaluatorWidget: true at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CreateNewCompositionImplementation.test.js:30:41) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z14","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) ● WikiLambda frontend, on zobject-editor view › should allow you to create a new composition implementation Unable to fire a "click" event - please provide a DOM element. 14 | const options = await within( parentWrapper ).findAllByRole( 'option', { hidden: true } ); 15 | const option = options.find( ( e ) => e.textContent === itemText ); > 16 | await fireEvent.click( option ); | ^ 17 | }; 18 | 19 | const lookupSearchAndSelect = async ( parentWrapper, searchText, selectText, selectType = '' ) => { at createEvent (node_modules/@testing-library/dom/dist/events.js:27:11) at Function.createEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:106:38) at Function.fireEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:110:68) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:34:24) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.click (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at clickLookupResult (tests/jest/integration/helpers/interactionHelpers.js:16:18) at Object.<anonymous> (tests/jest/integration/CreateNewCompositionImplementation.test.js:67:3) PASS tests/jest/components/default/ZObjectKeyValue.test.js PASS tests/jest/integration/CreateNewTester.test.js (9.154 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 86 | 87 | it( 'allows creating a new tester', async () => { > 88 | const { findByTestId } = render( App, { | ^ 89 | global: { plugins: [ store ], stubs: { 90 | teleport: true, 91 | WlFunctionEvaluatorWidget: true at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CreateNewTester.test.js:88:28) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z20","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z20","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z20","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/CreateNewCodeImplementation.test.js (6.144 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 27 | 28 | it( 'should allow you to create a new code implementation', async () => { > 29 | const { getByTestId, findByTestId } = render( App, { | ^ 30 | global: { plugins: [ store ], stubs: { 31 | teleport: true, 32 | WlFunctionEvaluatorWidget: true at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CreateNewCodeImplementation.test.js:29:41) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z14","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z14","implementationtype":"Z14K2","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z14","zobjectid":"Z0","zlang":"Z1002","implementationtype":"Z14K3","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/EditFunction.test.js (5.538 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 46 | findAllByTestId, 47 | getByText > 48 | } = render( App, { global: { plugins: [ store ] } } ); | ^ 49 | 50 | // ACT: Get the language blocks 51 | let languageBlocks = await findAllByTestId( 'function-editor-language-block' ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/EditFunction.test.js:48:7) console.log Metrics Platform event emitted using submitInteraction: edit - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z12345","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/EditFunction.test.js:79:9) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z12345","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/EditFunction.test.js:87:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/EditFunction.test.js:92:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/EditFunction.test.js:113:9) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/CancelEditExistingFunction.test.js (5.884 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 39 | it( 'allows cancelling with no changes', async () => { 40 | const { findByText } = > 41 | render( App, { global: { plugins: [ store ] } } ); | ^ 42 | 43 | // ACT: Click cancel button. 44 | await fireEvent.click( await findByText( 'Cancel' ) ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CancelEditExistingFunction.test.js:41:4) console.log Metrics Platform event emitted using submitInteraction: edit - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 50 | it( 'allows cancelling after changes', async () => { 51 | const { getByText, findByRole, findByText, getAllByTestId } = > 52 | render( App, { global: { plugins: [ store ] } } ); | ^ 53 | 54 | // ACT: Click "Add language". 55 | await fireEvent.click( await findByText( 'Add language' ) ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CancelEditExistingFunction.test.js:52:4) console.log Metrics Platform event emitted using submitInteraction: edit - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CancelEditExistingFunction.test.js:63:9) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z12345","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/CreateNewFunction.test.js (6.253 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 43 | getAllByTestId, 44 | getByText > 45 | } = render( App, { global: { plugins: [ store ] } } ); | ^ 46 | 47 | // ACT: Get First language block. Selected by default: English 48 | let languageBlocks = await findAllByTestId( 'function-editor-language-block' ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:45:7) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:53:9) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:57:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:71:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:87:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:105:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:109:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:118:9) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CreateNewFunction.test.js:122:9) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/FunctionEditorGenericTypes.test.js (5.967 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 44 | getByText, 45 | queryByRole > 46 | } = render( App, { global: { plugins: [ store ] } } ); | ^ 47 | 48 | const languageBlocks = await findAllByTestId( 'function-editor-language-block' ); 49 | const firstLanguageBlock = languageBlocks[ 0 ]; at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/FunctionEditorGenericTypes.test.js:46:7) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/widgets/about/About.test.js PASS tests/jest/integration/CancelEditNewFunction.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 36 | it( 'allows cancelling with no changes', async () => { 37 | const { findByText } = > 38 | render( App, { global: { plugins: [ store ] } } ); | ^ 39 | 40 | // ACT: Click cancel button. 41 | await fireEvent.click( await findByText( 'Cancel' ) ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CancelEditNewFunction.test.js:38:4) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 50 | findByTestId, 51 | getByText > 52 | } = render( App, { global: { plugins: [ store ] } } ); | ^ 53 | 54 | // ACT: Change first language name 55 | const nameInput = await findByTestId( 'function-editor-name-input' ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/CancelEditNewFunction.test.js:52:7) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/CancelEditNewFunction.test.js:56:9) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/FunctionEditorEdgeCases.test.js (5.355 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 43 | getByText, 44 | queryByRole > 45 | } = render( App, { global: { plugins: [ store ] } } ); | ^ 46 | 47 | // ACT: Get First language block. Selected by default: English 48 | const languageBlocks = await findAllByTestId( 'function-editor-language-block' ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at Object.<anonymous> (tests/jest/integration/FunctionEditorEdgeCases.test.js:45:7) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead. 29 | const textbox = within( parentWrapper ).getByRole( 'textbox' ); 30 | // TODO (T370511): Using "fireEvent.change" may lead to unexpected results. Please use fireEvent.update() instead > 31 | return fireEvent.change( textbox, { target: { value: newText } } ); | ^ 32 | }; 33 | 34 | const chipInputAddChip = async ( parentWrapper, newChip ) => { at warnOnChangeOrInputEventCalledDirectly (node_modules/@testing-library/vue/dist/fire-event.js:103:13) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:32:5) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.change (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at textInputChange (tests/jest/integration/helpers/interactionHelpers.js:31:19) at Object.<anonymous> (tests/jest/integration/FunctionEditorEdgeCases.test.js:97:9) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/DisconnectFunctionImplementation.test.js (5.184 s) ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 91 | // TODO (T370509): fix the error ' [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 92 | // because we already have a store in the global object in jest.config.js > 93 | const renderForFunctionViewer = () => render( | ^ 94 | App, 95 | { container: document.createElement( 'div' ), global: { plugins: [ store ] } } 96 | ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at renderForFunctionViewer (tests/jest/integration/helpers/functionViewerDetailsTestHelpers.js:93:39) at Object.<anonymous> (tests/jest/integration/DisconnectFunctionImplementation.test.js:34:31) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 91 | // TODO (T370509): fix the error ' [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 92 | // because we already have a store in the global object in jest.config.js > 93 | const renderForFunctionViewer = () => render( | ^ 94 | App, 95 | { container: document.createElement( 'div' ), global: { plugins: [ store ] } } 96 | ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at renderForFunctionViewer (tests/jest/integration/helpers/functionViewerDetailsTestHelpers.js:93:39) at Object.<anonymous> (tests/jest/integration/DisconnectFunctionImplementation.test.js:64:60) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/function/viewer/FunctionViewerDetails.test.js PASS tests/jest/components/base/ZObjectSelector.test.js PASS tests/jest/integration/ConnectFunctionImplementation.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 91 | // TODO (T370509): fix the error ' [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 92 | // because we already have a store in the global object in jest.config.js > 93 | const renderForFunctionViewer = () => render( | ^ 94 | App, 95 | { container: document.createElement( 'div' ), global: { plugins: [ store ] } } 96 | ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at renderForFunctionViewer (tests/jest/integration/helpers/functionViewerDetailsTestHelpers.js:93:39) at Object.<anonymous> (tests/jest/integration/ConnectFunctionImplementation.test.js:40:31) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/widgets/function-evaluator/FunctionEvaluator.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: call - {"selectedfunctionzid":"Z10000","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: call - {"selectedfunctionzid":"Z10000","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/DisconnectFunctionTest.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 91 | // TODO (T370509): fix the error ' [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 92 | // because we already have a store in the global object in jest.config.js > 93 | const renderForFunctionViewer = () => render( | ^ 94 | App, 95 | { container: document.createElement( 'div' ), global: { plugins: [ store ] } } 96 | ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at renderForFunctionViewer (tests/jest/integration/helpers/functionViewerDetailsTestHelpers.js:93:39) at Object.<anonymous> (tests/jest/integration/DisconnectFunctionTest.test.js:35:31) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/integration/ConnectFunctionTest.test.js ● Console console.warn [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 91 | // TODO (T370509): fix the error ' [Vue warn]: App already provides property with key "store". It will be overwritten with the new value. 92 | // because we already have a store in the global object in jest.config.js > 93 | const renderForFunctionViewer = () => render( | ^ 94 | App, 95 | { container: document.createElement( 'div' ), global: { plugins: [ store ] } } 96 | ); at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13) at Object.provide (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3961:11) at Store.install (node_modules/vuex/dist/vuex.cjs.js:943:7) at Object.use (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3854:18) at createInstance (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8292:17) at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:8385:14) at render (node_modules/@testing-library/vue/dist/render.js:45:38) at renderForFunctionViewer (tests/jest/integration/helpers/functionViewerDetailsTestHelpers.js:93:39) at Object.<anonymous> (tests/jest/integration/ConnectFunctionTest.test.js:38:31) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/languageselector/LanguageSelector.test.js PASS tests/jest/components/base/ModeSelector.test.js PASS tests/jest/components/widgets/function-evaluator/FunctionMetadataDialog.test.js PASS tests/jest/components/widgets/function-explorer/FunctionExplorer.test.js PASS tests/jest/components/default/ZObjectStringRenderer.test.js PASS tests/jest/components/widgets/function-report/FunctionReport.test.js PASS tests/jest/components/widgets/publish/PublishDialog.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z14","zobjectid":"Z10001","zlang":"Z1002","implementationtype":"Z14K3","haserrors":false} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: publish - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","haserrors":true} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/default/ZObjectToString.test.js PASS tests/jest/components/default/ZCode.test.js PASS tests/jest/components/App.test.js PASS tests/jest/components/widgets/publish/Publish.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002","implementationtype":"Z14K3"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: cancel - {"zobjecttype":"Z14","zobjectid":"Z10001","zlang":"Z1002","implementationtype":"Z14K3"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/default/ZTester.test.js PASS tests/jest/components/base/ExpandedToggle.test.js PASS tests/jest/components/widgets/about/AboutLanguagesDialog.test.js PASS tests/jest/components/default/wikidata/EntitySelector.test.js PASS tests/jest/components/default/ZMonolingualString.test.js PASS tests/jest/components/default/ZTypedListItems.test.js PASS tests/jest/components/default/ZImplementation.test.js PASS tests/jest/components/widgets/function-evaluator/EvaluationResult.test.js PASS tests/jest/components/function/editor/FunctionEditorFooter.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: change - {"zobjectid":"Z0","zobjecttype":"Z8","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/default/ZTypedList.test.js PASS tests/jest/components/default/ZString.test.js PASS tests/jest/components/function/editor/FunctionEditor.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: create - {"zobjecttype":"Z8","zobjectid":"Z0","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/components/default/ZBoolean.test.js PASS tests/jest/components/function/editor/FunctionEditorLanguageBlock.test.js PASS tests/jest/components/base/CodeEditor.test.js PASS tests/jest/components/default/ZTypedListType.test.js PASS tests/jest/components/widgets/publish/LeaveEditorDialog.test.js PASS tests/jest/components/function/editor/FunctionEditorDescription.test.js PASS tests/jest/views/FunctionViewer.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) console.log Metrics Platform event emitted using submitInteraction: view - {"zobjecttype":"Z8","zobjectid":"Z12345","zlang":"Z1002"} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/store/modules/programmingLanguages.test.js PASS tests/jest/components/base/TypeToString.test.js PASS tests/jest/components/function/viewer/FunctionViewerDetailsTable.test.js PASS tests/jest/components/base/Pagination.test.js PASS tests/jest/components/base/LocalizedLabel.test.js PASS tests/jest/components/widgets/function-report/FunctionReportItem.test.js PASS tests/jest/mixins/utilsMixins.test.js PASS tests/jest/components/function/editor/FunctionEditorLanguage.test.js PASS tests/jest/mixins/wikidataUtils.test.js PASS tests/jest/store/index.test.js PASS tests/jest/mixins/pageTitleUtils.test.js PASS tests/jest/components/function/editor/FunctionEditorName.test.js PASS tests/jest/store/modules/listItems.test.js PASS tests/jest/components/base/ClipboardManager.test.js PASS tests/jest/components/default/ZFunctionCall.test.js PASS tests/jest/components/base/TypeSelector.test.js PASS tests/jest/store/modules/languages.test.js PASS tests/jest/store/modules/wikidata/items.test.js PASS tests/jest/mixins/eventLogUtils.test.js PASS tests/jest/components/function/editor/FunctionEditorInputs.test.js PASS tests/jest/components/default/wikidata/Lexeme.test.js PASS tests/jest/mixins/clipboardUtils.test.js PASS tests/jest/components/function/editor/FunctionEditorInputsItem.test.js PASS tests/jest/store/modules/zobject.test.js PASS tests/jest/composables/useBreakpoints.test.js PASS tests/jest/components/function/editor/FunctionEditorOutput.test.js PASS tests/jest/components/default/ZArgumentReference.test.js PASS tests/jest/store/modules/user.test.js PASS tests/jest/mixins/errorUtils.test.js PASS tests/jest/store/modules/functionCall.test.js PASS tests/jest/mixins/urlUtils.test.js PASS tests/jest/components/default/wikidata/LexemeForm.test.js PASS tests/jest/components/widgets/about/AboutLanguageBlock.test.js PASS tests/jest/components/function/editor/FunctionEditorAliases.test.js PASS tests/jest/store/modules/submission.test.js PASS tests/jest/components/default/ZReference.test.js PASS tests/jest/store/modules/currentPage.test.js ● Console console.log Metrics Platform event emitted using submitInteraction: change - {} at Object.<anonymous> (jest.setup.js:129:12) PASS tests/jest/store/modules/errors.test.js PASS tests/jest/store/modules/wikidata/lexemes.test.js PASS tests/jest/components/default/wikidata/Item.test.js PASS tests/jest/store/modules/factory.test.js PASS tests/jest/store/classes/ApiError.test.js PASS tests/jest/store/modules/ztype.test.js PASS tests/jest/store/modules/testResults.test.js PASS tests/jest/mixins/schemata.test.js PASS tests/jest/mixins/zobjectUtils.test.js PASS tests/jest/store/modules/wikidata/entities.test.js PASS tests/jest/store/modules/router.test.js PASS tests/jest/store/modules/library.test.js PASS tests/jest/store/modules/zfunction.test.js PASS tests/jest/mixins/typeUtils.test.js Jest: "./resources/ext.wikilambda.app/store" coverage threshold for functions (99%) not met: 98.97% Summary of all failing tests FAIL tests/jest/integration/RunFunctionCall.test.js ● WikiLambda frontend, running a function on Run Function Special page › allows choosing a function and calling it Unable to fire a "click" event - please provide a DOM element. 14 | const options = await within( parentWrapper ).findAllByRole( 'option', { hidden: true } ); 15 | const option = options.find( ( e ) => e.textContent === itemText ); > 16 | await fireEvent.click( option ); | ^ 17 | }; 18 | 19 | const lookupSearchAndSelect = async ( parentWrapper, searchText, selectText, selectType = '' ) => { at createEvent (node_modules/@testing-library/dom/dist/events.js:27:11) at Function.createEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:106:38) at Function.fireEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:110:68) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:34:24) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.click (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at clickLookupResult (tests/jest/integration/helpers/interactionHelpers.js:16:18) at Object.<anonymous> (tests/jest/integration/RunFunctionCall.test.js:41:3) FAIL tests/jest/integration/CreateNewCompositionImplementation.test.js (5.554 s) ● WikiLambda frontend, on zobject-editor view › should allow you to create a new composition implementation Unable to fire a "click" event - please provide a DOM element. 14 | const options = await within( parentWrapper ).findAllByRole( 'option', { hidden: true } ); 15 | const option = options.find( ( e ) => e.textContent === itemText ); > 16 | await fireEvent.click( option ); | ^ 17 | }; 18 | 19 | const lookupSearchAndSelect = async ( parentWrapper, searchText, selectText, selectType = '' ) => { at createEvent (node_modules/@testing-library/dom/dist/events.js:27:11) at Function.createEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:106:38) at Function.fireEvent.<computed> [as click] (node_modules/@testing-library/dom/dist/events.js:110:68) at Function.<anonymous> (node_modules/@testing-library/vue/dist/fire-event.js:34:24) at asyncGeneratorStep (node_modules/@testing-library/vue/dist/fire-event.js:10:103) at _next (node_modules/@testing-library/vue/dist/fire-event.js:12:194) at node_modules/@testing-library/vue/dist/fire-event.js:12:364 at Function.click (node_modules/@testing-library/vue/dist/fire-event.js:12:97) at clickLookupResult (tests/jest/integration/helpers/interactionHelpers.js:16:18) at Object.<anonymous> (tests/jest/integration/CreateNewCompositionImplementation.test.js:67:3) Test Suites: 2 failed, 98 passed, 100 total Tests: 2 failed, 1491 passed, 1493 total Snapshots: 0 total Time: 72.631 s Ran all test suites. --- stdout --- -----------------------------------------------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------------------------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------------------------------------------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------------------------------------- All files | 98.55 | 93.14 | 96.01 | 98.55 | ext.wikilambda.app | 100 | 100 | 100 | 100 | Constants.js | 100 | 100 | 100 | 100 | ext.wikilambda.app/components | 100 | 100 | 100 | 100 | App.vue | 100 | 100 | 100 | 100 | ext.wikilambda.app/components/base | 98.82 | 92.82 | 96.47 | 98.82 | ClipboardManager.vue | 100 | 100 | 100 | 100 | CodeEditor.vue | 100 | 100 | 100 | 100 | CustomDialogHeader.vue | 100 | 100 | 100 | 100 | ExpandedToggle.vue | 100 | 100 | 100 | 100 | KeyBlock.vue | 100 | 100 | 100 | 100 | KeyValueBlock.vue | 100 | 100 | 100 | 100 | LocalizedLabel.vue | 100 | 100 | 100 | 100 | ModeSelector.vue | 99.4 | 94.73 | 100 | 99.4 | 188-189 Pagination.vue | 100 | 100 | 100 | 100 | StatusIcon.vue | 100 | 100 | 100 | 100 | TypeSelector.vue | 94.44 | 78.57 | 85.71 | 94.44 | 153-157,169-171,174-177 TypeToString.vue | 99.33 | 94.11 | 100 | 99.33 | 78 WidgetBase.vue | 100 | 100 | 100 | 100 | ZObjectSelector.vue | 97.71 | 88.23 | 91.3 | 97.71 | 298,339-340,394-395,404,418-420,424-425,453-454 ext.wikilambda.app/components/default-view-types | 98.36 | 92.5 | 93.25 | 98.36 | ZArgumentReference.vue | 100 | 100 | 100 | 100 | ZBoolean.vue | 100 | 100 | 100 | 100 | ZCode.vue | 99.78 | 92.3 | 100 | 99.78 | 355 ZFunctionCall.vue | 100 | 100 | 100 | 100 | ZImplementation.vue | 100 | 100 | 100 | 100 | ZMonolingualString.vue | 100 | 92.3 | 100 | 100 | 136 ZObjectKeyValue.vue | 94.56 | 89.87 | 82.75 | 94.56 | 197,206,293,324-325,385-386,585-589,605-607,631-632,644-646,662-663,678-679,741-747,757-758,773-777,779-780,782-783,785-786,788,790,802 ZObjectKeyValueSet.vue | 98.09 | 100 | 75 | 98.09 | 82-83 ZObjectStringRenderer.vue | 97.66 | 88.33 | 84.61 | 97.66 | 265,390-391,467,490-493,526-530 ZObjectToString.vue | 100 | 95.12 | 100 | 100 | 167,207 ZReference.vue | 100 | 95.45 | 100 | 100 | 96 ZString.vue | 100 | 100 | 100 | 100 | ZTester.vue | 99.29 | 95.45 | 100 | 99.29 | 215-216 ZTypedList.vue | 98.58 | 90.9 | 83.33 | 98.58 | 131-132 ZTypedListItems.vue | 98.51 | 100 | 80 | 98.51 | 85-86 ZTypedListType.vue | 100 | 100 | 100 | 100 | ext.wikilambda.app/components/default-view-types/wikidata | 99.67 | 82.6 | 100 | 99.67 | EntitySelector.vue | 99.49 | 82.75 | 100 | 99.49 | 88 Item.vue | 100 | 82.14 | 100 | 100 | 103,122,141,144,188 Lexeme.vue | 100 | 82.75 | 100 | 100 | 103,122,141,144,188 LexemeForm.vue | 99.19 | 82.75 | 100 | 99.19 | 124-125 ext.wikilambda.app/components/function/editor | 99.16 | 95.02 | 97.08 | 99.16 | FunctionEditor.vue | 100 | 89.28 | 100 | 100 | 124,221-222 FunctionEditorAliases.vue | 100 | 100 | 100 | 100 | FunctionEditorDescription.vue | 96.74 | 90.47 | 91.66 | 96.74 | 141-142,151-152,178-180 FunctionEditorField.vue | 100 | 100 | 100 | 100 | FunctionEditorFooter.vue | 98.55 | 89.47 | 100 | 98.55 | 87-88 FunctionEditorInputs.vue | 100 | 100 | 100 | 100 | FunctionEditorInputsItem.vue | 99.39 | 100 | 92.3 | 99.39 | 218-219 FunctionEditorLanguage.vue | 100 | 100 | 100 | 100 | FunctionEditorLanguageBlock.vue | 100 | 100 | 100 | 100 | FunctionEditorName.vue | 96.84 | 90.9 | 91.66 | 96.84 | 146-147,156-157,183-185 FunctionEditorOutput.vue | 100 | 100 | 100 | 100 | ext.wikilambda.app/components/function/viewer | 98.47 | 95.65 | 88.7 | 98.47 | FunctionTesterTable.vue | 94.97 | 85.71 | 87.5 | 94.97 | 90-91,108,158-163 FunctionViewerDetails.vue | 98.94 | 97.29 | 91.3 | 98.94 | 278-279,650,672,693,781,790,797,804 FunctionViewerDetailsTable.vue | 99.29 | 100 | 75 | 99.29 | 173,180 ext.wikilambda.app/components/widgets/about | 98.35 | 91.47 | 95.16 | 98.35 | About.vue | 98.74 | 94.84 | 93.33 | 98.74 | 246,290-293,328-329,435-436 AboutLanguageBlock.vue | 99.66 | 95.65 | 100 | 99.66 | 479-480 AboutLanguagesDialog.vue | 95.66 | 75.75 | 92.85 | 95.66 | 172,257-259,270-272,291-292,320-321,323-324,326-327,329-330 ext.wikilambda.app/components/widgets/function-evaluator | 96.83 | 81.2 | 94.73 | 96.83 | EvaluationResult.vue | 96.06 | 75 | 60 | 96.06 | 85,94-95,109-110 FunctionEvaluator.vue | 100 | 88.67 | 100 | 100 | 347,382,409-412 FunctionMetadataDialog.vue | 95.02 | 77.17 | 96.66 | 95.02 | 244-245,281-282,288-289,383-384,404,420-421,535-536,622,633-634,638,659,687-689,695-699,713-717,722-726,731-735 ext.wikilambda.app/components/widgets/function-explorer | 99.43 | 100 | 84.61 | 99.43 | FunctionExplorer.vue | 99.43 | 100 | 84.61 | 99.43 | 271,274 ext.wikilambda.app/components/widgets/function-report | 96.56 | 91.35 | 89.65 | 96.56 | FunctionReport.vue | 95.78 | 86.53 | 90.47 | 95.78 | 224-226,284-286,292-294,324-326,330-332 FunctionReportItem.vue | 97.78 | 100 | 87.5 | 97.78 | 176-180 ext.wikilambda.app/components/widgets/publish | 97.92 | 84.72 | 91.89 | 97.92 | LeaveEditorDialog.vue | 100 | 100 | 100 | 100 | Publish.vue | 94.42 | 81.81 | 81.25 | 94.42 | 99-107,134,200-202,220-222 PublishDialog.vue | 100 | 85.29 | 100 | 100 | 237,303,336-338 ext.wikilambda.app/composables | 100 | 100 | 100 | 100 | useBreakpoints.js | 100 | 100 | 100 | 100 | ext.wikilambda.app/mixins | 97.93 | 95.95 | 98.71 | 97.93 | api.js | 100 | 91.3 | 100 | 100 | 119-120 clipboardUtils.js | 100 | 100 | 100 | 100 | errorUtils.js | 98.13 | 81.81 | 100 | 98.13 | 76-77 eventLogUtils.js | 82.19 | 100 | 75 | 82.19 | 59-71 metadata.js | 100 | 100 | 100 | 100 | pageTitleUtils.js | 100 | 94.44 | 100 | 100 | 71 schemata.js | 98.41 | 94.23 | 100 | 98.41 | 205-206,208-209,299-300 typeUtils.js | 96.96 | 98.92 | 100 | 96.96 | 533-554 urlUtils.js | 100 | 100 | 100 | 100 | utilsMixins.js | 100 | 100 | 100 | 100 | wikidataUtils.js | 100 | 100 | 100 | 100 | zobjectUtils.js | 100 | 100 | 100 | 100 | ext.wikilambda.app/store | 100 | 100 | 100 | 100 | index.js | 100 | 100 | 100 | 100 | ext.wikilambda.app/store/classes | 100 | 97.67 | 100 | 100 | ApiError.js | 100 | 100 | 100 | 100 | LabelData.js | 100 | 92.85 | 100 | 100 | 45 Row.js | 100 | 100 | 100 | 100 | ext.wikilambda.app/store/modules | 99.07 | 96.35 | 98.52 | 99.07 | errors.js | 100 | 100 | 100 | 100 | functionCall.js | 90.32 | 100 | 50 | 90.32 | 19,22-27,31-32 languages.js | 100 | 100 | 100 | 100 | library.js | 98.75 | 94.59 | 100 | 98.75 | 370-371,396-397,408-410,623-624,733-734 listItems.js | 100 | 100 | 100 | 100 | programmingLanguages.js | 100 | 100 | 100 | 100 | router.js | 100 | 100 | 100 | 100 | testResults.js | 100 | 90.38 | 100 | 100 | 112,196,254-256 user.js | 100 | 100 | 100 | 100 | zfunction.js | 100 | 100 | 100 | 100 | zobject.js | 98.97 | 95.89 | 100 | 98.97 | 459-463,532-533,555-556,578-579,1120-1121,1155-1156,1443-1444,1708-1709,2023-2025 ztype.js | 99.1 | 100 | 94.73 | 99.1 | 164,284-285 ext.wikilambda.app/store/modules/wikidata | 100 | 94.82 | 100 | 100 | entities.js | 100 | 95 | 100 | 100 | 99 items.js | 100 | 93.33 | 100 | 100 | 93 lexemes.js | 100 | 95.65 | 100 | 100 | 134 ext.wikilambda.app/store/modules/zobject | 98.57 | 96.19 | 100 | 98.57 | currentPage.js | 100 | 100 | 100 | 100 | factory.js | 97.45 | 93.8 | 100 | 97.45 | 153-159,776-782,795-801,808 submission.js | 99.8 | 98.57 | 100 | 99.8 | 226 ext.wikilambda.app/views | 96.59 | 66.66 | 89.47 | 96.59 | Default.vue | 97.38 | 62.5 | 92.3 | 97.38 | 182-183,224,238-241 FunctionEditor.vue | 100 | 100 | 100 | 100 | FunctionEvaluator.vue | 100 | 100 | 100 | 100 | FunctionViewer.vue | 92.23 | 71.42 | 75 | 92.23 | 83-90 ext.wikilambda.languageselector/components | 98.03 | 93.75 | 94.11 | 98.03 | LanguageSelector.vue | 98.03 | 93.75 | 94.11 | 98.03 | 226-227,265-266,287-288 -----------------------------------------------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------------------------------------- --- end --- Traceback (most recent call last): File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 325, in npm_test self.check_call(["npm", "test"]) File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/shell2.py", line 59, in check_call res.check_returncode() File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode raise CalledProcessError(self.returncode, self.args, self.stdout, subprocess.CalledProcessError: Command '['/usr/bin/npm', 'test']' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1864, in main libup.run(args.repo, args.output, args.branch) File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1803, in run self.npm_upgrade(plan) File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1200, in npm_upgrade self.npm_test() File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 330, in npm_test self.check_call(["node_modules/.bin/jest", "-u"]) File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/shell2.py", line 59, in check_call res.check_returncode() File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode raise CalledProcessError(self.returncode, self.args, self.stdout, subprocess.CalledProcessError: Command '['node_modules/.bin/jest', '-u']' returned non-zero exit status 1.