[Bug 42772] New: Upgrade Cypress to 15.16.0
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Bug ID: 42772 Summary: Upgrade Cypress to 15.16.0 Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Test Suite Assignee: jonathan.druart@gmail.com Reporter: jonathan.druart@gmail.com QA Contact: testopia@bugs.koha-community.org We are using an old version of Cypress (12.17.2), it would be interesting to upgrade to a new version and see if our current tests pass. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matt.blenkinsop@openfifth.c | |o.uk, | |pedro.amorim@openfifth.co.u | |k -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 199905 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199905&action=edit Bug 42772: Upgrade Cypress to 15.16.0 Patch from commit c49f052 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #2 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 199906 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199906&action=edit Bug 42772: Remove experimentalStudio from config The experimentalStudio option was removed in Cypress version 15.4.0. Cypress Studio is now available for all users. You can safely remove this option from your config. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #3 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 199907 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199907&action=edit Bug 42772: Cypress.env => cy.env Warning: The allowCypressEnv configuration option is enabled. This allows any browser code to read values from Cypress.env(). This is insecure and will be removed in a future major version. 1. Replace Cypress.env() calls with cy.env() (for sensitive values) or Cypress.expose() (for public configuration) 2. Set allowCypressEnv: false in your Cypress configuration to disable Cypress.env() Learn more: https://on.cypress.io/cypress-env-migration -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #199905|0 |1 is obsolete| | Attachment #199906|0 |1 is obsolete| | Attachment #199907|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #4 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 200079 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200079&action=edit Bug 42772: Upgrade Cypress to 15.16.0 Patch from commit 64b0518 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #5 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 200080 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200080&action=edit Bug 42772: Remove experimentalStudio from config The experimentalStudio option was removed in Cypress version 15.4.0. Cypress Studio is now available for all users. You can safely remove this option from your config. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #6 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 200081 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200081&action=edit Bug 42772: Cypress.env => cy.env Warning: The allowCypressEnv configuration option is enabled. This allows any browser code to read values from Cypress.env(). This is insecure and will be removed in a future major version. 1. Replace Cypress.env() calls with cy.env() (for sensitive values) or Cypress.expose() (for public configuration) 2. Set allowCypressEnv: false in your Cypress configuration to disable Cypress.env() Learn more: https://on.cypress.io/cypress-env-migration -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #7 from Jonathan Druart <jonathan.druart@gmail.com> --- Test plan: yarn install yarn build cypress install yarn cypress run => All tests should pass! EdifactSearch_spec.ts is failing for me, but also on main. Toolbar_spec.ts was failing at some point but I cannot longer recreate the failure (?) AssertionError: Timed out retrying after 10000ms: expected '<div#toolbar.btn-toolbar.sticky>' to have class 'floating' -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #8 from Jonathan Druart <jonathan.druart@gmail.com> --- Will need to adjust the version on the wiki once pushed https://wiki.koha-community.org/wiki/Continuous_Integration#Using_Cypress_UI -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.derscheid@lmscloud.de --- Comment #9 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Toolbar_spec.ts failing with the same error for me as well. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #10 from Paul Derscheid <paul.derscheid@lmscloud.de> --- This one as well: Package CRUD operations Add package: AssertionError: Timed out retrying after 10000ms: Expected to find element: `main div[class='alert alert-info']`, but never found it. at Context.eval (webpack://koha/./t/cypress/integration/ERM/Packages_spec.ts:103:11) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #11 from Paul Derscheid <paul.derscheid@lmscloud.de> --- This one as well: Should show the Display by year filter when filter is required Custom reports Should show the Display by year filter when filter is required: CypressError: Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `reportRequest`. No request ever occurred. https://on.cypress.io/wait at cypressErr (http://koha:8081/__cypress/runner/cypress_runner.js:78521:18) at Object.errByPath (http://koha:8081/__cypress/runner/cypress_runner.js:78579:10) at checkForXhr (http://koha:8081/__cypress/runner/cypress_runner.js:139092:84) at <unknown> (http://koha:8081/__cypress/runner/cypress_runner.js:139117:28) at tryCatcher (http://koha:8081/__cypress/runner/cypress_runner.js:1777:23) at Promise.attempt.Promise.try (http://koha:8081/__cypress/runner/cypress_runner.js:4285:29) at whenStable (http://koha:8081/__cypress/runner/cypress_runner.js:152244:70) at <unknown> (http://koha:8081/__cypress/runner/cypress_runner.js:152159:14) at tryCatcher (http://koha:8081/__cypress/runner/cypress_runner.js:1777:23) at Promise._settlePromiseFromHandler (http://koha:8081/__cypress/runner/cypress_runner.js:1489:31) at Promise._settlePromise (http://koha:8081/__cypress/runner/cypress_runner.js:1546:18) at Promise._settlePromise0 (http://koha:8081/__cypress/runner/cypress_runner.js:1591:10) at Promise._settlePromises (http://koha:8081/__cypress/runner/cypress_runner.js:1671:18) at Promise._fulfill (http://koha:8081/__cypress/runner/cypress_runner.js:1615:18) at <unknown> (http://koha:8081/__cypress/runner/cypress_runner.js:5420:46) From Your Spec Code: at Object.proxyGetter [as get] (http://koha:8081/__cypress/runner/cypress_runner.js:81302:22) at exists (http://koha:8081/__cypress/runner/cypress_runner.js:151373:26) at elExists (http://koha:8081/__cypress/runner/cypress_runner.js:151388:10) at ensureExistence (http://koha:8081/__cypress/runner/cypress_runner.js:151569:22) at onFailFn (http://koha:8081/__cypress/runner/cypress_runner.js:151598:53) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200079|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200080|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200081|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #12 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 200087 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200087&action=edit Bug 42772: Upgrade Cypress to 15.16.0 Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #13 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 200088 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200088&action=edit Bug 42772: Remove experimentalStudio from config The experimentalStudio option was removed in Cypress version 15.4.0. Cypress Studio is now available for all users. You can safely remove this option from your config. Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #14 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 200089 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200089&action=edit Bug 42772: Cypress.env => cy.env Warning: The allowCypressEnv configuration option is enabled. This allows any browser code to read values from Cypress.env(). This is insecure and will be removed in a future major version. 1. Replace Cypress.env() calls with cy.env() (for sensitive values) or Cypress.expose() (for public configuration) 2. Set allowCypressEnv: false in your Cypress configuration to disable Cypress.env() Learn more: https://on.cypress.io/cypress-env-migration Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #15 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Signed off because I doubt the 3 failures stem from the version bump. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #16 from Paul Derscheid <paul.derscheid@lmscloud.de> --- First new failure was in: ERM/Packages_spec.ts Second was: ERM/UsageReports_spec.ts -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |ASSIGNED --- Comment #17 from Jonathan Druart <jonathan.druart@gmail.com> --- 1. Toolbar_spec.ts <testcase name="Sticky toolbar - basic behavior Should stick on scroll" time="0.000" classname="Should stick on scroll"> <failure message="Timed out retrying after 10000ms: expected '<div#toolbar.btn-toolbar.sticky>' to have class 'floating'" type="AssertionError"><![CDATA[AssertionError: Timed out re trying after 10000ms: expected '<div#toolbar.btn-toolbar.sticky>' to have class 'floating' at Context.eval (webpack://koha/./t/cypress/integration/Toolbar_spec.ts:13:27)]]></failure> 2. ERM/UsageReports_spec.ts <testcase name="Custom reports Should show the Display by year filter when filter is required" time="0.000" classname="Should show the Display by year filter when filter is required"> <failure message="Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `reportRequest`. No request ever occurred. https://on.cypress.io/wait" type="CypressError"><![CDATA[CypressError: Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `reportRequest`. No request ever o ccurred. And 3. Acquisitions/EdifactSearch_spec.ts https://on.cypress.io/uncaught-exception-from-application" type="ReferenceError"><![CDATA[ReferenceError: The following error originated from your application code, not from Cypress.
execute is not defined
When Cypress detects uncaught errors originating from your application it will automatically fail the current test. This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event. https://on.cypress.io/uncaught-exception-from-application at <unknown> (http://koha:8081/api/v1/contrib/jump/static/static_files/jump.js:174:9) => Coming from the Jump plugin, not relevant: the tests are passing when the plugin is disabled. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |42801 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42801 [Bug 42801] Race condition in ERM/UsageReports_spec.ts -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |42799 Status|ASSIGNED |Needs Signoff --- Comment #18 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to Jonathan Druart from comment #17)
1. Toolbar_spec.ts <testcase name="Sticky toolbar - basic behavior Should stick on scroll" time="0.000" classname="Should stick on scroll">
<failure message="Timed out retrying after 10000ms: expected '<div#toolbar.btn-toolbar.sticky>' to have class 'floating'" type="AssertionError"><![CDATA[AssertionError: Timed out re trying after 10000ms: expected '<div#toolbar.btn-toolbar.sticky>' to have class 'floating'
at Context.eval (webpack://koha/./t/cypress/integration/Toolbar_spec.ts:13:27)]]></failure>
See bug 42799.
2. ERM/UsageReports_spec.ts <testcase name="Custom reports Should show the Display by year filter when filter is required" time="0.000" classname="Should show the Display by year filter when filter is required"> <failure message="Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `reportRequest`. No request ever occurred.
https://on.cypress.io/wait" type="CypressError"><![CDATA[CypressError: Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `reportRequest`. No request ever o ccurred.
See bug 42801. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42799 [Bug 42799] Toolbar stickiness implementation is flaky -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #19 from Jonathan Druart <jonathan.druart@gmail.com> --- RM: don't forget the yarn.lock changes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |42862 CC| |david@davidnind.com Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42862 [Bug 42862] bookingsModalDatePicker_spec.ts is failing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200087|0 |1 is obsolete| | Attachment #200088|0 |1 is obsolete| | Attachment #200089|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #20 from David Nind <david@davidnind.com> --- Created attachment 200776 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200776&action=edit Bug 42772: Upgrade Cypress to 15.16.0 Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #21 from David Nind <david@davidnind.com> --- Created attachment 200777 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200777&action=edit Bug 42772: Remove experimentalStudio from config The experimentalStudio option was removed in Cypress version 15.4.0. Cypress Studio is now available for all users. You can safely remove this option from your config. Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #22 from David Nind <david@davidnind.com> --- Created attachment 200778 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200778&action=edit Bug 42772: Cypress.env => cy.env Warning: The allowCypressEnv configuration option is enabled. This allows any browser code to read values from Cypress.env(). This is insecure and will be removed in a future major version. 1. Replace Cypress.env() calls with cy.env() (for sensitive values) or Cypress.expose() (for public configuration) 2. Set allowCypressEnv: false in your Cypress configuration to disable Cypress.env() Learn more: https://on.cypress.io/cypress-env-migration Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #23 from David Nind <david@davidnind.com> --- Testing notes (using KTD): 1. Apply the patches 2. yarn install - see note [1], get warnings 3. yarn build 4. cypress install - doesn't seem to be required, see note [2] for the message you get 5. Initially Circulation/bookingsModalDatePicker_spec.ts fails, but that is bug 42862 - I added it as a dependency 6. I initially got failures for t/cypress/integration/ERM/DataProviders_spec.ts, passed fine when run by itself (cypress run --spec t/cypress/integration/ERM/DataProviders_spec.ts), and passed the last time I ran all the tests. See note [3] for the failure I got. 7. Before you can sign off: git checkout yarn.lock 8. the directory node_modules is created, not sure if this is what is expected [1] Warnings with yarn install ------------------------------ yarn install yarn install v1.22.22 [1/4] Resolving packages... [2/4] Fetching packages... warning lru.min@1.1.4: The engine "bun" appears to be invalid. warning lru.min@1.1.4: The engine "deno" appears to be invalid. warning sql-escaper@1.3.3: The engine "bun" appears to be invalid. warning sql-escaper@1.3.3: The engine "deno" appears to be invalid. [3/4] Linking dependencies... warning " > @cypress/webpack-preprocessor@6.0.4" has unmet peer dependency "@babel/core@^7.25.2". warning " > @cypress/webpack-preprocessor@6.0.4" has unmet peer dependency "@babel/preset-env@^7.25.3". warning " > @cypress/webpack-preprocessor@6.0.4" has unmet peer dependency "babel-loader@^8.3 || ^9 || ^10". warning "@koha-community/prettier-plugin-template-toolkit > babel-jest@29.7.0" has unmet peer dependency "@babel/core@^7.8.0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax@1.2.0" has unmet peer dependency "@babel/core@^7.0.0 || ^8.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-jest@29.6.3" has unmet peer dependency "@babel/core@^7.0.0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-async-generators@7.8.4" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-bigint@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-class-properties@7.12.13" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-class-static-block@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-import-attributes@7.28.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-import-meta@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-json-strings@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-logical-assignment-operators@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-nullish-coalescing-operator@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-numeric-separator@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-object-rest-spread@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-optional-catch-binding@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-optional-chaining@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-private-property-in-object@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@koha-community/prettier-plugin-template-toolkit > babel-preset-current-node-syntax > @babel/plugin-syntax-top-level-await@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@redocly/cli > @redocly/respect-core > better-ajv-errors@1.2.0" has unmet peer dependency "ajv@4.11.8 - 8". warning " > vue-draggable-next@2.3.0" has unmet peer dependency "sortablejs@^1.14.0". warning "@rspack/cli > @rspack/dev-server > webpack-dev-server > webpack-dev-middleware > memfs@4.56.11" has unmet peer dependency "tslib@2". warning " > mysql2@3.20.0" has unmet peer dependency "@types/node@>= 8". warning "swagger-cli > @apidevtools/swagger-cli > @apidevtools/swagger-parser@10.1.1" has unmet peer dependency "openapi-types@>=7". [4/4] Building fresh packages... success Saved lockfile. Done in 73.00s. [2] cypress already installed ----------------------------- cypress install Cypress 15.17.0 is installed in /var/lib/koha/kohadev/.cache/Cypress/15.17.0 Skipping installation: Pass the --force option if you'd like to reinstall anyway (Results of cypress --version: cypress --version Cypress package version: 15.17.0 Cypress binary version: 15.17.0 Electron version: 37.6.0 Bundled Node version: 22.19.0) [3] t/cypress/integration/ERM/DataProviders_spec.ts --------------------------------------------------- 1 failing 1) Data provider CRUD operations Should add provider: AssertionError: Timed out retrying after 10000ms: Expected to find element: `main div[class='alert alert-info']`, but never found it. at Context.eval (webpack://koha/./t/cypress/integration/ERM/DataProviders_spec.ts:150:11) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 13 │ │ Passing: 12 │ │ Failing: 1 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 1 │ │ Video: false │ │ Duration: 59 seconds │ │ Spec Ran: ERM/DataProviders_spec.ts -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Medium patch Status|Signed Off |Passed QA QA Contact|testopia@bugs.koha-communit |martin.renvoize@openfifth.c |y.org |o.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200776|0 |1 is obsolete| | Attachment #200777|0 |1 is obsolete| | Attachment #200778|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #24 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 201648 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201648&action=edit Bug 42772: Upgrade Cypress to 15.16.0 Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #25 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 201649 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201649&action=edit Bug 42772: Remove experimentalStudio from config The experimentalStudio option was removed in Cypress version 15.4.0. Cypress Studio is now available for all users. You can safely remove this option from your config. Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 --- Comment #26 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 201650 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201650&action=edit Bug 42772: Cypress.env => cy.env Warning: The allowCypressEnv configuration option is enabled. This allows any browser code to read values from Cypress.env(). This is insecure and will be removed in a future major version. 1. Replace Cypress.env() calls with cy.env() (for sensitive values) or Cypress.expose() (for public configuration) 2. Set allowCypressEnv: false in your Cypress configuration to disable Cypress.env() Learn more: https://on.cypress.io/cypress-env-migration Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Initiative type|--- |Epic Strategic theme|--- |Developer Experience Target Milestone|--- |26.11 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org