From c66f9c345fd1d67a8b67353cdf68dd74cdf472c6 Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 5 Apr 2023 14:47:06 +0000 Subject: [PATCH] Bug 33419: Update basic_workflow.t --- t/db_dependent/selenium/basic_workflow.t | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/db_dependent/selenium/basic_workflow.t b/t/db_dependent/selenium/basic_workflow.t index 40434f3a75..596ae233e8 100755 --- a/t/db_dependent/selenium/basic_workflow.t +++ b/t/db_dependent/selenium/basic_workflow.t @@ -132,6 +132,8 @@ SKIP: { my $itemtype = $sample_data->{itemtype}; + my $homelibrary = $sample_data->{homelibrary}; + my @biblionumbers; for my $i ( 1 .. $number_of_biblios_to_insert ) { my $biblio = MARC::Record->new(); @@ -141,12 +143,14 @@ SKIP: { MARC::Field->new('200', ' ', ' ', a => 'test biblio '.$i), MARC::Field->new('200', ' ', ' ', f => 'test author '.$i), MARC::Field->new('200', ' ', ' ', b => $itemtype->{itemtype}), + MARC::Field->new('200', ' ', ' ', d => $homelibrary->{homelibrary}), ); } else { $biblio->append_fields( MARC::Field->new('245', ' ', ' ', a => 'test biblio '.$i), MARC::Field->new('100', ' ', ' ', a => 'test author '.$i), MARC::Field->new('942', ' ', ' ', c => $itemtype->{itemtype}), + MARC::Field->new('942', ' ', ' ', b => $homelibrary->{homelibrary}), ); } my ($biblionumber, $biblioitemnumber) = AddBiblio($biblio, ''); @@ -206,6 +210,10 @@ SKIP: { $v = strftime("%Y-%m-%d", localtime); $effective_input = $driver->find_element('//div[@id="subfield952w"]/input[@class="input_marceditor flatpickr-input"]'); } + elsif ( + $id =~ m|^tag_952_subfield_a| # homelibrary + ) { + next; #auto-filled elsif ( $id =~ m|^tag_952_subfield_y| # itemtype ) { -- 2.30.2