Bugzilla – Attachment 119940 Details for
Bug 26703
Modify the "title" elements to contain unique information first
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26703: Fix selenium tests
Bug-26703-Fix-selenium-tests.patch (text/plain), 1.72 KB, created by
Jonathan Druart
on 2021-04-21 10:02:35 UTC
(
hide
)
Description:
Bug 26703: Fix selenium tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-04-21 10:02:35 UTC
Size:
1.72 KB
patch
obsolete
>From f968ce8e27f580552637c96f16620cd79532d449 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 21 Apr 2021 12:01:54 +0200 >Subject: [PATCH] Bug 26703: Fix selenium tests > >--- > t/db_dependent/selenium/basic_workflow.t | 2 +- > t/db_dependent/selenium/patrons_search.t | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/selenium/basic_workflow.t b/t/db_dependent/selenium/basic_workflow.t >index 4c570612a2..4d0410450c 100755 >--- a/t/db_dependent/selenium/basic_workflow.t >+++ b/t/db_dependent/selenium/basic_workflow.t >@@ -219,7 +219,7 @@ SKIP: { > } > > $driver->find_element('//input[@name="add_submit"]')->click; >- like( $driver->get_title(), qr($biblionumber.*Items) ); >+ like( $driver->get_title(), qr(Items.*Record #$biblionumber) ); > > $dbh->do(q|UPDATE items SET notforloan=0 WHERE biblionumber=?|, {}, $biblionumber ); > $dbh->do(q|UPDATE biblioitems SET itemtype=? WHERE biblionumber=?|, {}, $itemtype->{itemtype}, $biblionumber); >diff --git a/t/db_dependent/selenium/patrons_search.t b/t/db_dependent/selenium/patrons_search.t >index 46920e8e1c..5161282d03 100755 >--- a/t/db_dependent/selenium/patrons_search.t >+++ b/t/db_dependent/selenium/patrons_search.t >@@ -125,7 +125,7 @@ subtest 'Search patrons' => sub { > is( > $driver->get_title, > sprintf( >- "Koha ⺠Patrons ⺠Modify patron %s %s (%s) %s (%s) (%s)", >+ "Modify patron %s %s (%s) %s (%s) (%s) ⺠Patrons ⺠Koha", > $first_patron->title, $first_patron->firstname, $first_patron->othernames, $first_patron->surname, $first_patron->cardnumber, > $first_patron->category->description, > ) >-- >2.20.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 26703
:
117894
|
117895
|
117896
|
117897
|
117898
|
117899
|
117900
|
117901
|
117902
|
117903
|
117904
|
117905
|
117906
|
117907
|
117908
|
117909
|
117910
|
117911
|
117912
|
117997
|
117998
|
117999
|
118000
|
118001
|
118002
|
118003
|
118004
|
118005
|
118006
|
118007
|
118008
|
118009
|
118010
|
118011
|
118012
|
118013
|
118014
|
118015
|
118034
|
118035
|
118036
|
118037
|
118038
|
118039
|
118040
|
118041
|
118042
|
118043
|
118044
|
118045
|
118046
|
118047
|
118048
|
118049
|
118050
|
118051
|
118052
|
118053
|
119652
|
119653
|
119654
|
119655
|
119656
|
119657
|
119658
|
119659
|
119660
|
119661
|
119662
|
119663
|
119664
|
119665
|
119666
|
119667
|
119668
|
119669
|
119670
|
119671
|
119820
|
119824
|
119873
|
119874
|
119875
|
119876
|
119877
|
119878
|
119879
|
119880
|
119881
|
119882
|
119883
|
119884
|
119885
|
119886
|
119887
|
119888
|
119889
|
119890
|
119891
|
119892
|
119893
|
119894
|
119895
|
119897
| 119940 |
119982
|
119983