Bugzilla – Attachment 171236 Details for
Bug 37513
Disable 'Delete' button if the record source cannot be deleted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Output from test failure for RecordSources (first tme success - second time failed)
Test failures - output.txt (text/plain), 12.77 KB, created by
David Nind
on 2024-09-09 21:37:39 UTC
(
hide
)
Description:
Output from test failure for RecordSources (first tme success - second time failed)
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-09-09 21:37:39 UTC
Size:
12.77 KB
patch
obsolete
>First time - all passed >=========== > >yarn cypress run --spec t/cypress/integration/Admin/RecordSources_spec.ts >yarn run v1.22.22 >$ cypress run --spec t/cypress/integration/Admin/RecordSources_spec.ts >It looks like this is your first time using Cypress: 12.17.4 > >â Verified Cypress! /var/lib/koha/kohadev/.cache/Cypress/12.17.4/Cypress > >Opening Cypress... > >DevTools listening on ws://127.0.0.1:33959/devtools/browser/a232564f-f24d-4629-99cd-53d9ef04d91f >[2196:0909/212451.721002:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. >Missing baseUrl in compilerOptions. tsconfig-paths will be skipped > >==================================================================================================== > > (Run Starting) > > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > â Cypress: 12.17.4 â > â Browser: Electron 106 (headless) â > â Node Version: v18.20.4 (/usr/bin/node) â > â Specs: 1 found (RecordSources_spec.ts) â > â Searched: t/cypress/integration/Admin/RecordSources_spec.ts â > â Experiments: experimentalStudio=true â > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > > >ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > > Running: RecordSources_spec.ts (1 of 1) > > > Breadcrumbs tests > â Breadcrumbs (2675ms) > > Record sources CRUD tests > â Add (2406ms) > â List (1497ms) > â Edit (1449ms) > â Delete (1637ms) > > > 5 passing (10s) > > > (Results) > > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > â Tests: 5 â > â Passing: 5 â > â Failing: 0 â > â Pending: 0 â > â Skipped: 0 â > â Screenshots: 0 â > â Video: true â > â Duration: 9 seconds â > â Spec Ran: RecordSources_spec.ts â > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > > > (Video) > > - Started compressing: Compressing to 32 CRF > - Finished compressing: 0 seconds > > - Video output: /kohadevbox/koha/t/cypress/videos/RecordSources_spec.ts.mp4 > > >==================================================================================================== > > (Run Finished) > > > Spec Tests Passing Failing Pending Skipped > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > â â RecordSources_spec.ts 00:09 5 5 - - - â > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > â All specs passed! 00:09 5 5 - - - > >Done in 20.58s. > >Second time - fails >=========== > >kohadev-koha@kohadevbox:koha(main)$ yarn cypress run --spec t/cypress/integration/Admin/RecordSources_spec.ts >yarn run v1.22.22 >$ cypress run --spec t/cypress/integration/Admin/RecordSources_spec.ts > >DevTools listening on ws://127.0.0.1:35945/devtools/browser/41bc0c62-43c3-41b6-9eff-f8d5acb8e906 >[2803:0909/212515.469277:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. >Missing baseUrl in compilerOptions. tsconfig-paths will be skipped > >==================================================================================================== > > (Run Starting) > > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > â Cypress: 12.17.4 â > â Browser: Electron 106 (headless) â > â Node Version: v18.20.4 (/usr/bin/node) â > â Specs: 1 found (RecordSources_spec.ts) â > â Searched: t/cypress/integration/Admin/RecordSources_spec.ts â > â Experiments: experimentalStudio=true â > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > > >ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > > Running: RecordSources_spec.ts (1 of 1) > > > Breadcrumbs tests > â Breadcrumbs (2344ms) > > Record sources CRUD tests > â Add (2361ms) > â List (1488ms) > 1) Edit > â Delete (1626ms) > > > 4 passing (9s) > 1 failing > > 1) Record sources CRUD tests > Edit: > TypeError: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection. > > > $(...).tooltip is not a function > >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 Proxy.beforeMount (webpack://koha/./koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue?./node_modules/vue-loader/dist/index.js??ruleSet%5B1%5D.rules%5B5%5D.use%5B0%5D:142:11) > at eval (webpack://koha/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js?:2849:40) > at callWithErrorHandling (webpack://koha/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js?:284:22) > at callWithAsyncErrorHandling (webpack://koha/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js?:293:21) > at hook.__weh.hook.__weh (webpack://koha/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js?:2823:29) > at invokeArrayFns (webpack://koha/./node_modules/@vue/shared/dist/shared.esm-bundler.js?:625:15) > at ReactiveEffect.componentUpdateFn [as fn] (webpack://koha/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js?:5688:80) > at ReactiveEffect.run (webpack://koha/./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js?:225:25) > at instance.update (webpack://koha/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js?:5844:56) > at setupRenderEffect (webpack://koha/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js?:5858:9) > > > > > (Results) > > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > â Tests: 5 â > â Passing: 4 â > â Failing: 1 â > â Pending: 0 â > â Skipped: 0 â > â Screenshots: 1 â > â Video: true â > â Duration: 9 seconds â > â Spec Ran: RecordSources_spec.ts â > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > > > (Screenshots) > > - /kohadevbox/koha/t/cypress/screenshots/RecordSources_spec.ts/Record sources CRUD (1280x720) > tests -- Edit (failed).png > > > (Video) > > - Started compressing: Compressing to 32 CRF > - Finished compressing: 0 seconds > > - Video output: /kohadevbox/koha/t/cypress/videos/RecordSources_spec.ts.mp4 > > >==================================================================================================== > > (Run Finished) > > > Spec Tests Passing Failing Pending Skipped > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > â â RecordSources_spec.ts 00:09 5 4 1 - - â > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > â 1 of 1 failed (100%) 00:09 5 4 1 - - > >error Command failed with exit code 1. >info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 37513
:
170475
|
170476
|
170477
|
170478
|
170479
|
170512
|
170513
|
170514
|
170515
|
170516
|
170544
|
170545
|
170546
|
170547
|
170548
|
171205
| 171236