https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42772

--- Comment #23 from David Nind <[email protected]> ---
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 [email protected]: The engine "bun" appears to be invalid.
warning [email protected]: The engine "deno" appears to be invalid.
warning [email protected]: The engine "bun" appears to be invalid.
warning [email protected]: The engine "deno" appears to be invalid.
[3/4] Linking dependencies...
warning " > @cypress/[email protected]" has unmet peer dependency
"@babel/core@^7.25.2".
warning " > @cypress/[email protected]" has unmet peer dependency
"@babel/preset-env@^7.25.3".
warning " > @cypress/[email protected]" has unmet peer dependency
"babel-loader@^8.3 || ^9 || ^10".
warning "@koha-community/prettier-plugin-template-toolkit > [email protected]"
has unmet peer dependency "@babel/core@^7.8.0".
warning "@koha-community/prettier-plugin-template-toolkit >
[email protected]" has unmet peer dependency
"@babel/core@^7.0.0 || ^8.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax > @babel/[email protected]"
has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax > @babel/[email protected]" has unmet
peer dependency "@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax >
@babel/[email protected]" has unmet peer dependency
"@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax >
@babel/[email protected]" has unmet peer dependency
"@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax >
@babel/[email protected]" has unmet peer dependency
"@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax > @babel/[email protected]" has
unmet peer dependency "@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax > @babel/[email protected]" has
unmet peer dependency "@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax >
@babel/[email protected]" has unmet peer
dependency "@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax >
@babel/[email protected]" has unmet peer
dependency "@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax >
@babel/[email protected]" has unmet peer dependency
"@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax >
@babel/[email protected]" has unmet peer dependency
"@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax >
@babel/[email protected]" has unmet peer dependency
"@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax >
@babel/[email protected]" has unmet peer dependency
"@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax >
@babel/[email protected]" has unmet peer
dependency "@babel/core@^7.0.0-0".
warning "@koha-community/prettier-plugin-template-toolkit >
babel-preset-current-node-syntax > @babel/[email protected]"
has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@redocly/cli > @redocly/respect-core > [email protected]" has
unmet peer dependency "[email protected] - 8".
warning " > [email protected]" has unmet peer dependency
"sortablejs@^1.14.0".
warning "@rspack/cli > @rspack/dev-server > webpack-dev-server >
webpack-dev-middleware > [email protected]" has unmet peer dependency "tslib@2".
warning " > [email protected]" has unmet peer dependency "@types/node@>= 8".
warning "swagger-cli > @apidevtools/swagger-cli >
@apidevtools/[email protected]" 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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to