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.