Bugzilla – Attachment 174710 Details for
Bug 36627
Display importer for manually harvested SUSHI data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36627: Add tests
Bug-36627-Add-tests.patch (text/plain), 2.74 KB, created by
Jonathan Druart
on 2024-11-18 14:48:48 UTC
(
hide
)
Description:
Bug 36627: Add tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-11-18 14:48:48 UTC
Size:
2.74 KB
patch
obsolete
>From 65da05c86541e196b1252d92933c68d03e1c212e Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 18 Apr 2024 10:19:32 +0000 >Subject: [PATCH] Bug 36627: Add tests > >k-t-d, from /kohadevbox/koha, run: >yarn run cypress run --spec "./t/cypress/integration/ERM/DataProviders_spec.ts" > >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../integration/ERM/DataProviders_spec.ts | 5 ++++ > t/cypress/support/e2e.js | 23 ++++++++++++++++++- > 2 files changed, 27 insertions(+), 1 deletion(-) > >diff --git a/t/cypress/integration/ERM/DataProviders_spec.ts b/t/cypress/integration/ERM/DataProviders_spec.ts >index 97271fa9791..53777312288 100644 >--- a/t/cypress/integration/ERM/DataProviders_spec.ts >+++ b/t/cypress/integration/ERM/DataProviders_spec.ts >@@ -682,6 +682,11 @@ describe("Data provider tab options", () => { > > cy.get("#usage_data_providerstabs").contains("Import logs").click(); > cy.get("#counter_logs_list").contains("Showing 1 to 1 of 1 entries"); >+ >+ // Check 'Imported by' name >+ cy.get("#counter_logs_list table tbody tr:first td") >+ .eq(2) >+ .contains("koha"); > }); > }); > >diff --git a/t/cypress/support/e2e.js b/t/cypress/support/e2e.js >index 1f16b449779..ddc6afb8fca 100644 >--- a/t/cypress/support/e2e.js >+++ b/t/cypress/support/e2e.js >@@ -1367,7 +1367,28 @@ cy.get_counter_file = () => { > "erm_counter_log_id": 2, > "filename": "PTFS Journals_TR_J1", > "importdate": "2023-06-19T09:40:46+00:00", >- "logdetails": null >+ "logdetails": null, >+ "patron": { >+ "cardnumber": "42", >+ "category_id": "S", >+ "check_previous_checkout": "inherit", >+ "date_enrolled": "2024-04-18", >+ "expiry_date": "2032-07-18", >+ "incorrect_address": false, >+ "lang": "default", >+ "library_id": "CPL", >+ "login_attempts": 0, >+ "patron_card_lost": false, >+ "patron_id": 51, >+ "privacy": 1, >+ "privacy_guarantor_checkouts": 0, >+ "privacy_guarantor_fines": false, >+ "protected": false, >+ "restricted": false, >+ "surname": "koha", >+ "updated_on": "2024-04-18T09:42:59+00:00", >+ "userid": "koha", >+ }, > } > ] > } >-- >2.34.1
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36627
:
165029
|
165030
|
165031
|
165054
|
165055
|
165056
|
165057
|
165064
|
165065
|
165066
|
165067
|
165068
|
165070
|
165071
|
165072
|
165073
|
165074
|
165127
|
165128
|
165129
|
165130
|
165131
|
169217
|
169218
|
169219
|
169220
|
169221
|
174066
|
174067
|
174068
|
174069
|
174070
|
174402
|
174706
|
174707
|
174708
|
174709
| 174710 |
174711
|
174712