Bugzilla – Attachment 174070 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.69 KB, created by
Matt Blenkinsop
on 2024-11-06 09:49:19 UTC
(
hide
)
Description:
Bug 36627: Add tests
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-11-06 09:49:19 UTC
Size:
2.69 KB
patch
obsolete
>From 480d7322d2a29b450e9235957947a25c8433f6ed 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> >--- > .../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 27d79e47c60..acac23fd05b 100644 >--- a/t/cypress/support/e2e.js >+++ b/t/cypress/support/e2e.js >@@ -1226,7 +1226,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.39.3 (Apple Git-146)
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