Bugzilla – Attachment 64361 Details for
Bug 18804
Selenium tests are failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18804: (bug 13501 follow-up) Fix add item form (select2)
Bug-18804-bug-13501-follow-up-Fix-add-item-form-se.patch (text/plain), 1.15 KB, created by
Chris Cormack
on 2017-06-15 21:33:51 UTC
(
hide
)
Description:
Bug 18804: (bug 13501 follow-up) Fix add item form (select2)
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2017-06-15 21:33:51 UTC
Size:
1.15 KB
patch
obsolete
>From 76db249656bbdbb3f92e71f653ccade464313829 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 14 Jun 2017 13:08:43 -0300 >Subject: [PATCH] Bug 18804: (bug 13501 follow-up) Fix add item form (select2) > >Hard to say here, select2 adds so many elements that we need to ignore. >Here we just assume that input text with an id starting with >tag_952_subfield must be filled > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > t/db_dependent/selenium/basic_workflow.t | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/t/db_dependent/selenium/basic_workflow.t b/t/db_dependent/selenium/basic_workflow.t >index 945a442f94..5749e2fd59 100644 >--- a/t/db_dependent/selenium/basic_workflow.t >+++ b/t/db_dependent/selenium/basic_workflow.t >@@ -126,6 +126,10 @@ SKIP: { > my $inputs = $driver->find_child_elements($form, '//input[@type="text"]'); > for my $input ( @$inputs ) { > next if $input->is_hidden(); >+ >+ my $id = $input->get_attribute('id'); >+ next unless $id =~ m|^tag_952_subfield|; >+ > $input->send_keys('t_value_bib'.$biblionumber); > } > >-- >2.11.0
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 18804
:
64289
|
64290
|
64291
|
64292
|
64358
|
64359
|
64360
|
64361
|
64362
|
64363
|
64365
|
64366
|
64367
|
64368
|
64373
|
64374
|
64375
|
64376
|
64417